/* ==========================================================
   00 — Base
   ========================================================== */

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Garamond, serif;
  background-color: #0c0c0c;
  color: #e4e4e4;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}


/* ==========================================================
   01 — Logo intérieur
   ========================================================== */

.site-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: inline-block;
}

.site-logo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.site-logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  box-shadow: 0 0 10px 4px #e5c38c;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.site-logo:hover::after,
.site-logo:focus::after {
  opacity: 1;
}


/* ==========================================================
   02 — Sélecteur de langue
   ========================================================== */

.lang-selector {
  position: fixed;
  top: 30px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 0.5em;
  font-family: Garamond, serif;
  font-weight: bold;
  font-size: 0.85em;
  user-select: none;
}

.lang-selector button {
  background: transparent;
  border: 1px solid transparent;
  color: #e5e5e5;
  padding: 0.3em 0.7em;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.lang-selector button:hover,
.lang-selector button:focus {
  background-color: #e5c38c;
  color: #111;
  border-color: #e5c38c;
  outline: none;
  transform: scale(1.1);
}

.lang-selector button.active {
  background-color: #e5c38c;
  color: #111;
  border-color: #e5c38c;
  cursor: default;
  pointer-events: none;
  transform: none;
}


/* ==========================================================
   03 — Navigation
   ========================================================== */

nav.nav {
  position: sticky;
  top: 0;
  background-color: #0c0c0c;
  z-index: 999;
  display: flex;
  gap: 1.8em;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 1em 0;
  margin: 0 auto 2em;
  max-width: 1000px;
  width: 90vw;
  user-select: none;
}

nav.nav a {
  text-decoration: none;
  color: #e5e5e5;
  background-color: #1b1b1b;
  padding: 1em 2em;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  border: 1px solid #333;
  cursor: pointer;
}

nav.nav a:hover,
nav.nav a:focus {
  background-color: #e5c38c !important;
  color: #111 !important;
  border-color: #e5c38c !important;
  transform: scale(1.05);
  outline: none;
}

nav.nav a.active {
  background-color: #e5c38c !important;
  color: #111 !important;
  border-color: #e5c38c !important;
  cursor: default;
  pointer-events: none;
  transform: none !important;
}

.menu-new {
  position: relative;
}

.menu-new span {
  position: absolute;
  top: -8px;
  right: -11px;
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e5c38c;
  animation: newBlink 1.4s infinite;
}

@keyframes newBlink {
  0%, 100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.menu-new:hover span,
.menu-new:focus span {
  opacity: 0;
  animation: none;
}


/* ==========================================================
   04 — Structure principale
   ========================================================== */

main {
  margin-top: 0;
  max-width: 1000px;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 3em;
  text-align: left;
}

main h1 {
  font-size: 3em;
  margin-bottom: 1rem;
  color: #e5c38c;
  letter-spacing: 1px;
}

main .content {
  font-size: 1.15em;
  line-height: 1.6;
  color: #ccc;
}

.content h2 {
  color: #e5c38c;
  margin-top: 2.5em;
  margin-bottom: 1em;
  border-bottom: none;
  font-size: 2em;
  letter-spacing: 1px;
}

.content section {
  margin-bottom: 2em;
  padding: 1em;
  background-color: #1b1b1b;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.content section h3 {
  color: #f0e5b6;
  margin-bottom: 0.5em;
  font-size: 1.4em;
  letter-spacing: 0.5px;
}

.content p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1.15em;
}


/* ==========================================================
   05 — Accueil
   ========================================================== */

header.hero {
  min-height: 70vh;
  max-width: 1000px;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 7em;
  padding-bottom: 3em;
}

.home-logo {
  width: clamp(160px, 14vw, 240px);
  height: auto;
  display: block;
  margin: 0 auto 2.8em;
  opacity: 0.95;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 0.7em;
  letter-spacing: 2px;
  color: #e5c38c;
  line-height: 1.05;
}

p.subtitle {
  font-size: 1.2em;
  color: #999;
  text-align: center;
  margin: 0 auto;
  max-width: 42ch;
  line-height: 1.7;
  letter-spacing: 0.3px;
}


/* ==========================================================
   06 — Blocs Groupe / Concerts / Contact
   ========================================================== */

section.band,
section.concerts,
section.contact {
  margin-top: 2em;
}

.band-block,
.concert-block,
.contact-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  margin-bottom: 1em;
  background-color: #1a1a1a;
  border-left: 4px solid #e5c38c;
}

.band-past,
.concert-past,
.contact-past {
  background-color: #111;
  border-left: 4px solid #444;
}

.band-info,
.concert-info,
.contact-info {
  flex: 1;
  font-size: 1.1em;
}

