/* SOUNDS OF MOROCCO — Global Styles
   Palette:
   --blue-royal: #3333ff (primary)
   --sand: #f4debd (base background)
   --saffron: #ff4219 (urgent/accent)
   --ink: #000000 (secondary / dark)
*/

:root {
  --blue-royal: #3333ff;
  --sand: #f4debd;
  --saffron: #ff4219;
  --ink: #000000;
  --ink-80: rgba(0, 0, 0, 0.8);
  --ink-60: rgba(0, 0, 0, 0.6);
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Typography (Bebas Neue for display / Poppins for UI & body) */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background: var(--sand);
  color: var(--ink-80);
  line-height: 1.6;
}

/* Site-wide background image shown under header on every page.
   We use a fixed ::before layer so the image is visible on all pages and
   doesn't get cut at the bottom of short pages. The gradient overlay
   keeps text readable.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.45),
      rgba(51, 51, 255, 0.25)
    ),
    url("../img/home.jfif");
  background-position: top center, top center;
  background-size: auto 100%, auto 100%; /* keep full photo height visible */
  background-repeat: no-repeat, no-repeat;
  filter: saturate(105%);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

h1,
h2,
h3,
.display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.5px;
  margin: 0 0 0.4rem 0;
  color: var(--white);
}
h2 {
  color: var(--blue-royal);
  font-size: 3rem;
}
h3 {
  color: var(--blue-royal);
  font-size: 2rem;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.section-title .pill {
  background: var(--saffron);
  color: var(--white);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}
.brand img {
  height: 70px;
  width: auto;
}
.brand span {
  display: none;
}
.menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 500;
}
.menu a {
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  color: var(--white);
}
.menu a[aria-current="page"] {
  color: var(--blue-royal);
  background: rgba(51, 51, 255, 0.15);
}
.cta-submit {
  background: var(--blue-royal);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.cta-submit:hover {
  transform: translateY(-2px);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink-80);
}

/* Mobile menu */
@media (max-width: 960px) {
  .menu {
    display: none;
    position: absolute;
    inset: 60px 0 auto 0;
    background: #000000;
    flex-direction: column;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .menu.open {
    display: flex;
  }
  .burger {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  height: calc(100vh - 70px); /* subtract header height */
  display: grid;
  place-items: center;
  text-align: center;
}
.hero::before {
  /* keep a subtle dark overlay on the hero so the large headline remains readable
     while the actual image is supplied by the site-wide body background
  */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.35),
    rgba(51, 51, 255, 0.15)
  );
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.display {
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
}
.subtitle {
  color: #e9e9ff;
  max-width: 820px;
  margin: 0.6rem auto 1.4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--saffron);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: var(--blue-royal);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-pill {
  border-radius: 999px;
}

/* Sections */
.section {
  padding: 64px 0 32px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Team */
.team-card {
  text-align: center;
}
.team-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-inline: auto 1rem;
  margin-bottom: 0.6rem;
  border: 4px solid var(--blue-royal);
}

/* Logos row */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  place-items: center;
}
.logo-tile {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

/* Badges / Urgent */
.badge {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
}

/* Audio list / filters (Releases) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.chip {
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  color: var(--ink-80);
  cursor: pointer;
}
.chip.active,
.chip:hover {
  border-color: var(--blue-royal);
  color: var(--blue-royal);
}
.release {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.release .cover {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}
.release .meta .title {
  font-weight: 700;
}
.release .meta .sub {
  font-size: 0.9rem;
  color: var(--ink-60);
}
.audio {
  width: 200px;
  max-width: 35vw;
}

/* Youtube grid (Music) */
.video {
  aspect-ratio: 16/9;
  width: 100%;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.video-card {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}

/* News cards */
.news-card h3 {
  color: var(--ink);
}
.news-card .tag {
  background: var(--blue-royal);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Merch */
.merch-card img {
  border-radius: 12px;
}
.price {
  font-weight: 800;
  color: var(--ink);
}
.buy {
  background: var(--blue-royal);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
}
.buy.alt {
  background: var(--saffron);
}

/* Forms */
form .row {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  form .row {
    grid-template-columns: 1fr 1fr;
  }
}
input,
select,
textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font: inherit;
  color: var(--ink-80);
}
label {
  font-weight: 600;
  color: var(--ink);
}
.help {
  font-size: 0.85rem;
  color: var(--ink-60);
}
button[type="submit"] {
  margin-top: 0.8rem;
}

/* Footer */
.footer {
  background: #000000;
  color: #b9b9b9;
  padding: 60px 0 20px;
  margin-top: auto;
  width: 100%;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-subtitle {
  color: var(--blue-royal);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
}

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

.footer-email {
  display: block;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-contact-text {
  color: #b9b9b9;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.legal-nav {
  display: flex;
  gap: 20px;
}

.legal-nav a {
  color: #b9b9b9;
  transition: color 0.2s;
}

.legal-nav a:hover {
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 960px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }
}
.footer a {
  color: #ffffff;
}
.social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.social a {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  transition: background-color 0.2s ease;
  font-size: 0.75rem;
}
.social a:hover {
  background: #222;
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Home page–only overrides ===== */

/* Hide the global body background image layer on the home page only */
body.home::before {
  display: none !important;
}

/* Make the hero carry the background image directly under the header */
body.home .hero {
  position: relative;
  height: calc(100vh - 70px); /* keep in sync with your header height */
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.45),
      rgba(51, 51, 255, 0.15)
    ),
    url("../img/home.jfif") center / cover no-repeat;
}

body.home .hero > .container {
  position: relative;
  z-index: 1;
}

/* Blue ↔ black graded background behind all sections after the hero */
body.home .after-hero {
  background: linear-gradient(180deg, #000000 0%, #3333ff 40%, #000000 100%);
}

/* (Optional) ensure sections still breathe on gradient */
body.home .section {
  padding: 64px 0 32px;
}

/* ===== About page–only overrides ===== */

/* Hide the global body background photo layer on About */
body.about::before {
  display: none !important;
}

/* Apply the same blue ↔ black gradient used on the home after-hero */
body.about .after-hero {
  background: linear-gradient(180deg, #000000 0%, #3333ff 40%, #000000 100%);
}

/* Keep consistent breathing space on this background */
body.about .section {
  padding: 64px 0 32px;
}

/* === Image backgrounds for Label & Cultural Project cards === */

/* Common styling for both cards */
.card-label,
.card-cultural {
  color: #fff; /* make text readable on dark image */
  border: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Overlay for better readability */
.card-label::before,
.card-cultural::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  ); /* semi-transparent overlay */
  z-index: 0;
  border-radius: var(--radius);
}

/* Ensure content sits above overlay */
.card-label > *,
.card-cultural > * {
  position: relative;
  z-index: 1;
}

/* Specific images for each card */
.card-label {
  background-image: url("../img/labelphoto2.JPG"); /* replace with your image */
}

.card-cultural {
  background-image: url("../img/b.jfif"); /* replace with your image */
}

/* Optional hover effect */
.card-label:hover,
.card-cultural:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}
/* ===== Uniform partner logos ===== */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  place-items: center;
}

/* The white tile (same look as your “uzine” box) */
.logo-tile {
  background: #fff;
  border-radius: 16px;
  padding: 16px; /* this becomes the white frame around the logo */
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1; /* perfect square tiles */
  width: 170px; /* tweak to taste (160–200px works well) */
  max-width: 100%;
}

/* Make all logos fit inside the box without distortion */
.logo-tile img {
  width: 80%;
  height: 80%;
  object-fit: contain; /* key: preserve logo proportions */
  display: block;
}

/* Optional: subtle hover lift, like your cards */
.logo-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* ===== Label Store Partners — fixed spacing & layout ===== */
.logos-store {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px; /* adds clear space between boxes */
  margin-top: 20px;
}

/* Each white rectangular tile */
.logo-tile-store {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 190px; /* slightly smaller so they don’t merge */
  height: 110px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.logo-tile-store:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Logo image scaling */
.logo-tile-store img {
  width: 100%;
  height: 70%;
  object-fit: contain;
  display: block;
}

/* Orange pill stays the same */
.section-title .pill {
  background: var(--saffron);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}
/* ===== “More partners” link styling ===== */
.more-partners {
  text-align: right;
  margin-top: 24px;
}

.more-partners a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.more-partners a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* ===== Submit Your Music Section with Background Image ===== */
.submit-section {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 80, 0.3)),
    url("../img/studioimage.jpg"); /* <-- replace with your image path */
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.submit-section h3 {
  color: #ffffff;
  font-size: 2rem;
}

.submit-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

/* Button adjustment to stand out on image */
.submit-section .btn-primary {
  background: var(--saffron);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ====== Our Team Section – Enhanced Design ====== */

.team-card {
  background: linear-gradient(145deg, #ffffff 0%, #f7f8ff 100%);
  border-radius: 20px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 100%);
}

/* Circular image frame with accent ring */
.team-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-inline: auto;
  border: 4px solid var(--blue-royal);
  box-shadow: 0 0 0 5px rgba(51, 51, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 0 7px rgba(255, 66, 25, 0.25);
}

/* Names and roles */
.team-card .title {
  color: var(--blue-royal);
  font-weight: 700;
  margin-top: 0.8rem;
  font-size: 1rem;
}

.team-card .sub {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 0.2rem;
}

/* Responsive grid spacing */
.grid-5,
.grid-4 {
  gap: 32px;
}

@media (max-width: 960px) {
  .grid-5,
  .grid-4 {
    gap: 24px;
  }
}

:root {
  --header-h: 70px;
} /* just used for the calc below */

/* Make the hero truly fill the first screen under the sticky header */
body.home .hero {
  position: relative;
  min-height: calc(100svh - var(--header-h)); /* fills full viewport reliably */
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
  margin: 0; /* no extra gaps */
  padding: 0; /* content is centered already */
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.45),
      rgba(51, 51, 255, 0.15)
    ),
    url("../img/home.jfif") center / cover no-repeat; /* your hero photo */
  overflow: hidden; /* prevents any inner overflow from showing */
}

