/* Patrick Loiseleur — custom styles (Bootstrap 5) */

:root {
  --pl-navy: #000099;
  --pl-dark-navy: #00006e;
}

/* --- Background --- */
body {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  background-image: url('bg_score.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
}

/* White card floats above the score background */
main.container {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 0 30px rgba(0, 0, 80, 0.10);
}

/* Fixed background doesn't work well on iOS */
@media (max-width: 768px) {
  body { background-attachment: scroll; }
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pl-navy);
}

h1 { font-style: italic; }
h2 { font-style: italic; font-size: 1.4rem; }

/* --- Navbar --- */
.navbar {
  background-color: var(--pl-dark-navy) !important;
}

.navbar-brand {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #fff !important;
}

.navbar-nav .nav-link {
  font-variant: small-caps;
  color: rgba(255, 255, 255, 0.85) !important;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  font-weight: bold;
}

.lang-btn {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.lang-btn:hover {
  color: #fff;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* --- Page header --- */
.page-header {
  text-align: center;
  padding: 1.5rem 0 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #dee2e6;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.page-header h2 {
  font-size: 1.1rem;
  color: #666;
  font-weight: normal;
}

/* --- Links --- */
a {
  color: var(--pl-navy);
}

a:hover {
  color: var(--pl-dark-navy);
}

/* --- Catalogue tables --- */
.table-catalogue {
  font-size: 0.85rem;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}

.table-catalogue thead th {
  background-color: rgba(255, 255, 204, 0.7);
  color: navy;
  font-weight: bold;
  border-bottom: 2px solid #333 !important;
}

.table-catalogue tbody tr:nth-child(odd) td {
  background-color: rgba(255, 255, 204, 0.55);
}

.table-catalogue tbody tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.7);
}

.table-catalogue td, .table-catalogue th {
  padding: 4px 8px;
  border-bottom: 1px solid #ccc !important;
  border-left: none !important;
  border-right: none !important;
}

/* --- Calendar year labels --- */
.year-heading {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--pl-navy);
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* --- Videos --- */
.video-item {
  margin-bottom: 2.5rem;
}

.video-title {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

/* --- Albums --- */
.album-section {
  margin-bottom: 3rem;
}

.album-cover {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* --- Contact --- */
.contact-list {
  max-width: 480px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eee;
  font-weight: bold;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 38px;
  height: auto;
  flex-shrink: 0;
}

/* --- Page footer nav --- */
.page-footer-nav {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

.page-footer-nav a {
  font-variant: small-caps;
  font-size: 1rem;
  text-decoration: none;
}

.page-footer-nav a:hover {
  text-decoration: underline;
}

/* --- Home page --- */
.home-photo {
  max-width: 380px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.home-flags {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

/* --- Publisher logos --- */
.publisher-logo {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* --- Section headings inside content --- */
.section-heading {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
  .page-header h1 { font-size: 1.6rem; }
  .page-header h2 { font-size: 1rem; }
  .navbar-nav .nav-link { padding-left: 0.3rem; padding-right: 0.3rem; font-size: 0.85rem; }
}
