/* ===== Vars ===== */
:root{
  --accent1:#ff4ffb;
  --accent2:#b85cff;

  /* Consistente surfaces (rust) */
  --surface: #2a0b33;          /* basispaarse achtergrond voor meeste secties */
  --surface-dark: #1c0a24;     /* iets donkerder variant */
  --band-bg: #19041f;          /* contrasterende band sectie (egale tint) */

  --header-h: 72px;
  --text:#ffffff;
  --muted:#cfd3dc;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

html, body{
  margin:0; padding:0;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Anchors netjes uitlijnen onder fixed header */
.anchor{ scroll-margin-top: calc(var(--header-h) + 14px); }

h1, h2, h3{
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0 0 1rem 0;
  text-align: center;
}
h1{ font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing:.04em; font-weight: 800; }
h2{ font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; }
h3{ font-size: 1.25rem; }

section{ padding: 3.5rem 1rem; }
.container{ max-width: 1200px; margin: 0 auto; }

/* ===== Header ===== */
header{
  position: fixed; top: 0; left: 0;
  width: 100%; height: var(--header-h);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 1000;
}
.header-container{
  height: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo{ width: 92px; height: auto; display:block; }

nav{ flex: 1; display:flex; align-items:center; justify-content:center; position:relative; }
.nav-list{
  list-style: none; display:flex; gap: clamp(1rem, 3vw, 2rem); margin:0; padding:0;
}
.nav-list a{
  color:#fff; text-decoration:none; font-weight: 700; position: relative; padding:.3rem .2rem;
}
.nav-list a::after{
  content:""; position:absolute; left:0; right:0; bottom:-8px; height:2px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-list a:hover::after{ transform: scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:.8rem; }
.icon-link{
  width: 44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; background: rgba(255,255,255,.12);
  border-radius: 999px;
  transition: transform .18s ease, background .25s ease;
}
.icon-link:hover{ transform: translateY(-1px); background: rgba(255,255,255,.2); }
.book-btn{
  display:inline-block; background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color:#fff; text-decoration:none; font-weight:800; padding:.5rem 1rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(184, 92, 255, .28);
  transition: transform .18s ease, filter .2s ease; white-space: nowrap;
}
.book-btn:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.icon-link .cta-icon {
  width: 24px;
  height: auto;
}

.menu-toggle{
  display:none; flex-direction:column; gap:5px;
  position:absolute; left:.25rem; top:50%; transform: translateY(-50%);
  cursor:pointer; background:transparent; border:0;
}
.menu-toggle .bar{ width:24px; height:3px; background:#fff; border-radius:3px; }

@media (max-width: 880px){
  .menu-toggle{
    display: flex;
    margin-left: 0.25rem;
  }

  .nav-list{
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;

    margin: 0;
    padding: .8rem 1rem 1rem;

    background: rgba(42, 12, 52, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);

    /* Animatie */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;

    flex-direction: column;
    gap: .6rem;
  }

  /* actief = zichtbaar */
  .nav-list.active{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* lijststijl mobiel */
  .nav-list li{ list-style: none; }
  .nav-list a{
    display: block;
    padding: .85rem 0;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
  }

  /* subtiele scheiding tussen items */
  .nav-list li + li{
    border-top: 1px solid rgba(255,255,255,.08);
  }

  nav{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* zoals in desktop, voorkomt dat logo en hamburger botsen */
  }

  .logo{ width: 80px; }
}


/* ===== Hero (video fullscreen) ===== */
#home{
  position: relative; min-height: 100vh;
  display:grid; place-items:center; text-align:center; overflow:hidden;
  background:#000; padding: 0;
}
#bg-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; opacity:.5; z-index:0;
}
.overlay-content{ position:relative; z-index:1; padding: 3rem 1rem; }
.overlay-content .tagline{
  margin-top:.5rem; font-weight:800; letter-spacing:.03em;
  color:#f7f2ff; text-shadow: 0 0 10px rgba(0,0,0,.45);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}
/* Zachte fade onder de video naar de site-achtergrond */
.hero-fade{
  position:absolute; left:0; right:0; bottom:-1px; height:140px; pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 50%, var(--surface) 100%);
  z-index: 0;
}

/* ===== Over ons (vaste kleur, geen sectie-gradient) ===== */
#over-ons{
  background: var(--surface);
}

.about-hero{
  position: relative;
  width: min(1200px, 96vw);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,.38);
}
.about-hero-img{ width:100%; height:auto; display:block; transform: scale(1.01); }
.about-hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
}

/* Glass card */
.about-card2{
  width: min(1200px, 96vw);
  margin: clamp(28px, 4vw, 48px) auto 0;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: clamp(1.3rem, 2.8vw, 2.6rem);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
.about-card-title{
  margin: 0 0 1.2rem 0;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

/* Perfect verdelende 2 kolommen */
.about-text{
  column-count: 2;
  column-gap: 2.4rem;
  column-fill: balance;
  hyphens: auto;
  line-height: 1.8;
  font-size: 1.05rem;
}
.about-text p{ margin: 0 0 1rem; }
@media (max-width: 980px){
  .about-text{ column-count: 1; }
}

/* ===== Meet the band (egale contrasterende tint) ===== */
#band{
  background: var(--band-bg);   /* geen gradient, rustige blok */
  padding: 3.2rem 1rem 3.8rem;
}
.bandleden{ display:flex; flex-wrap:wrap; justify-content:center; gap:80px; margin-top: 1.4rem; }
.bandlid{ position:relative; }
.bandlid img{ max-width:100%; height:auto; display:block; cursor:pointer; }
.bandlid .hover{
  position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity .22s ease;
}
.bandlid:hover .leden{ opacity:0; }
.bandlid:hover .hover{ opacity:1; }
.overlay-text{
  position:absolute; left:0; bottom:10px; width:100%;
  display:flex; justify-content:center; gap:10px;
  color:#fff; font-weight:800; font-family:Poppins, Inter, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.overlay-text .naam{ opacity:0; transition:opacity .2s ease; }
.bandlid:hover .instrument{ opacity:0; }
.bandlid:hover .naam{ opacity:1; }

/* ===== Muziek (zelfde surface als over-ons) ===== */
#muziek{ background: var(--surface); }
.video-frame{
  position: relative; width: min(92vw, 1200px);
  aspect-ratio: 16/9;
  margin: 1rem auto 0;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
}
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ===== Agenda (zelfde surface, bg-illustratie) ===== */
#agenda{
  position:relative; overflow:hidden;
  background: var(--surface);
}
.agenda-bg{
  position:absolute; inset:0;
  background-image:url('IMAGES/Achtergrond_optreden.PNG');
  background-repeat: no-repeat;
  background-size: contain;   /* hele afbeelding altijd zichtbaar */
  background-position: center top;
  background-color: var(--surface); /* matcht achtergrondkleur sectie erboven */
  opacity:.24; 
  z-index:0; 
  filter: saturate(90%);
}

#agenda .container{ position: relative; z-index:1; }

/* zachte, lange overgang naar contact (zonder donkere band) */
#agenda::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:160px; pointer-events:none;
  background: linear-gradient(180deg, rgba(42,11,51,0) 0%, rgba(28,10,36,.25) 50%, var(--surface-dark) 100%);
}

.gigs{
  display:grid; grid-template-columns: repeat( auto-fit, minmax(260px, 1fr) );
  gap: 16px; margin-top: 1.2rem;
}
.gig-card{
  display:flex; align-items:center; gap:12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: .9rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .18s ease, border-color .25s ease, background .25s ease;
}
.gig-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.gig-date{
  width: 74px; min-width: 74px; height: 74px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#fff; font-weight: 800; line-height: 1.05;
}
.gig-date .day{ font-size: 1.6rem; }
.gig-date .mon{ font-size:.85rem; letter-spacing:.1em; margin-top:2px; }
.gig-date .yr{ font-size:.75rem; opacity:.9; }

.gig-info h3{ margin:0; text-align:left; }
.gig-info p{ margin:.15rem 0 0; color: var(--muted); text-align:left; }

/* ===== Contact / CTA ===== */
#contact{ position:relative; min-height: 60vh; background: var(--surface-dark); }
.contact_background{
  position:absolute; inset:0;
  background-image: url('IMAGES/Fieldtrip_Band_Coverpage.JPG');
  background-size: cover; background-position: center;
  opacity:.45; z-index:0;
}
.contact-topfade{
  position:absolute; top:0; left:0; right:0; height:120px; pointer-events:none; z-index:0;
  background: linear-gradient(180deg, rgba(28,10,36,1) 0%, rgba(28,10,36,0) 100%);
}
#contact .container{ position: relative; z-index:1; }

.cta-panel{
  max-width: 820px; margin: 1.2rem auto 0;
  padding: 1rem;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-btn{
  display:flex; align-items:center; justify-content:center; gap:.7rem;
  text-decoration:none; color:#fff; font-weight:700;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: .9rem 1rem;
  transition: transform .18s ease, background .25s ease, border-color .25s ease;
}
.cta-btn.big{ font-size: 1.05rem; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06)); }
.cta-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}
.cta-icon{ width:28px; height:auto; display:block; }