/* Soft dark overlay for readability (kept) */
body.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.22)
  );
  z-index: -1;
}

/* Make sure hero content sits above overlays */
body.home .hero > .container {
  position: relative;
  z-index: 1;
}

/* Keep the gradient for everything after the hero, but don’t show until scroll */
body.home .after-hero {
  background: linear-gradient(180deg, #000000 0%, #3333ff 40%, #000000 100%);
  margin-top: 0; /* touches the bottom of the hero with no gap */
}
/* === EXTRA LARGE HEADER LOGO === */
:root {
  --header-h: 120px; /* increased height so hero spacing remains correct */
}

.header {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.header .nav {
  padding: 0.6rem 0;
}

.brand img {
  height: 120px; /* ⬅️ Bigger logo */
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.brand img:hover {
  transform: scale(1.05);
}

/* Adjust hero offset so it fills the screen below taller header */
body.home .hero {
  min-height: calc(100svh - var(--header-h));
}

/* Responsive: shrink logo on smaller screens */
@media (max-width: 960px) {
  .brand img {
    height: 80px;
  }
}

/* ===== Cinematic smooth fade from hero to gradient ===== */
body.home .hero {
  min-height: calc(100svh - var(--header-h));
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.55),
      rgba(51, 51, 255, 0.15)
    ),
    url("../img/home.jfif") center / cover no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* More gradual and soft fade that merges with the gradient below */
body.home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 260px; /* increase for a longer fade */
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 25%,
    rgba(0, 0, 40, 0.35) 50%,
    rgba(0, 0, 60, 0.65) 75%,
    #000 100%
  );
  z-index: 0;
  filter: blur(4px);
}

/* Refined gradient under the hero — more blue depth */
body.home .after-hero {
  background: linear-gradient(
    180deg,
    #000000 0%,
    #0a0f3a 25%,
    #1a1a8c 50%,
    #000000 100%
  );
  position: relative;
  z-index: 1;
}

