/* ============================================================
   PYLONE ~ LIVE — Electronic Press Kit
   styles.css
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --green: #7fff00;
  --max: 900px;
  --px: max(20px, calc((100% - var(--max)) / 2));
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--px);
  border-bottom: 1px solid #222;
}

.logo {
  font-weight: 900;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo span {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 34px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.nav-links a.active {
  opacity: 1;
  font-weight: 700;
}

.nav-links a:hover { opacity: 1; }

/* ============================================================
   PAGE SYSTEM
   ============================================================ */

.page { display: none; }
.page.active { display: block; }

/* ============================================================
   HERO — split layout
   ============================================================ */

.hero {
  display: flex;
  overflow: visible;
  position: relative;
  background-color: black;
  flex-wrap: wrap;
  height: 790px;
  min-height: 0;
  align-items: stretch;
  position: relative;
}

/* Left half: hero_img.png fills 50% */
.hero-left {
  width: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 137%;
  object-fit: cover;
  display: block;
}

/* Right half: dark block + blurred image overlapping */
.hero-right {
  width: 50%;
  flex-shrink: 0;
  background: #050505;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 60px var(--px) 60px 40px;
  overflow: visible;
  height: 100%;
}

/* Blurred image: sits over the right block, bleeds left and down slightly */
.hero-img-blur {
    position: absolute;
    top: -20px;
    left: -140px;
    width: 85%;
    height: calc(100% + 20px);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 340px;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.hero-text p + p {
  margin-top: 20px;
  font-weight: 500;
}

/* ============================================================
   SING LIVE — overlaps hero bottom
   ============================================================ */

/* SING LIVE — directly over hero, no wrapper gap */
.sing-live-wrap {
  width: 100%;
  z-index: 2;
  margin-top: 0;
  padding: 0 var(--px) 0;
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  align-self: auto;
  padding-bottom: 10px;
}

.sing-live {
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 18px 48px;
  border-radius: 2px;
  pointer-events: all;
}

.sing-live-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 68px;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.sing-live-list {
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sing-live-list li::before { content: '• '; }

.time-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 1px 6px;
  font-size: 0.9em;
  line-height: 1.5;
}

.fullgear-badge {
  display: inline-block;
  background: white;
  color: black;
  padding: 1px 6px;
  font-size: 0.9em;
  line-height: 1.5;
}

/* ============================================================
   GENRES + VIDEOS
   ============================================================ */

.genres-section {
  display: grid;
  grid-template-columns: auto auto auto auto;
  column-gap: 40px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 100px var(--px);
  background: var(--black);
  background-image: url('img/SL_bg.png');
  background-size: cover;
  background-position: center;
}

.genres-left {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.7;
  white-space: nowrap;
}

.genres-right {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.7;
  white-space: nowrap;
}

.video-thumb {
  width: 437px;
  height: 236px;
  background: #1e1e2e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

/* ============================================================
   FULL GEAR LIVE
   ============================================================ */

.full-gear-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('img/FGL_bg.png');
}

/* Black band — centred like Sing Live */
.full-gear-wrap {
  position: relative;
  z-index: 1;
  padding: 35px var(--px) 0px;
}

.full-gear {
  background: var(--black);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  border-radius: 2px;
}

.full-gear-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.full-gear-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 58px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.full-gear-formats {
  font-size: 13px;
  line-height: 1.4;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.full-gear-formats li { list-style: none; }
.full-gear-formats li::before { content: '• '; }

/* Videos below band */
.full-gear-videos {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 36px var(--px) 80px;
}

/* YouTube Play Button */
.yt-play {
  width: 48px;
  height: 48px;
  background: red;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-play::after {
  content: '';
  border-left: 18px solid white;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

/* ============================================================
   BIO + BOOKING — white background
   ============================================================ */

.bio-section-wrap {
  background: var(--white);
  padding: 0 var(--px);
}

.bio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 70px 0;
}

.bio-text {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}

.booking-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-btn {
  display: inline-block;
  cursor: pointer;
  margin-top: 20px;
  width: fit-content;
  text-decoration: none;
}

/* ============================================================
   I WAS HERE
   ============================================================ */

.was-here {
  padding: 70px var(--px);
  text-align: center;
  border-top: 1px solid #222;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 54px;
  margin-bottom: 32px;
  line-height: 1;
}

.section-title.center { text-align: center; }

.venues {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #ccc;
}

/* ============================================================
   NEXT GIG — white background
   ============================================================ */

.next-gig {
  background: var(--white);
  color: var(--black);
  padding: 70px var(--px);
  border-top: 1px solid #ddd;
  text-align: center;
}

.next-gig .section-title { color: var(--black); }

.gigs-grid {
  display: flex;
  gap: 100px;
  justify-content: center;
  margin-top: 32px;
}

.gig-item { text-align: left; }

.gig-date {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--black);
}

.gig-venue {
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--black);
}

.gig-city {
  font-size: 13px;
  opacity: 0.55;
  color: var(--black);
}

/* ============================================================
   NETWORKS FOOTER
   ============================================================ */

.networks {
  padding: 40px var(--px);
  border-top: 1px solid #222;
  text-align: center;
  background: var(--black);
  color: var(--white);
}

.networks-title {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 52px;
  margin-bottom: 22px;
}

.icons {
  display: flex;
  gap: 38px;
  justify-content: center;
  margin-bottom: 22px;
}

.icon-link {
  color: var(--white);
  font-size: 22px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.icon-link:hover { opacity: 1; }

.contact-label {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-email {
  font-size: 13px;
  opacity: 0.6;
}

/* ============================================================
   PAGE RESSOURCES — IMAGES (white bg, downloadable gallery)
   ============================================================ */

.images-section {
  padding: 40px var(--px);
  text-align: center;
  background: var(--white);
  color: var(--black);
}

.images-section .section-title { color: var(--black); }

.photo-grid {
  columns: 3;
  column-gap: 10px;
  max-width: var(--max);
  margin: 32px auto 0;
}

.photo-cell {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.2s;
}

.photo-cell img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
  background-color: gray;
}

.photo-cell img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.photo-cell:hover { opacity: 0.85; }

.logo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: var(--max);
  margin: 10px auto 0;
  align-items: start;
}

.logo-row .photo-cell img {
  width: 100%;
  height: auto;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.logo-cell-img {
  aspect-ratio: 2.5;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 26px;
  color: #000;
  letter-spacing: -1px;
  border: 1px solid #ddd;
}

.logo-cell-img.inv {
  background: #000;
  color: #fff;
  border: 1px solid #333;
}

/* ============================================================
   PAGE RESSOURCES — FICHE TECHNIQUE
   ============================================================ */

.fiche-section {
  background: var(--black);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 40px var(--px);
  text-align: center;
}

.pdf-btn {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.pdf-btn:hover { opacity: 0.8; }

.pdf-btn-img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* ============================================================
   PAGE RESSOURCES — TEXTES (white bg)
   ============================================================ */

.textes-section {
  padding: 40px var(--px);
  background: var(--white);
  color: var(--black);
}

.textes-section .section-title { color: var(--black); }

.textes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: var(--max);
  margin: 32px auto 0;
}

.bio-block h3,
.univers-block h3 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
  color: var(--black);
}

.bio-block p,
.univers-block p {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 18px;
}

.bio-block.mb32 { margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 1199px)
   ============================================================ */

@media (max-width: 1199px) {
  :root {
    --px: 40px;
  }

  body {
  overflow-x: hidden;
  }

  .hero-img-blur {
  left: 0;
  width: 100%;
  }

  .hero-text {
    padding-bottom: 100px;
  }

  .sing-live-list {
    font-size: 11px;
  }

  .full-gear-wrap {
  padding: 70px var(--px) 0px;
  }

  /* Vidéos plus petites */
  .video-thumb {
  width: 100% !important;
  max-width: 521px;
  height: auto;
  aspect-ratio: 521 / 281;
  }

  .full-gear-videos .video-thumb {
  max-width: 330px;
  }

  .video-thumb iframe {
    width: 100%;
    height: 100%;
  }

  /* Genres section en 2 lignes : genres au-dessus, vidéos en dessous */
  .genres-section {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 60px var(--px);
  }

  .genres-left { grid-column: 1; grid-row: 1; }
  .genres-right { grid-column: 2; grid-row: 1; text-align: right; }
  .genres-section .video-thumb:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  .genres-section .video-thumb:nth-of-type(2) { grid-column: 2; grid-row: 2; }

  /* Hero plus court */
  .hero { height: 600px; }

  .photo-grid { columns: 3; }
  
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 767px)
   ============================================================ */

@media (max-width: 767px) {
  :root {
    --px: 20px;
  }

  body { font-size: 13px; }

  /* NAV — logo réduit */
  nav { padding: 12px var(--px); }
  .logo { font-size: 20px; }
  .logo span { font-size: 22px; }
  .nav-links { gap: 18px; }

  /* HERO — empilé verticalement */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .hero-left {
    width: 100%;
    height: 280px;
  }

  .hero-right {
    width: 100%;
    padding: 40px var(--px);
    min-height: 280px;
  }

  .hero-img {
    height: 100%;
  }

  .hero-img-blur {
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    opacity: 0.6;
  }

  .hero-text {
    max-width: 100%;
    font-size: 15px;
    padding-bottom: 0px;
  }

  /* SING LIVE — empilé, position revue */
  .sing-live-wrap {
    position: relative;
    bottom: auto;
    margin-top: 25px;
    padding: 0 var(--px) 30px;
  }

  .sing-live {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
  }

  .sing-live-title {
    font-size: 38px;
  }

  .sing-live-list { font-size: 14px; }

  /* GENRES — tout en colonne */
    .genres-section {
    grid-template-columns: auto 1fr;
    gap: 20px 16px;
    padding: 50px var(--px);
    }

    .genres-left {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    font-size: 22px;
    }

    .genres-right {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    font-size: 22px;
    }

    .genres-section .video-thumb:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
    }

    .genres-section .video-thumb:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    }

  /* FULL GEAR LIVE */
  .full-gear-wrap {
    padding: 60px var(--px) 0;
  }

  .full-gear {
    padding: 16px 20px;
  }

  .full-gear-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .full-gear-title {
    font-size: 36px;
    white-space: normal;
  }

  .full-gear-videos {
    flex-direction: column;
    padding: 24px var(--px) 50px;
  }

  /* BIO + BOOKING */
  .bio-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 50px 0;
  }

  .bio-text { font-size: 14px; }

  .booking-btn img { height: 64px !important; }

  /* I WAS HERE */
  .was-here { padding: 50px var(--px); }
  .section-title { font-size: 38px; margin-bottom: 24px; }
  .venues { font-size: 15px; line-height: 1.8; }

  /* NEXT GIG */
  .next-gig { padding: 50px var(--px); }

  .gigs-grid {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .gig-item { text-align: center; }

  /* NETWORKS */
  .networks { padding: 40px var(--px); }
  .networks-title { font-size: 38px; }
  .icons { gap: 24px; }

  /* PAGE RESSOURCES */
  .images-section { padding: 40px var(--px); }

  .photo-grid { columns: 2; }

  .logo-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .logo-cell-img {
    aspect-ratio: 3;
    font-size: 22px;
  }

  .textes-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fiche-section { padding: 40px var(--px); }

  .pdf-btn-img { max-height: 60px; }
}

/* ============================================================
   RESPONSIVE — Petit mobile (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  .hero-left { height: 420px; }
  .hero-right { min-height: 240px; padding: 30px var(--px); }

  .sing-live-title { font-size: 86px; }

  .genres-left, .genres-right { font-size: 22px; }

  .full-gear-title { font-size: 52px; }

  .section-title { font-size: 32px; }

  .networks-title { font-size: 32px; }

  .photo-grid { columns: 1; }
}