/* =====================================================================
   CABARETIER WEBSITE — HOOFDSTYLESHEET
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. KLEUREN & INSTELLINGEN
   Dit is de enige plek waar je moet zijn om de site een andere
   kleurstijl te geven. Alle kleuren in de rest van dit bestand
   verwijzen hiernaar, dus één aanpassing hier werkt overal door.
   --------------------------------------------------------------------- */
:root {
  /* Achtergrondtinten (donker theaterpodium) */
  --noir: #150c1f;        /* hoofdachtergrond */
  --curtain: #241236;     /* paneel-/kaartachtergrond, iets lichter */
  --curtain-light: #33184a; /* randen/hover binnen panelen */

  /* Accentkleuren — complementair kleurenpaar (goud t.o.v. paars/roze) */
  --spotlight: #ffc531;   /* hoofdaccent: goud, spotlicht */
  --marquee-pink: #ff3d78; /* tweede accent: felroze, voor energie */
  --footlight-teal: #29e0a3; /* derde accent: mintgroen, voor variatie */

  /* Tekstkleuren */
  --paper: #f8f1e7;       /* hoofdtekst op donkere achtergrond */
  --paper-dim: #b8a9d9;   /* gedempte/secundaire tekst */

  /* Typografie */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Overig */
  --max-width: 1160px;
  --radius-s: 8px;
  --radius-m: 14px;
}

/* ---------------------------------------------------------------------
   2. RESET & BASIS
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 1rem;
  font-weight: 400;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--spotlight);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--marquee-pink); color: var(--noir); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------
   3. LAYOUT-HULPKLASSEN
   --------------------------------------------------------------------- */
.container {
  width: min(var(--max-width), 92%);
  margin-inline: auto;
}

.section { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.section--alt { background: var(--curtain); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--spotlight);
  color: var(--noir);
  font-weight: 700;
  padding: .85rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Zwevende gloed-vlekken op de achtergrond, geven de site beweging */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bg-decor span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .3;
  animation: zweven 24s ease-in-out infinite;
}
.bg-decor span:nth-child(1) {
  width: 360px; height: 360px;
  background: var(--marquee-pink);
  top: -100px; left: -80px;
  animation-duration: 22s;
}
.bg-decor span:nth-child(2) {
  width: 440px; height: 440px;
  background: var(--spotlight);
  bottom: -140px; right: -120px;
  animation-duration: 28s;
  animation-delay: -6s;
}
.bg-decor span:nth-child(3) {
  width: 280px; height: 280px;
  background: var(--footlight-teal);
  top: 45%; left: 62%;
  animation-duration: 20s;
  animation-delay: -3s;
}
@keyframes zweven {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.12); }
}

/* ---------------------------------------------------------------------
   4. HEADER & NAVIGATIE
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 12, 31, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .9rem;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .01em;
  color: var(--spotlight);
  margin: 0;
}
.logo span { color: var(--marquee-pink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  font-weight: 600;
  padding-block: .3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--spotlight);
  transition: width .25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--spotlight); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 24px; height: 3px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   5. KNOPPEN
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.btn-primary {
  background: var(--spotlight);
  color: var(--noir);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(255, 197, 49, .35); }

.btn-secondary {
  background: transparent;
  border-color: var(--marquee-pink);
  color: var(--paper);
}
.btn-secondary:hover {
  background: var(--marquee-pink);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 61, 120, .35);
}
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------------------
   6. HERO (homepagina)
   --------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Eén doelbewuste, geregisseerde intro-animatie bij het laden van de pagina
   (in plaats van overal los fade-in-bij-scrollen, wat al snel druk oogt) */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__grid > * { animation: hero-in .85s cubic-bezier(.2, .7, .3, 1) both; }
.hero__grid > *:nth-child(2) { animation-delay: .12s; }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--spotlight), var(--marquee-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--paper-dim);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__portrait { position: relative; }