/* Optional subtle parallax on desktop for immersion */
@media (min-width: 1024px) {
  body.home .hero {
    background-attachment: fixed;
    background-position: center top;
  }
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: #00ff84; /* couleur d’effet hover */
}

.social-icon i {
  pointer-events: none;
}

/************ ABOUT PAGE — scoped styles ************/
body.about {
  color: var(--white);
}

/* Make content readable on the dark gradient */
body.about .after-hero {
  background: linear-gradient(180deg, #000 0%, #1a1a8c 45%, #000 100%);
}
body.about .section {
  padding: 72px 0 40px;
}
body.about h1,
body.about h2,
body.about h3 {
  color: var(--white);
}
body.about .section-intro {
  color: rgba(255, 255, 255, 0.85);
}

/* Page hero */
body.about .hero--about {
  padding: 72px 0 28px;
  text-align: center;
  background: radial-gradient(
      60% 140% at 80% -10%,
      rgba(255, 66, 25, 0.15),
      transparent 60%
    ),
    radial-gradient(
      60% 120% at 10% 10%,
      rgba(51, 51, 255, 0.18),
      transparent 55%
    );
}
body.about .display {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
body.about .lead {
  max-width: 880px;
  margin: 8px auto 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* Local subnav (sticky, pill links, active state) */
body.about .subnav {
  position: sticky;
  top: calc(var(--header-h, 70px) + 8px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.55rem;
  margin-top: 0.8rem;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
body.about .subnav a {
  color: var(--white);
  opacity: 0.9;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease,
    color 0.2s ease;
}
body.about .subnav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
body.about .subnav a.is-active {
  background: var(--saffron);
  color: #111;
  border-color: transparent;
  font-weight: 700;
}

/* Dark cards on About (high contrast) */
body.about .card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}
body.about .card p {
  color: rgba(255, 255, 255, 0.92);
}

/* Image cards you already use */
body.about .card-label,
body.about .card-cultural {
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
}
body.about .card-label::before,
body.about .card-cultural::before {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.28));
}

/* Checklists, bullets */
body.about .checklist li {
  color: rgba(255, 255, 255, 0.95);
}
body.about .checklist li::before {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--saffron), var(--blue-royal));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

/* Values list (click to expand) */
body.about .values-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
body.about .values-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
body.about .values-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Timeline */
body.about .timeline {
  display: grid;
  gap: 12px;
  counter-reset: step;
}
body.about .timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
}
body.about .timeline .when {
  font-weight: 800;
  color: #fff;
}
body.about .timeline .what {
  color: rgba(255, 255, 255, 0.85);
}

/* Logos on dark */
body.about .logo-tile {
  background: #fff;
} /* keep white tiles; pop on dark */

/* CTA */
body.about .section-cta .card {
  background: linear-gradient(
    180deg,
    rgba(255, 66, 25, 0.18),
    rgba(255, 255, 255, 0.06)
  );
  border-color: rgba(255, 66, 25, 0.28);
}
body.about .section-cta .button,
body.about .section-cta .btn {
  background: var(--saffron);
  color: #111;
  font-weight: 800;
}

/* Lightbox overlay */
body.about .lb {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 999;
}
body.about .lb.active {
  display: flex;
}
body.about .lb > img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Back-to-top FAB */
body.about .fab {
  position: fixed;
  right: 16px;
  bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 60;
}
body.about .fab.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body.about .fab .btn {
  background: var(--saffron);
  color: #111;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
}

/* Smooth reveal uses your .reveal/.visible; keep it */

/************ ABOUT — Orange title + image frame ************/

/* Orange pill used as a small title/eyebrow inside cards */
body.about .title-pill {
  display: inline-block;
  background: var(--saffron);
  color: #111;
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 22px rgba(255, 66, 25, 0.25);
}

/* Make the two hero cards look like framed boxes and keep image inside the box */
body.about .card-hero {
  position: relative;
  display: grid;
  align-content: end; /* put text & button near bottom like your mock */
  gap: 14px;
  min-height: 220px; /* control card height */
  border-radius: 22px;
  padding: 18px;
  overflow: hidden; /* image never escapes the box */
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: #0a0f3a; /* fallback color if image fails */
}

/* Turn your existing background-image cards into framed hero cards */
body.about .card-label,
body.about .card-cultural {
  background-size: cover;
  background-position: center;
}
body.about .card-label.card-hero::before,
body.about .card-cultural.card-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.55)
  );
}

/* Content sits above overlay */
body.about .card-hero > * {
  position: relative;
  z-index: 1;
}

/* White CTA button on the image (like your screenshot) */
body.about .btn-on-image {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #111;
  font-weight: 800;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
body.about .btn-on-image:hover {
  transform: translateY(-2px);
}

/* Optional: make H2 in this area use orange too */
body.about .use-orange h2,
body.about h2.orange {
  color: var(--saffron);
}

/* If you use <img> inside any card and want it to exactly fit a box: */
body.about .image-box {
  /* the “frame” around the image */
  background: #0a0f3a;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  padding: 10px; /* creates the visible white/space frame */
  box-shadow: var(--shadow);
}
body.about .image-box .image-inner {
  aspect-ratio: 16/9; /* change if you want a different ratio */
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
body.about .image-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills the box */
}
/* ---- About: fix hero card vertical layout ---- */
body.about .card-hero {
  /* 3 rows: pill | text grows | button bottom */
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start; /* keep pill tight to the top */
  gap: 16px;
  padding: 22px; /* same top padding for both cards */
  min-height: 340px; /* ensure equal height boxes */
}

/* Ensure no accidental top margin pushes the pill down */
body.about .card-hero > *:first-child {
  margin-top: 0 !important;
}

/* Paragraph spacing tuned so it doesn’t add extra top gap */
body.about .card-hero p {
  margin: 2px 0 0;
  line-height: 1.65;
}

/* Keep the CTA glued to the bottom row */
body.about .card-hero .btn-on-image {
  justify-self: stretch;
}

/* Optional: if any h2/h3 appears inside, remove default margin */
body.about .card-hero h2,
body.about .card-hero h3 {
  margin: 0;
}

/* ABOUT hero uses a photo background */
body.about .hero--about {
  position: relative;
  min-height: calc(100svh - var(--header-h, 70px));
  text-align: center;
  color: #fff;

  /* IMPORTANT: path is relative to assets/css/styles.css */
  background: url("../img/abt.jpg") center / cover no-repeat;
  isolation: isolate; /* keep overlay stacking clean */
}

/* dark overlay so title/subtitle are readable */
body.about .hero--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 0;
}

