/* =========================================================
   OPHÉLIE MERCURY — SECTION 1 / HERO
   ========================================================= */

:root {
  --header-height: 96px;
  --page-padding-x: clamp(24px, 3.2vw, 56px);
  --white: #ffffff;
  --overlay: rgba(0, 0, 0, 0.12);
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  background: #000;
  color: var(--white);

  /*
    You mentioned "Grotesque Sans".
    If you have the exact webfont/font files, we can wire them in next.
  */
  font-family: "Grotesque Sans", "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================
   FIXED HEADER
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;

  padding: 31px var(--page-padding-x) 20px;

  color: var(--white);
}

/* Temporary text logo.
   We can replace it with your actual SVG/PNG without changing the layout. */
.brand {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;

  color: inherit;
  text-decoration: none;
  line-height: 0.76;
  letter-spacing: -0.055em;
}

.brand-line {
  display: block;
  font-size: clamp(24px, 2.2vw, 39px);
  font-weight: 300;
}

.brand-line-bottom {
  margin-left: -0.22em;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(26px, 3vw, 52px);
  padding-top: 3px;
}

.main-nav,
.social-nav {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: clamp(24px, 2.4vw, 44px);
}

.main-nav a,
.social-nav a {
  color: inherit;
  text-decoration: none;
}

.main-nav a {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  position: relative;
  padding: 6px 0;

  font-size: clamp(12px, 0.88vw, 16px);
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.social-nav {
  gap: 13px;
}

.social-nav a {
  display: inline-grid;
  place-items: center;

  width: 18px;
  height: 24px;

  font-size: 16px;
  opacity: 0.98;

  transition: opacity 180ms ease, transform 180ms ease;
}

.social-nav a:hover,
.social-nav a:focus-visible {
  opacity: 0.72;
  transform: translateY(-1px);
}

/* =========================================================
   HERO VIDEO
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-video {
  position: absolute;
  z-index: -2;

  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;

  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
}

.future-section-anchor {
  height: 1px;
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  padding: 6px;
  margin: -2px -6px 0 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* =========================================================
   BIOGRAPHY
   ========================================================= */

.biography {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
  background: #0a0a0a;
}

/* =========================
   BIOGRAPHY BACKGROUND VIDEO
========================= */

.biography {
  position: relative;
  overflow: hidden;

  min-height: 100vh;

  display: grid;
  grid-template-columns: 45% 55%;

  background: #000;

  color: #fff;
}


/* VIDEO BACKGROUND */

h1 { 
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  font-size: 1px;
  font-weight: normal;
  color: transparent;
 }

.biography-bg-video {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  transform: translate(-50%, -50%);

  object-fit: cover;

  z-index: 0;
}


/* DARK OVERLAY */

.biography-bg-overlay {
  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.72);

  z-index: 1;

  pointer-events: none;
}


/* CONTENT ABOVE VIDEO */

.biography-image,
.biography-content {
  position: relative;
  z-index: 2;
}

.biography-image {
  position: relative;
  overflow: hidden;
}

.biography-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biography-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 80px;

  max-width: 780px;

  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.4;
}


/* =========================
   BIOGRAPHY SCROLL ANIMATION
========================= */