.spotlight-beam {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 200deg at 30% 25%, transparent 0deg, rgba(255, 197, 49, .28) 10deg, transparent 24deg);
  animation: zwaaien 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes zwaaien {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

.polaroid {
  position: relative;
  z-index: 0;
  background: var(--paper);
  padding: .25rem .25rem 1.5rem;
  border-radius: 6px;
  max-width: 360px;
  margin-inline: auto;
  transform: rotate(-3deg);
  box-shadow: 0 22px 45px rgba(255, 255, 255, .35);
}
.polaroid img {
  border-radius: 0px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.polaroid figcaption {
  font-family: var(--font-display);
  text-align: center;
  color: var(--noir);
  margin-top: .65rem;
  font-size: 1rem;
}

/* ---------------------------------------------------------------------
   7. MARQUEE-TICKER (lichtkrant zoals bij een theater)
   --------------------------------------------------------------------- */
.marquee {
  background: var(--marquee-pink);
  overflow: hidden;
  white-space: nowrap;
  padding-block: .65rem;
  border-block: 3px dashed rgba(21, 12, 31, .35);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  animation: schuiven 24s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--noir);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.marquee__track span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--spotlight);
}
@keyframes schuiven {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   8. SHOW-/TICKETLIJST (ticketstub-stijl)
   --------------------------------------------------------------------- */
.shows-list { display: grid; gap: 1.25rem; margin-top: 2rem; }

.ticket {
  display: grid;
  grid-template-columns: 110px 0 1fr auto;
  background: var(--curtain);
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

.ticket__date {
  background: var(--spotlight);
  color: var(--noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem .5rem;
  text-align: center;
}
.ticket__date .dag { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.ticket__date .maand { font-weight: 700; font-size: .95rem; }

.ticket__perforatie {
  position: relative;
  border-left: 3px dashed rgba(21, 12, 31, .3);
}
.ticket__perforatie::before,
.ticket__perforatie::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  background: var(--noir);
  border-radius: 50%;
  left: -9px;
}
.ticket__perforatie::before { top: -9px; }
.ticket__perforatie::after { bottom: -9px; }

.ticket__info { padding: 1.1rem 1.4rem; align-self: center; }
.ticket__info h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.ticket__meta {
  color: var(--paper-dim);
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.2rem;
  font-size: .95rem;
  margin: 0;
}

.ticket__side {
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: .55rem;
  border-left: 3px dashed rgba(255, 255, 255, .15);
}
.ticket__prijs { font-family: var(--font-display); font-size: 1.4rem; color: var(--spotlight); }

.status {
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status--beschikbaar { background: rgba(41, 224, 163, .18); color: var(--footlight-teal); }
.status--bijnavol { background: rgba(255, 197, 49, .18); color: var(--spotlight); }
.status--uitverkocht { background: rgba(255, 61, 120, .18); color: var(--marquee-pink); }

.lege-melding {
  padding: 2rem;
  text-align: center;
  background: var(--curtain);
  border-radius: var(--radius-s);
  color: var(--paper-dim);
}

/* Uitgelichte (grotere) variant voor de "eerstvolgende show" op de homepage */
.shows-list--featured .ticket { box-shadow: 0 18px 40px rgba(255, 197, 49, .18); }

/* ---------------------------------------------------------------------
   9. TEASER-STRIP (homepage, 3 blokken)
   --------------------------------------------------------------------- */
.teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.teaser {
  border-top: 3px solid var(--accent, var(--spotlight));
  padding-top: 1.25rem;
}
.teaser__link {
  font-weight: 700;
  color: var(--accent, var(--spotlight));
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.teaser__link:hover { border-color: currentColor; }

/* ---------------------------------------------------------------------
   10. INFO-PAGINA: tekst, citaat, galerij
   --------------------------------------------------------------------- */
.info__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.info__photo { position: sticky; top: 6.5rem; }

.pull-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  border-left: 4px solid var(--marquee-pink);
  padding-left: 1.5rem;
  margin: 2rem 0 .5rem;
}
.pull-quote + p { color: var(--paper-dim); font-size: .95rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.gallery__item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-s);
}

/* ---------------------------------------------------------------------
   11. TICKETS-PAGINA: stappen & prijskaarten
   --------------------------------------------------------------------- */
.stappen {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}
.stappen li { display: flex; gap: 1.25rem; align-items: flex-start; }
.stappen__nummer {
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--spotlight);
  color: var(--noir);
  font-family: var(--font-display);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stappen h3 { margin-bottom: .3rem; }
.stappen p { color: var(--paper-dim); margin: 0; }

.prijzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.prijs-kaart {
  background: var(--curtain);
  border-radius: var(--radius-m);
  padding: 1.75rem;
  border-top: 3px solid var(--marquee-pink);
}
.prijs-kaart__bedrag {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--spotlight);
  margin-bottom: .4rem;
}

/* ---------------------------------------------------------------------
   12. CONTACTPAGINA
   --------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-lijst {
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
}
.contact-lijst a { color: var(--spotlight); font-weight: 600; }
.contact-lijst a:hover { text-decoration: underline; }

.contact__social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.contact__social a {
  font-weight: 700;
  color: var(--marquee-pink);
}
.contact__social a:hover { text-decoration: underline; }

.contact-form {
  display: grid;
  gap: 1.25rem;
  background: var(--curtain);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-m);
}
.form-veld label { display: block; font-weight: 600; margin-bottom: .4rem; }
.form-veld input,
.form-veld textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, .12);
  background: var(--noir);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
}
.form-veld input:focus,
.form-veld textarea:focus { border-color: var(--spotlight); outline: none; }

.form-hint { font-size: .85rem; color: var(--paper-dim); margin: 0; }

.form-melding {
  background: rgba(41, 224, 163, .15);
  color: var(--footlight-teal);
  padding: .9rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin: 0;
}

/* ---------------------------------------------------------------------
   13. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--curtain);
  padding-block: 3rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__grid h3 { font-size: 1.05rem; color: var(--spotlight); margin-bottom: .85rem; }
.footer__links,
.footer__social { display: grid; gap: .6rem; }
.footer__links a:hover,
.footer__social a:hover { color: var(--spotlight); }
.footer__copyright {
  text-align: center;
  color: var(--paper-dim);
  font-size: .85rem;
  margin: 2.5rem 0 0;
}

/* ---------------------------------------------------------------------
   14. RESPONSIVE — TABLET (≤ 960px)
   --------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hamburger { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--curtain);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav-links.open { max-height: 22rem; }
  .nav-links li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a { display: block; padding: 1rem 1.5rem; }
  .nav-links a::after { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 320px; margin-inline: auto; }

  .info__grid { grid-template-columns: 1fr; }
  .info__photo { position: static; max-width: 320px; margin-inline: auto; }

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

  .teasers { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .prijzen-grid { grid-template-columns: 1fr; }

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

/* ---------------------------------------------------------------------
   15. RESPONSIVE — MOBIEL (≤ 600px)
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }

  .ticket {
    grid-template-columns: 84px 0 1fr;
    grid-template-areas:
      "date perf info"
      "side side side";
  }
  .ticket__date { grid-area: date; }
  .ticket__perforatie { grid-area: perf; }
  .ticket__info { grid-area: info; }
  .ticket__side {
    grid-area: side;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    border-top: 3px dashed rgba(255, 255, 255, .15);
  }

  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__social,
  .footer__links { justify-items: center; }
}
.lopende-tekst span {
display: inline-block;
animation: bewegen 12s linear infinite;
}