/* hero content above overlay */
body.about .hero--about .container {
  position: relative;
  z-index: 1;
}

/* keep the sticky subnav legible on the photo */
body.about .subnav {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== Fix: make framed images auto-fill the box on any screen ===== */

/* Mission image frame */
body.about .mission-image {
  position: relative;
  aspect-ratio: 16 / 9; /* gives the box a real height */
  border-radius: 18px;
  overflow: hidden; /* keep rounded corners */
}

/* On small screens you can use a taller ratio if you prefer */
@media (max-width: 640px) {
  body.about .mission-image {
    aspect-ratio: 4 / 3;
  }
}

/* Make the image fill the frame regardless of size */
body.about .mission-image > img {
  position: absolute;
  inset: 0; /* top/right/bottom/left = 0 */
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops nicely */
  display: block; /* removes inline-image gaps */
}

/* If you also use the generic image-box/image-inner pattern elsewhere,
   this keeps those filling too. */
body.about .image-box .image-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}
body.about .image-box .image-inner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/************* ABOUT — Fancy Values *************/
body.about .fancy-values {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  list-style: none;
  padding-left: 0;
}

/* 2 columns on desktop */
@media (min-width: 980px) {
  body.about .fancy-values {
    grid-template-columns: 1fr 1fr;
  }
}

body.about .fancy-values li {
  position: relative;
  padding: 16px 16px 16px 64px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

/* glowing gradient dot */
body.about .fancy-values li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(
    55% 55% at 50% 50%,
    var(--saffron) 0%,
    #ff7b55 40%,
    #3333ff 100%
  );
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07),
    0 10px 18px rgba(255, 66, 25, 0.35);
}

/* subtle hover lift */
body.about .fancy-values li:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

/* optional small caption when an item gets toggled open by JS */
body.about .fancy-values li.open {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.06)
  );
}

/************* ABOUT — Timeline with vertical rail *************/
body.about .timeline.rail {
  position: relative;
  margin-top: 16px;
  display: grid;
  gap: 16px;
  counter-reset: step;
  padding-left: 0; /* remove default ol padding */
  list-style: none;
}

/* the vertical rail */
body.about .timeline.rail::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff4219, #3333ff);
  border-radius: 999px;
  opacity: 0.9;
}

/* each milestone card */
body.about .timeline.rail li {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 16px 14px 16px;
  margin-left: 16px; /* make room for the rail nodes */
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

/* node on the rail */
body.about .timeline.rail li::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07),
    0 6px 16px rgba(255, 66, 25, 0.45);
  z-index: 2;
}

/* year badge */
body.about .timeline .when {
  justify-self: start;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* description */
body.about .timeline .what {
  color: rgba(255, 255, 255, 0.92);
}

/* mobile: single column; keep rail & nodes aligned */
@media (max-width: 720px) {
  body.about .timeline.rail li {
    grid-template-columns: 1fr;
    padding-left: 72px;
  }
  body.about .timeline .when {
    margin-bottom: 6px;
  }
}
/* ===== ABOUT — Timeline (single aligned rail, no double line) ===== */
body.about .timeline.rail {
  --rail-x: 42px; /* one source of truth for the rail position */
  position: relative;
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

/* one vertical rail, behind the cards */
body.about .timeline.rail::before {
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--saffron), var(--blue-royal));
  border-radius: 999px;
  z-index: 0; /* keep behind the cards */
  pointer-events: none;
}

/* milestone card */
body.about .timeline.rail li {
  position: relative;
  z-index: 1; /* above the rail so the rail doesn't show through */
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;

  /* remove previous left margin from earlier CSS */
  margin-left: 0 !important;
  padding: 14px 16px 14px calc(var(--rail-x) + 24px); /* space for the rail/node */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: none;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

/* the round node centered exactly on the rail */
body.about .timeline.rail li::before {
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07),
    0 6px 16px rgba(255, 66, 25, 0.45);
  z-index: 2; /* above the card */
}

/* year badge + text */
body.about .timeline .when {
  justify-self: start;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
body.about .timeline .what {
  color: rgba(255, 255, 255, 0.92);
}

/* mobile: single column, keep rail aligned */
@media (max-width: 720px) {
  body.about .timeline.rail li {
    grid-template-columns: 1fr;
    padding-left: calc(var(--rail-x) + 30px);
  }
  body.about .timeline .when {
    margin-bottom: 6px;
  }
}
/* Orange heading class (used site-wide) */
.orange {
  color: var(--saffron);
}
/* generic SVG icon sizing */
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}
.social-icon .icon {
  width: 20px;
  height: 20px;
}

/* ==============================
   SUBMIT — Section & Form Styles
   ============================== */

/* Space so the footer never overlaps */
.submit-section {
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(90px, 8vw, 140px);
  position: relative;
  overflow: visible;
}

/* Gradient INSIDE the form card (blue -> black) with glass look */
.submit-card {
  background: linear-gradient(180deg, #0b1d5a 0%, #0a0f2b 45%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: clamp(20px, 2.5vw, 32px);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}

/* Title pill -> orange accent */
.submit-card .section-title .pill {
  background: rgba(255, 66, 25, 0.14);
  color: #ff4219;
  border: 1px solid rgba(255, 66, 25, 0.35);
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
}

/* Form grid */
.submit-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.submit-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 860px) {
  .submit-form .row {
    grid-template-columns: 1fr;
  }
}

.submit-form label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 6px;
}

/* Inputs */
.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s,
    transform 0.06s;
}
.submit-form ::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-form input:hover,
.submit-form select:hover,
.submit-form textarea:hover {
  background: rgba(255, 255, 255, 0.08);
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  outline: none;
  border-color: #ff4219;
  box-shadow: 0 0 0 4px rgba(255, 66, 25, 0.18);
}