section.band.upcoming .band-block,
section.concerts.upcoming .concert-block,
section.contact.upcoming .contact-block {
  background-color: #cdb38b33;
  border-left-color: #bfa672;
  border-radius: 15px;
  box-shadow: 0 0 8px 2px #bfa672cc;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

section.band.upcoming .band-block:hover,
section.band.upcoming .band-block:focus,
section.concerts.upcoming .concert-block:hover,
section.concerts.upcoming .concert-block:focus,
section.contact.upcoming .contact-block:hover,
section.contact.upcoming .contact-block:focus {
  background-color: #cdb38ba8;
  box-shadow: 0 0 9px 6px #bfa672ee;
  outline: none;
}

section.band.past .band-block,
section.concerts.past .concert-block,
section.contact.past .contact-block {
  background-color: #111;
  border-left-color: #444;
  border-radius: 15px;
  box-shadow: 0 0 8px 2px #444;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}


/* ==========================================================
   07 — Groupe : photos membres
   ========================================================== */

.band-block.member-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2em;
}

.member-photo-link {
  flex-shrink: 0;
  line-height: 0;
}

.member-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
  opacity: 0.85;
  border: 1px solid #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.member-photo-link:hover .member-photo,
.member-photo-link:focus .member-photo {
  filter: grayscale(35%);
  opacity: 1;
  border-color: #e5c38c;
  box-shadow: 0 0 12px rgba(229,195,140,0.35);
}


/* ==========================================================
   08 — Lightbox
   ========================================================== */

.lightbox {
  display: none;
  position: fixed;
  z-index: 5000;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 2em;
}

.lightbox:target {
  display: flex;
}

.lightbox-close {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(229,195,140,0.25);
}


/* ==========================================================
   09 — Concerts / Contact : lien email
   ========================================================== */

.ticket-link {
  width: 40px;
  height: 40px;
  margin-left: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  color: #999;
}

.ticket-link:hover {
  border-color: #e5c38c;
  color: #e5c38c;
  background-color: #2b2b2b;
}

.ticket-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}


/* ==========================================================
   10 — Musique
   ========================================================== */

.music-feature {
  margin-top: 2rem;
}

.music-feature-text {
  margin-bottom: 2.5rem;
}

.music-feature-text p {
  font-size: 1.15em;
  line-height: 1.8;
  color: #ccc;
}

.bandcamp-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.bandcamp-player {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 6px;
  border: 1px solid rgba(229,195,140,0.45);
  border-radius: 12px;
  background: rgba(18,18,18,0.35);
  box-shadow: 0 0 14px rgba(229,195,140,0.18);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bandcamp-player:hover {
  border-color: rgba(229,195,140,0.75);
  box-shadow: 0 0 22px rgba(229,195,140,0.35);
}

.bandcamp-player iframe {
  display: block;
  border: 0;
  border-radius: 8px;
}


/* ==========================================================
   11 — Boutique
   ========================================================== */

.shop-empty {
  margin-top: 2rem;
}

.shop-empty p {
  font-size: 1.15em;
  line-height: 1.8;
  color: #ccc;
}


/* ==========================================================
   12 — Footer
   ========================================================== */

footer {
  font-size: 0.85em;
  color: #666;
  margin-top: auto;
  padding: 1em;
  width: 100%;
  background-color: #121212;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  text-align: center;
  position: relative;
  bottom: 0;
  left: 0;
  z-index: 998;
}

footer::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0) 0%,
    rgba(12,12,12,0.6) 70%,
    rgba(12,12,12,1) 100%
  );
  pointer-events: none;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  max-width: 700px;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

.copyright-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  flex-wrap: wrap;
}

footer a.social-link,
footer a.email-hover {
  color: #888;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid transparent;
  background-color: transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-size: 1.1em;
}

footer a.social-link:hover,
footer a.email-hover:hover {
  color: #e5c38c;
  border-color: #e5c38c;
  background-color: #2b2b2b;
}

footer a.email-hover svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

footer svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}

.bandcamp-follow-link a.email-hover {
  width: auto !important;
  white-space: nowrap;
}

footer a.bandcamp-link {
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

footer a.bandcamp-link:hover,
footer a.bandcamp-link:focus {
  color: #e5c38c;
  text-decoration: none;
  outline: none;
}


/* ==========================================================
   13 — Animation
   ========================================================== */

.fade-spectral {
  animation: spectralFade 4s ease-in-out forwards;
  opacity: 0;
  filter: blur(4px);
}

@keyframes spectralFade {
  0% {
    opacity: 0;
    filter: blur(6px);
  }

  50% {
    opacity: 0.5;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}


/* ==========================================================
   14 — Responsive
   ========================================================== */

@media (max-width: 768px) {
  header.hero {
    min-height: auto;
    padding-top: 8.5em;
    padding-bottom: 2em;
  }

  .home-logo {
    width: clamp(140px, 36vw, 180px);
    margin-bottom: 1.5em;
  }

  p.subtitle {
    font-size: 1.05em;
    max-width: 92%;
  }

  nav.nav {
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    margin: 1.5em auto 3em;
  }

  nav.nav a {
    width: 100%;
    text-align: center;
    font-size: 1em;
    padding: 0.8em;
    border-radius: 20px;
  }

  .lang-selector {
    top: 10px;
    right: 10px;
    flex-direction: column;
    gap: 0.3em;
  }

  main {
    padding: 1em;
    width: 100%;
  }

  main h1 {
    font-size: 2em;
    text-align: center;
  }

  .site-logo img {
    width: 80px;
    height: 80px;
  }

  .site-logo::after {
    width: 88px;
    height: 88px;
  }

  .band-block.member-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-photo {
    width: 95px;
    height: 95px;
  }

  .lightbox {
    padding: 1em;
  }

  .lightbox img {
    max-width: 94vw;
    max-height: 80vh;
  }

  .music-feature {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .bandcamp-player {
    width: 100%;
  }

  footer {
    font-size: 0.75em;
    padding: 0.5em;
  }

  .footer-menu {
    flex-direction: column;
    gap: 0.8em;
  }
}