/* ===== Footer ===== */
footer{ background:#0303035f; color:#fff; text-align:center; padding:1rem 0; }

/* ===== Reveal Animations ===== */
.reveal{
  opacity: 0;
  transform: translateY(22px) scale(.995);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.9,.24,1);
}
.reveal.in-view{ opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .about-text{ column-count: 1; }
}
@media (max-width: 880px){
  .cta-panel{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .video-frame{ width: 96vw; }
}

/* --- Fix uitlijning mobiel --- */
.about-hero,
.about-card2,
.video-frame {
  width: min(1200px, 100%);   /* ipv 96vw of 92vw */
  margin-left: auto;
  margin-right: auto;
}

/* ===== haarlijn-fix op mobiel ===== */

/* 0) Basis: geen negatieve offsets meer */
.hero-fade { bottom: 0; height: 170px; }
#agenda::after { bottom: 0; height: 190px; }

/* 1) Laat de VOLGENDE sectie 2px overlappen (dezelfde kleur) */
#over-ons::before,
#contact::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -2px;                /* overlapt 2px naar boven */
  height: 2px;
  pointer-events: none;
  z-index: 2;
}
#over-ons::before { background: var(--surface); }        /* matcht onderkant hero-fade */
#contact::before  { background: var(--surface-dark); }   /* matcht onderkant agenda::after */