/* Select caret */
.submit-form select {
  appearance: none;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      rgba(255, 255, 255, 0.75) 50%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.75) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.submit-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Terms + CTA */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.form-actions .terms {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.form-actions input[type="checkbox"] {
  accent-color: #ff4219;
  margin-right: 8px;
}

/* CTA Button */
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 66, 25, 0.35);
  transition: transform 0.08s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 66, 25, 0.45);
}
.btn.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Helper text */
.submit-form .help {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-top: 0.6rem;
}

/* Ensure the card content never clips */
.submit-card {
  overflow: visible;
}
/* ==============================
   SUBMIT PAGE BACKGROUND PHOTO
   ============================== */

/* white genre */

/* ==============================
   FIX: Dark dropdown options
   ============================== */

/* Make the opened dropdown list dark on most browsers */
.submit-form select option,
.submit-form select optgroup {
  background-color: #101a33 !important; /* deep navy */
  color: #f1f5f9 !important; /* light text */
}

/* Highlighted/hovered option color */
.submit-form select option:checked,
.submit-form select option:hover,
.submit-form select option:focus {
  background-color: #182449 !important; /* slightly lighter navy */
  color: #ffffff !important;
}

/* Keep the closed select looking dark (you already had this) */
.submit-form select {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}

/* Hide the old arrow on IE/Edge (legacy) */
.submit-form select::-ms-expand {
  display: none;
}

/* Accessibility: prevent forced-colors from overriding our choices */
@media (forced-colors: active) {
  .submit-form select option {
    forced-color-adjust: none;
  }
}
/* box check terms*/
/* ==============================
   FIX: Checkbox alignment & size
   ============================== */
.form-actions .terms {
  display: flex;
  align-items: center;
  gap: 10px; /* space between box and text */
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  cursor: pointer;
}

/* Bigger, modern checkbox */
.form-actions .terms input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #ff4219; /* orange theme */
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

/* Add a subtle hover effect */
.form-actions .terms input[type="checkbox"]:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(255, 66, 25, 0.25);
}

/* Ensure good spacing under the checkbox block */
.form-actions {
  gap: 1.5rem;
}

/* =========================================================
   SUBMIT PAGE – force a new page background (outside the box)
   ========================================================= */

/* 0) Neutralize whatever the template set earlier */
body.submit-page,
body.submit-page .section,
body.submit-page .section::before,
body.submit-page .submit-section,
body.submit-page .submit-section::before,
body.submit-page .container,
body.submit-page .container::before,
body.submit-page .card,
body.submit-page .card::before,
body.submit-page .reveal,
body.submit-page .reveal::before {
  background: none !important;
  background-image: none !important;
}
body.submit-page .section::before,
body.submit-page .submit-section::before,
body.submit-page .container::before,
body.submit-page .card::before,
body.submit-page .reveal::before {
  content: none !important;
}

/* 1) Make sure the page can host a fixed background layer */
body.submit-page {
  position: relative;
  min-height: 100vh;
}

/* 2) Our new image + gradient sits behind EVERYTHING */
body.submit-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    /* gradient overlay for readability */ linear-gradient(
      180deg,
      rgba(11, 29, 90, 0.9) 0%,
      rgba(10, 15, 43, 0.95) 45%,
      rgba(0, 0, 0, 0.98) 100%
    ),
    /* 👉 replace with your file */ url("../img/aa.jpg") center center / cover
      no-repeat;
  background-attachment: fixed;
}
/* =========================================================
   SUBMIT PAGE — pure background photo, no gradient overlay
   ========================================================= */
body.submit-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../img/aa.jpg") center center / cover no-repeat;
  background-attachment: fixed; /* optional: parallax-style effect */
}
/* =========================================================
   SUBMIT FORM PANEL — deep blue background for readability
   (append at the very end of styles.css)
   ========================================================= */

/* Make the card itself transparent and draw a blue panel under its content */
.submit-card {
  position: relative;
  background: transparent !important; /* ignore old gradient */
  border: none; /* border will be drawn on the overlay */
  overflow: visible;
}

/* Blue panel behind the form content */
.submit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(12, 22, 60, 0.985),
    rgba(6, 12, 38, 0.985)
  );

  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px) saturate(130%);
  -webkit-backdrop-filter: blur(4px) saturate(130%);
  z-index: 0;
}

/* Lift all inner content above the blue overlay */
.submit-card > * {
  position: relative;
  z-index: 1;
}

/* Fields: darker fill so the new photo never bleeds through */
.submit-form input,
.submit-form select,
.submit-form textarea {
  background: rgba(8, 14, 40, 0.55); /* dark navy fill */
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.submit-form input:hover,
.submit-form select:hover,
.submit-form textarea:hover {
  background: rgba(8, 14, 40, 0.65);
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  border-color: #ff4219;
  box-shadow: 0 0 0 4px rgba(255, 66, 25, 0.18);
  background: rgba(8, 14, 40, 0.75);
}

/* Placeholder/readability tweaks */
.submit-form ::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.submit-form label {
  color: rgba(255, 255, 255, 0.9);
}

/* Dropdown options stay readable on dark */
.submit-form select option,
.submit-form select optgroup {
  background-color: #101a33 !important;
  color: #f1f5f9 !important;
}

/* Keep the checkbox text bright */
.form-actions .terms {
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   SUBMIT FORM — solid deep blue background, no red tint
   ========================================================= */
.submit-card {
  position: relative;
  background: #0b1d5a !important; /* solid deep blue */
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: clamp(20px, 2.5vw, 32px);
  z-index: 1;
}

/* Remove any blur or gradient overlay that might bleed red */
.submit-card::before,
.submit-card::after {
  content: none !important;
}

/* Dark input fields for contrast */
.submit-form input,
.submit-form select,
.submit-form textarea {
  background: rgba(10, 20, 60, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.submit-form input:hover,
.submit-form select:hover,
.submit-form textarea:hover {
  background: rgba(15, 30, 80, 1);
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  background: rgba(15, 30, 90, 1);
  border-color: #ff4219;
  box-shadow: 0 0 0 4px rgba(255, 66, 25, 0.2);
}

/* Ensure labels and placeholder text are readable */
.submit-form label {
  color: rgba(255, 255, 255, 0.9);
}
.submit-form ::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Dropdown options stay dark */
.submit-form select option {
  background-color: #0a143c !important;
  color: #ffffff !important;
}

/* Checkbox and text are clearly visible */
.form-actions .terms {
  color: rgba(255, 255, 255, 0.92);
}
.form-actions .terms input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #ff4219;
}
/* =========================================================
   FINAL — Solid Deep Blue Form Box (no red tint, no fade)
   ========================================================= */

.submit-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 60, 0.97) 0%,
    rgba(5, 10, 30, 0.98) 60%,
    rgba(0, 5, 15, 1) 100%
  ) !important;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: clamp(24px, 3vw, 36px);
  z-index: 1;
}