.biography-image {
  opacity: 0;
  transform: translateX(-50px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}


.biography-content {
  opacity: 0;
  transform: translateX(50px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}


/* ACTIVE STATE */

.biography-image.visible,
.biography-content.visible {
  opacity: 1;
  transform: translateX(0);
}


/* =========================================================
   MUSIC
   ========================================================= */

.music-section {

  background: #080808;

  color: #fff;

  padding:

    120px
    50px;

}

.music-section {
  position: relative;

  background-image: url("../assets/images/.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;

  padding: 120px 50px;
}


/* overlay */
.music-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.6);

  z-index: 0;
}


/* contenu au-dessus */
.music-container {
  position: relative;
  z-index: 1;

  max-width: 1250px;
  margin: 0 auto;
}

.music-container {

  max-width: 1200px;

  margin: 0 auto;

}


.music-title {

  font-size: 40px;

  margin-bottom: 60px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  opacity: 0;

  transform: translateX(-40px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;

}
.music-title.visible {
  opacity: 1;

  transform: translateX(0);
}

.releases-grid {

  display: grid;

  grid-template-columns:

    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 30px;

}


.release-cover {

  display: block;

  overflow: hidden;

}


.release-cover img {

  width: 100%;

  aspect-ratio: 1;

  object-fit: cover;

  display: block;

}


.release-info {

  margin-top: 18px;

}


.release-info h3 {

  font-size: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: normal;
  margin-bottom: 7px;

}


.release-info p {

  font-size: 12px;
  font-family: "IBM Plex Mono", monospace;
  opacity: 0.6;

  margin-bottom: 12px;

}


.spotify-link {

  color: #fff;

  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;

  letter-spacing: 1px;

}


/* =========================
   RELEASE CARD HOVER
========================= */

.release-card {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}


/* Quand la card devient visible au scroll */

.release-card.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Cover */

.release-cover {
  display: block;
  overflow: hidden;
}


/* Image */

.release-cover img {
  width: 100%;
  display: block;

  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}


/* Hover image */

.release-card:hover .release-cover img {
  transform: scale(1.04);
  filter: brightness(0.65);
}


/* Spotify link */

.spotify-link {
  display: inline-block;

  margin-top: 14px;

  color: #fff;

  text-decoration: none;

  font-size: 11px;

  letter-spacing: 1.5px;

  opacity: 0.45;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}


/* Hover Spotify link */

.release-card:hover .spotify-link {
  opacity: 1;
  transform: translateX(4px);
}

/* =========================
   TOUR DATES SECTION
========================= */

.tour-section {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 120px 50px;

  background: #000;

  color: #fff;
}
.tour-heading {
  opacity: 0;
  transform: translateX(-25px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.tour-heading.visible {
  opacity: 1;
  transform: translateX(0);
}
.tour-section {
  position: relative;

  background-image: url("../assets/images/Ophelie_Mercury_music.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;

  padding: 120px 50px;
}


/* overlay */
.tour-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.3);

  z-index: 0;
}


/* contenu au-dessus */
.tour-container {
  position: relative;
  z-index: 1;

  max-width: 1250px;
  margin: 0 auto;
}

/*.music-container {

  max-width: 1200px;

  margin: 0 auto;

} */

.tour-container {
  width: 100%;

  max-width: 1250px;

  margin: 0 auto;

  position: relative;

  z-index: 1;
}


.tour-heading {
  margin-bottom: 55px;
}


.tour-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 4vw, 40px);

  font-weight: 400;

  letter-spacing: -0.03em;
}

.bit-widget .bit-offers {
  color: #000 !important;
}

.bit-widget {
  font-size: 16px;
  font-family: "Space Grotesk", sans-serif !important;
  color: #000000;
}
.bit-widget a {
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  color: #fff !important;
}
.bit-widget .bit-event-list-title {
  font-weight: normal !important;
  padding: 0px 12px 0 0;
  display: inline-block;
  font-size: 14px;
  color: #fff !important;
}
.bit-widget .bit-event {
  color: #fff !important;
}
.bit-widget .bit-offers {
  background-color:rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  color: #FFFFFF;
}
.bit-widget .bit-event .bit-details a, .bit-widget .bit-event .bit-offers-menu a {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.bit-widget .bit-event .bit-details a:hover, .bit-widget .bit-event .bit-offers-menu a:hover {
  background-color: transparent !important;
  color:#fff !important;
  border: 1px solid #ffffff !important;
}

.bit-widget .bit-play-my-city-button {
  background-color:rgba(255, 255, 255, 0.7) !important;
  border: none !important;
  color: #000 !important;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.bit-widget .bit-play-my-city-button:hover {
  background-color: transparent !important;
  color:#fff !important;
  border: 1px solid #ffffff !important;
}
/* =========================
   TOUR LIST
========================= */

.tour-list {
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Mono", monospace;
  width: 100%;
}


/* Example row styling
   Your Bandsintown JS can inject this structure later */

.tour-item {
  display: grid;

  grid-template-columns:
    160px
    1fr
    1fr
    auto;

  align-items: center;

  gap: 30px;

  padding: 28px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.18);
}


.tour-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}


/* DATE */

.tour-date {
  font-size: 14px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 1px;

  opacity: 0.7;
}


/* VENUE */

.tour-venue {
  font-size: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}


/* LOCATION */

.tour-location {
  font-size: 14px;
  font-family: "IBM Plex Mono", monospace;
  opacity: 0.7;
}


/* BUTTON */

.tour-button {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;

  padding: 10px 18px;

  border: 1px solid rgba(255, 255, 255, 0.6);

  color: #fff;

  text-decoration: none;

  font-size: 11px;

  letter-spacing: 1.4px;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}


.tour-button:hover {
  background: #fff;

  color: #000;

  border-color: #fff;
}


/* =========================
   LOADING / EMPTY STATE
========================= */

.tour-loading,
.tour-empty {
  font-size: 14px;
  font-family: "IBM Plex Mono", monospace;

  opacity: 0.6;
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  background: #000000;
  color: #fff;

  padding: 120px 50px;
}


.contact-container {
  width: 100%;
  max-width: 1250px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    35% 65%;

  gap: 80px;
}


/* =========================
   HEADINGS
========================= */

.contact-booking h2,
.contact-form-wrapper h2 {
  margin: 0 0 60px;
 font-family: "Space Grotesk", sans-serif;
  font-size: 22px;

  font-weight: 400;

  letter-spacing: 4px;
}

/* =========================
   CONTACT HEADINGS ANIMATION
========================= */