/* 2) Zorg dat secties stacking en snijranden ‘clean’ houden */
#home, #agenda, #over-ons, #contact { position: relative; }
#home, #agenda { overflow: hidden; }     /* snijdt kleine overlaps veilig af */

/* 3) Forceer GPU-compositing om AA-artefacts te verminderen */
#bg-video, .hero-fade, #agenda::after {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* 4) Extra veilig: zet een mini ‘inset’ schaduw die de naad maskeert */
#home { box-shadow: inset 0 -1px 0 var(--surface); }           /* onderkant hero */
#agenda { box-shadow: inset 0 -1px 0 var(--surface-dark); }    /* onderkant agenda */

/* 5) iOS/retina-specifieke fix: een tikje “scale” op de fades (onzichtbaar, wel effectief) */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  .hero-fade, #agenda::after {
    transform: translateZ(0) scaleY(1.002);  /* 0.2% hoger => naad valt achter overlap */
    transform-origin: bottom;
  }
}

/* 6) Alleen op klein scherm: voorkom ‘contain’-gaten bij de agenda-achtergrond */
@media (max-width: 768px){
  .agenda-bg{
    background-size: clamp(768px, 115vw, 1200px) auto;
    background-position: center 0;
  }
}

/* 7) Voor de zekerheid tegen horizontale artefacts */
html, body { overflow-x: hidden; }

/* ===== Tijdelijke banner ===== */
.site-banner{
  position: sticky;
  top: var(--header-h);           /* plakt onder je fixed header */
  z-index: 999;                   /* onder header (1000), boven content */
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  /* subtiel binnen-glow */
}
.site-banner::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:2px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  opacity:.85;
}
.site-banner__inner{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: .72rem 1rem;
}

.site-banner__pill{
  display:inline-flex; align-items:center; gap:.5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .28rem .6rem .28rem .4rem;
  font-weight: 800; font-family: Poppins, Inter, sans-serif;
}
.site-banner__label{ letter-spacing:.02em; font-size:.8rem; }
.site-banner__pulse{
  width:10px; height:10px; border-radius:999px;
  background: radial-gradient(circle at 50% 50%, var(--accent1), var(--accent2));
  box-shadow: 0 0 10px rgba(184,92,255,.8);
  display:inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity:1; }
  50%    { transform: scale(1.25); opacity:.65; }
}
@media (prefers-reduced-motion: reduce){
  .site-banner__pulse{ animation: none; }
}

.site-banner__text{
  margin:0;
  text-align: center;
  font-weight: 700;
  color: #fff;
}
.site-banner__text strong{ font-weight: 800; }

.site-banner__dots{
  display:inline-block;
  animation: dots 1.6s steps(4,end) infinite;
}
@keyframes dots{
  0%{ content:""; }
  25%{ content:"."; }
  50%{ content:".."; }
  75%{ content:"..."; }
}

.site-banner__text em{
  font-style: normal;
  opacity: .85;
}
.site-banner__sub{
  display: block;
  margin-top: .2rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
}
@media (max-width: 720px){
  .site-banner__sub{ font-size: .9rem; }
}

.site-banner__close{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color:#fff; font-weight:800;
  border-radius: 10px;
  padding: .35rem .55rem;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.site-banner__close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}

/* Responsiveness */
@media (max-width: 720px){
  .site-banner__inner{
    grid-template-columns: 1fr auto;   /* label boven tekst weg */
    grid-template-rows: auto auto;
    gap: .6rem;
  }
  .site-banner__pill{ grid-column: 1 / -1; justify-self: start; }
  .site-banner__text{ text-align: left; }
}