/* Remove all background overlays or old effects */
.submit-card::before,
.submit-card::after {
  content: none !important;
}

/* Form fields: darker navy fill for consistency */
.submit-form input,
.submit-form select,
.submit-form textarea {
  background: rgba(15, 25, 70, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.submit-form input:hover,
.submit-form select:hover,
.submit-form textarea:hover {
  background: rgba(20, 35, 90, 0.95);
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  background: rgba(25, 45, 110, 1);
  border-color: #ff4219;
  box-shadow: 0 0 0 4px rgba(255, 66, 25, 0.2);
  outline: none;
}

/* Labels & placeholder visibility */
.submit-form label {
  color: rgba(255, 255, 255, 0.92);
}
.submit-form ::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Dropdown options - dark theme */
.submit-form select option,
.submit-form select optgroup {
  background-color: #0a143c !important;
  color: #f1f5f9 !important;
}

/* Checkbox styling */
.form-actions .terms {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.form-actions .terms input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #ff4219;
  border-radius: 6px;
}

/* Button remains as your signature orange */
.btn.btn-primary {
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 12px 28px rgba(255, 66, 25, 0.35);
  transition: transform 0.1s ease, box-shadow 0.25s ease;
}
.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 66, 25, 0.45);
}

/* =========================================================
   FIX TITLES & LABEL VISIBILITY (for Submit Form)
   ========================================================= */

/* Section title pill */
.submit-card .section-title .pill {
  background: rgba(255, 66, 25, 0.15);
  color: #ff4219;
  border: 1px solid rgba(255, 66, 25, 0.4);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 66, 25, 0.35);
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* Labels ("Full Name", "Email", etc.) */
.submit-form label {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7); /* improves contrast on light parts of image */
}

/* Field placeholders (text inside inputs) */
.submit-form ::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Optional: emphasize section title ("Submit Your Music") at top */
.submit-card .section-title {
  text-align: left;
}
.submit-card .section-title span {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
/* =========================================================
   SUBMIT FORM — polished, readable, responsive
   ========================================================= */

/* Section spacing (keeps page scroll natural and not too tall) */
.submit-section {
  padding: clamp(24px, 4vw, 48px) 16px;
  position: relative;
  overflow: visible;
}

/* Centered form card with solid deep-blue panel (no red tint) */
.submit-card {
  position: relative;
  max-width: 1120px; /* prevents extra-wide forms */
  margin: 0 auto;
  padding: clamp(20px, 2.8vw, 32px);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 60, 0.98) 0%,
    rgba(6, 12, 38, 0.98) 60%,
    rgba(3, 6, 22, 1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  color: #fff;
}
.submit-card::before,
.submit-card::after {
  content: none !important;
}

/* Title pill — bold, on-brand */
.submit-card .section-title {
  margin-bottom: clamp(14px, 2vw, 22px);
}
.submit-card .section-title .pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(255, 66, 25, 0.35);
}

/* Layout grid: 2 columns on desktop, 1 on tablets/phones */
.submit-form {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}
.submit-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 18px);
}
@media (max-width: 1024px) {
  .submit-form .row {
    grid-template-columns: 1fr;
  }
}

/* Labels: bright & crisp over any background */
.submit-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* Inputs / selects / textareas: dark navy with soft inner glow */
.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  color: #fff;
  background: radial-gradient(
    110% 140% at 0% 0%,
    rgba(22, 35, 88, 0.95) 0%,
    rgba(15, 25, 70, 0.95) 60%,
    rgba(10, 18, 50, 0.95) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s,
    transform 0.05s;
}
.submit-form ::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.submit-form input:hover,
.submit-form select:hover,
.submit-form textarea:hover {
  background: radial-gradient(
    110% 140% at 0% 0%,
    rgba(26, 42, 110, 0.98) 0%,
    rgba(18, 32, 90, 0.98) 60%,
    rgba(12, 22, 65, 0.98) 100%
  );
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  outline: none;
  border-color: #ff4219;
  box-shadow: 0 0 0 4px rgba(255, 66, 25, 0.22);
  background: radial-gradient(
    110% 140% at 0% 0%,
    rgba(28, 46, 120, 1) 0%,
    rgba(20, 36, 100, 1) 60%,
    rgba(14, 26, 76, 1) 100%
  );
}

/* Textarea sizing without huge vertical bloat */
.submit-form textarea {
  min-height: 170px;
  resize: vertical;
}

/* Custom select caret */
.submit-form select {
  appearance: none;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      rgba(255, 255, 255, 0.75) 50%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.75) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Dropdown list stays dark */
.submit-form select option,
.submit-form select optgroup {
  background-color: #0a143c !important;
  color: #f1f5f9 !important;
}

/* Terms + submit row */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 20px);
  margin-top: 6px;
  flex-wrap: wrap;
}

/* Better, larger checkbox */
.form-actions .terms {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  cursor: pointer;
}
.form-actions .terms input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #ff4219;
  border-radius: 6px;
  flex-shrink: 0;
}

/* CTA button stays on-brand */
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(255, 66, 25, 0.35);
  transition: transform 0.1s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 66, 25, 0.45);
}