.contact-booking h2,
.contact-form-wrapper h2 {
  opacity: 0;
  transform: translateX(-25px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.contact-booking h2.visible,
.contact-form-wrapper h2.visible {
  opacity: 1;
  transform: translateX(0);
}


/* =========================
   BOOKING
========================= */

.booking-content {
  display: flex;

  flex-direction: column;

  gap: 28px;
}


.booking-content p {
  margin: 0;
}


.booking-email {
  display: flex;

  gap: 25px;
}


.booking-email a {
  color: #fff;
 font-family: "IBM Plex Mono", monospace;
  text-decoration: none;
}


/* =========================
   FORM
========================= */

.contact-form {
  display: flex;
  font-family: "IBM Plex Mono", monospace;
  flex-direction: column;

  gap: 38px;
}


.form-row {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 60px;
}


.form-group {
  display: flex;

  flex-direction: column;

  gap: 10px;
}


.form-group label {
  font-size: 13px;
  font-family: "IBM Plex Mono", monospace;
  opacity: 0.55;
}


.form-group input,
.form-group textarea {
  width: 100%;
  font-family: "IBM Plex Mono", monospace;
  background: transparent;

  border: none;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.6);

  color: #fff;

  padding: 8px 0;

  outline: none;

  font: inherit;
}


.form-group textarea {
  resize: vertical;
}


.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #fff;
}

.form-status {
  margin-top: 15px;

  font-size: 13px;

  color: #fff;

  min-height: 20px;
}

/* =========================
   BUTTON
========================= */

.contact-submit {
  width: fit-content;

  padding: 14px 34px;

  background: #fff;

  color: #000;
  font-family: "IBM Plex Mono", monospace;
  border: 1px solid #fff;

  cursor: pointer;

  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}


.contact-submit:hover {
  background: transparent;

  color: #fff;
}


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

.site-footer {
  background: #efefef;
  font-family: "IBM Plex Mono", monospace;
  color: #555;

  padding: 24px 50px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  font-size: 12px;
}


.footer-socials {
  display: flex;

  gap: 20px;
}


.footer-socials a,
.go-top {
  color: inherit;

  text-decoration: none;
}






/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .tour-item {
    grid-template-columns:
      120px
      1fr
      auto;

    gap: 20px;
  }

  .tour-location {
    grid-column: 2 / 3;
  }

}


@media (max-width: 600px) {

  .tour-section {
    padding: 80px 20px;
  }


  .tour-heading {
    margin-bottom: 40px;
  }


  .tour-item {
    grid-template-columns: 1fr;

    gap: 10px;

    padding: 24px 0;
  }


  .tour-date,
  .tour-venue,
  .tour-location {
    width: 100%;
  }


  .tour-button {
    margin-top: 8px;

    width: fit-content;
  }

}


@media (max-width: 1100px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    padding-top: 26px;
  }

  .header-right {
    gap: 24px;
  }

  .main-nav {
    gap: 21px;
  }

  .social-nav {
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .header-right {
    position: fixed;
    inset: 0;
    z-index: 1001;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;

    padding: 100px 24px 48px;
    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 220ms ease, visibility 220ms ease;
  }

  body.menu-open .header-right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav {
    flex-direction: column;
    gap: 24px;
  }

  .main-nav a {
    font-size: 18px;
  }

  .social-nav {
    gap: 20px;
  }

  .social-nav a {
    font-size: 20px;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 520px) {
  :root {
    --page-padding-x: 20px;
  }

  .site-header {
    padding-top: 21px;
  }

  .brand-line {
    font-size: 26px;
  }

  .hero-video {
    /*
      Mobile portrait screens usually need a different crop.
      We can tune this once you give me the actual video.
    */
    object-position: center center;
  }
}

/* Reduce animation for users who request it */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


@media (max-width: 850px) {

  .biography {
    grid-template-columns: 1fr;
  }

  .biography-image {
    height: 70vh;
  }

  .biography-content {
    padding: 50px 24px;
  }

}

/* TABLET */

@media (max-width: 1000px) {

  .releases-grid {

    grid-template-columns:

      repeat(
        2,
        minmax(0, 1fr)
      );

  }

}

@media (max-width: 420px) {

  .releases-grid {
    gap: 12px;
  }

}


/* MOBILE */

@media (max-width: 600px) {

  .music-section {

    padding:

      80px
      20px;

  }


.releases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

    .release-info h3 {
    font-size: 13px;
  }

  .release-info p {
    font-size: 10px;
  }

  .spotify-link {
    font-size: 9px;
    letter-spacing: 1px;
  }

}

}

@media (max-width: 900px) {

  .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .contact-booking {
    width: 100%;
  }

  .contact-form-wrapper {
    width: 100%;
  }

}


@media (max-width: 600px) {

  .contact-section {
    padding: 80px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 55px;
  }

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


  .site-footer {
    flex-direction: column;

    text-align: center;
  }


  .brand img {
    width: 130px;
    height: auto;
  }

}