/* Helper text subtle */
.submit-form .help {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Tighter desktop height so you don't need to scroll just to see the CTA */
@media (min-width: 1200px) {
  .submit-card {
    padding: 28px 34px;
  }
  .submit-form input,
  .submit-form select {
    padding: 13px 16px;
  }
}

/* Small devices: single column, comfortable spacing */
@media (max-width: 640px) {
  .submit-card {
    padding: 18px;
    border-radius: 16px;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn.btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Force Genre <select> to match other input fields */
.submit-form select {
  width: 100%;
  color: #fff;
  background: rgba(18, 30, 80, 0.95); /* same dark blue tone */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.94rem;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      rgba(255, 255, 255, 0.75) 50%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.75) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.submit-form select:hover {
  background: rgba(24, 40, 110, 0.98);
}

.submit-form select:focus {
  outline: none;
  border-color: #ff4219;
  box-shadow: 0 0 0 3px rgba(255, 66, 25, 0.25);
  background: rgba(26, 42, 120, 1);
}

/* Dropdown options also dark-blue */
.submit-form select option {
  background-color: #0a143c;
  color: #f1f5f9;
}

/************ MUSIC PAGE — scoped styles only ************/
body.page-music::before {
  display: none !important;
} /* kill the global photo only on Music page */

body.page-music {
  /* Black (header) → deep blue core → black (footer) */
  background: radial-gradient(
      1200px 1200px at 12% 8%,
      rgba(51, 51, 255, 0.18) 0%,
      rgba(51, 51, 255, 0) 45%
    ),
    radial-gradient(
      900px 900px at 85% 60%,
      rgba(18, 24, 56, 0.55) 0%,
      rgba(18, 24, 56, 0) 55%
    ),
    linear-gradient(
      180deg,
      #000000 0%,
      #0a0f3a 22%,
      #1a1a8c 50%,
      #0a0f3a 78%,
      #000000 100%
    );
  color: #e9edff;
  min-height: 100dvh;
  /* don’t let global sand color leak */
}

/* Generic section spacing on this page */
body.page-music .section {
  padding: 72px 0 40px;
}

/* Section eyebrow pill stays orange */
body.page-music .section-title .pill {
  background: var(--saffron);
  color: #111;
  font-weight: 800;
}

/* Headings in orange (like your other pages) */
body.page-music h2,
body.page-music h3,
body.page-music .video-title {
  color: var(--saffron);
}

/* ---------- Video cards (glass on dark) ---------- */
body.page-music .video-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
body.page-music .video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}
body.page-music .video {
  aspect-ratio: 16/9;
  width: 100%;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
body.page-music .video-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  margin: 10px 8px 4px;
  letter-spacing: 0.3px;
}

/* ---------- Playlists (Spotify / YouTube) ---------- */
body.page-music .playlist-row {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 960px) {
  body.page-music .playlist-row {
    grid-template-columns: 1fr;
  }
}

body.page-music .playlist-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

/* ---------- Latest Tracks grid ---------- */
body.page-music .tracks-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
  body.page-music .tracks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  body.page-music .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  body.page-music .tracks-grid {
    grid-template-columns: 1fr;
  }
}

body.page-music .track-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
body.page-music .track-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}
body.page-music .track-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
body.page-music .track-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px 10px;
  color: #fff;
}
body.page-music .track-title {
  font-weight: 800;
}
body.page-music .track-artist {
  opacity: 0.9;
  font-size: 0.9rem;
}

/* ---------- Artists chips ---------- */
body.page-music .artists-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
body.page-music .artist-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
}
body.page-music .artist-chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- CTA banner (image-less, blended with page bg) ---------- */
body.page-music .cta-banner {
  background: radial-gradient(
      120% 160% at 0% 0%,
      rgba(255, 66, 25, 0.16),
      transparent 65%
    ),
    radial-gradient(
      120% 160% at 100% 0%,
      rgba(51, 51, 255, 0.18),
      transparent 65%
    ),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 28px 22px;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
body.page-music .cta-banner h2 {
  color: var(--saffron);
  font-size: 2.2rem;
  margin-bottom: 8px;
}
body.page-music .cta-banner .btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  color: #111;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 10px 24px rgba(255, 66, 25, 0.35);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
body.page-music .cta-banner .btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 66, 25, 0.45);
}

/* Links inside dark cards should look clickable */
body.page-music a {
  color: #fff;
}

/* Smooth reveal already exists; just ensure visibility pop looks good here */
body.page-music .reveal.visible {
  transform: none;
  opacity: 1;
}

/************ MUSIC PAGE — full-page photo background ************/
/* 1) Remove the site-wide background layer only on the music page */
body.page-music::before {
  display: none !important;
}

/* 2) Add our own fixed photo that auto-fills the page */
body.page-music {
  position: relative;
  background: none;
  color: #e9edff;
  min-height: 100vh;
}

/* Full-screen background photo (behind all content) */
body.page-music::after {
  content: "";
  position: fixed; /* stays put while you scroll */
  inset: 0;
  z-index: -1; /* behind header, sections, and footer */
  background:
    /* soft fade so it blends with your black header & footer */ linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.15) 30%,
      rgba(0, 0, 0, 0.15) 70%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    url("../img/backgroundmusic2.jpg") center / cover no-repeat; /* ← replace with your image */
  background-attachment: fixed; /* optional subtle parallax */
  filter: saturate(105%); /* tiny pop */
}

/* Keep sections breathing but transparent over the photo */
body.page-music .section {
  padding: 72px 0 40px;
}

/* Make sure any default page background doesn’t leak through */
body.page-music .card,
body.page-music .video-card,
body.page-music .playlist-card,
body.page-music .track-tile,
body.page-music .artist-chip,
body.page-music .cta-banner {
  /* your existing “glass” styles can remain; no solid backgrounds needed */
}
/************ MUSIC PAGE — keep black header & footer, add fades ************/

/* HEADER — stay black, fade smoothly into body */

/* FOOTER — fade upward into body */
body.page-music .footer {
  background: #000000 !important;
  position: relative;
  z-index: 10;
  box-shadow: none;
}

/* Upward fade above the footer */
body.page-music .footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.85) 70%,
    #000000 100%
  );
}

/* Prevent fade overlays from affecting interactions */
body.page-music .header::after,
body.page-music .footer::before {
  pointer-events: none;
}

/* Optional: if you want ZERO fade (pure photo), uncomment below
body.page-music::after{
  background: url("../img/music-bg.jpg") center / cover no-repeat;
}
*/



/* ===============================
   MINI EVENT TEASER (BOTTOM BADGE)
   =============================== */

.event-teaser {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 9px 16px 9px 11px;
  border-radius: 999px;

  background: radial-gradient(circle at top left, rgba(255, 66, 25, 0.2), transparent 55%),
              rgba(8, 10, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.7),
    0 0 14px rgba(255, 66, 25, 0.55);

  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;

  cursor: pointer;
  backdrop-filter: blur(4px);

  animation: teaser-intro 0.45s ease-out 0.7s both, teaser-glow 2.4s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.event-teaser:hover {
  transform: translateY(-1px);
  background: radial-gradient(circle at top left, rgba(255, 66, 25, 0.3), transparent 55%),
              rgba(10, 12, 36, 0.98);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(255, 66, 25, 0.75);
}

.event-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff4219;
  box-shadow:
    0 0 4px rgba(255, 66, 25, 0.9),
    0 0 10px rgba(255, 66, 25, 0.9);

  animation: dot-pulse 1.4s ease-in-out infinite;
}

.event-teaser-text {
  white-space: nowrap;
}

/* teaser animations */
@keyframes teaser-intro {
  from {
    opacity: 0;
    transform: translate(30px, 20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes teaser-glow {
  0%, 100% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.7),
      0 0 10px rgba(255, 66, 25, 0.5);
  }
  50% {
    box-shadow:
      0 14px 28px rgba(0, 0, 0, 0.85),
      0 0 18px rgba(255, 66, 25, 0.9);
  }
}

@keyframes dot-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.65;
  }
}

/* Mobile: center it a bit more */
@media (max-width: 600px) {
  .event-teaser {
    right: 50%;
    transform: translateX(50%);
    bottom: 18px;
  }
}

/* ===============================
   EVENT POPUP OVERLAY + CARD
   =============================== */

.event-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;           /* toggled by JS */
  justify-content: center;
  align-items: center;
  z-index: 9999;

  background:
    radial-gradient(circle at top, rgba(255, 66, 25, 0.35), transparent 55%),
    radial-gradient(circle at bottom, rgba(65, 105, 225, 0.6), transparent 60%),
    rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.event-popup-overlay.is-visible {
  display: flex;
  animation: popup-fade-in 0.25s ease-out;
}

.event-popup {
  position: relative;
  overflow: hidden;

  max-width: 780px;
  width: 94%;
  border-radius: 22px;

  background: radial-gradient(circle at top left, rgba(255, 66, 25, 0.25), transparent 65%),
              rgba(5, 8, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.7);

  animation: popup-scale-in 0.25s ease-out;
}

.event-popup-content {
  display: flex;
  flex-wrap: wrap;
}

/* image side */
.event-popup-image {
  flex: 1 1 45%;
  min-width: 260px;
  max-height: 100%;
  overflow: hidden;
}

.event-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text side */
.event-popup-text {
  flex: 1 1 55%;
  padding: 24px 24px 20px;
  color: #ffffff;
}

.event-popup-text h3 {
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 8px 0 10px;
}

.event-info {
  margin-bottom: 8px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.9);
}

.event-popup-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* tag */
.event-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 11px;
  border-radius: 999px;

  background: rgba(10, 15, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffbfa2;
}

/* CTA button */
.event-popup-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;

  border-radius: 999px;
  border: none;

  background: linear-gradient(135deg, #ff4219, #ff8c42);
  color: #ffffff;
  text-decoration: none;

  font-weight: 600;
  font-size: 0.96rem;

  box-shadow:
    0 10px 22px rgba(255, 66, 25, 0.55),
    0 0 18px rgba(255, 66, 25, 0.7);

  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.event-popup-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(255, 66, 25, 0.75),
    0 0 22px rgba(255, 66, 25, 0.9);
  filter: brightness(1.05);
}

/* close button */
.event-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;

  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;

  background: rgba(4, 6, 20, 0.9);
  color: rgba(255, 255, 255, 0.85);

  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.event-popup-close:hover {
  background: #ff4219;
  color: #ffffff;
  transform: translateY(-1px);
}

/* popup animations */
@keyframes popup-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popup-scale-in {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* responsive layout */
@media (max-width: 720px) {
  .event-popup-content {
    flex-direction: column;
  }

  .event-popup-text {
    padding: 18px 16px 16px;
  }

  .event-popup-text h3 {
    font-size: 1.15rem;
  }

  .event-popup-image {
    min-width: 100%;
    max-height: 260px;
  }
}

/* ===============================
   

/* HERO CONTAINER */
.home .hero {
  position: relative;
  min-height: calc(100vh - 80px); /* adjust to your header height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* VIDEO BACKGROUND */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.8)
    );
  z-index: -1;
}

/* TEXT LAYER */
.hero-content {
  position: relative;
  text-align: center;
  padding: 0 1.5rem;
  z-index: 2;
}

/* BUTTON WRAPPER */
.hero-buttons {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---------------------------
   🔥 MOBILE OPTIMIZATION
   --------------------------- */
@media (max-width: 768px) {
  .home .hero {
    min-height: 80vh; /* shorter on mobile */

    /* Extra padding so text never goes under burger menu */
    padding-top: 5rem;
  }

  .hero-video {
    height: 100%;  /* Important for tall phones */
    width: auto;
    min-width: 100%;
    min-height: 100%;
  }

  .display {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero .subtitle {
    font-size: 0.95rem;
    margin-top: 0.8rem;
  }
}

/* EXTREMELY SMALL DEVICES */
@media (max-width: 480px) {
  .display {
    font-size: 1.7rem;
  }

  .hero .subtitle {
    font-size: 0.85rem;
  }
}
.hero-video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-video.loaded {
  opacity: 1;
}
