:root {
  --bg: #0b2545; /* diep blauw voor rust en contrast */
  --bg-alt: #163d6b; /* iets lichter blauw voor secties */
  --primary: #f2c14e; /* warme goudtint, retro/vintage */
  --accent: #e76f51; /* koraal voor CTA */
  --text: #f4f7fb; /* bijna wit voor goede leesbaarheid */
  --muted: #c7d3e0;
  --card: #102e56;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: #091b35;
  line-height: 1.6;
}

/* Zorg dat de body minimaal de viewport vult om witte ondergrond te voorkomen */
body {
  min-height: 100vh;
}

/* Full-page background image with subtle overlay for readability */
body {
  background-image: url('/dansendemensen.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay bovenop de foto voor leesbaarheid */
/* Verwijder overlay-div; gebruik vaste gradient in hero en body achtergrond als basis */

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Extra ruimte tussen laatste content en footer */
#app {
  padding-bottom: 1.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 64vh;
  display: grid;
  place-items: center;
  background: radial-gradient(
      1200px 500px at 20% 20%,
      rgba(242, 193, 78, 0.12),
      transparent
    ),
    radial-gradient(900px 400px at 80% 0%, rgba(231, 111, 81, 0.1), transparent);
  overflow: hidden;
}
.hero::after {
  content: none;
}
.hero__divider {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" opacity="0.05"><defs><radialGradient id="g" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff"/><stop offset="100%" stop-color="%23000000"/></radialGradient></defs><circle cx="120" cy="120" r="220" fill="url(%23g)"/><circle cx="520" cy="-20" r="220" fill="url(%23g)"/></svg>')
    center/cover no-repeat;
  pointer-events: none;
}

.hero__content {
  text-align: center;
  padding: 5rem 0 5rem;
  position: relative;
  z-index: 1;
}
.hero__panel {
  display: inline-block;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(7, 26, 51, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px) saturate(1.05);
}
.hero__panel .hero__title {
  margin-top: 0.25rem;
}
.hero__panel .hero__subtitle {
  margin-bottom: 0.5rem;
}
.badge {
  display: inline-block;
  background: rgba(242, 193, 78, 0.15);
  color: var(--primary);
  border: 1px solid rgba(242, 193, 78, 0.35);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
  /* plaats badge iets omhoog en ruimte onder de badge */
  margin-top: -0.5rem;
  margin-bottom: 0.9rem;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.8vw, 4rem);
  margin: 0.75rem 0 0.25rem;
}
.hero__subtitle {
  color: var(--muted);
  margin: 0.25rem 0 1rem;
}
.hero__meta {
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.meta__date {
  color: var(--primary);
  font-weight: 700;
}
.meta__dot {
  opacity: 0.5;
}

.cta {
  display: inline-block;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--accent), #ff8a62);
  color: white;
  text-decoration: none;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero .cta {
  margin: 1rem 0;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

/* Info */
.info {
  margin: -24px 0 0;
}

/* Fine-tune overlap per breakpoint for perfecte aansluiting op alle schermen */
@media (max-width: 420px) {
  .info {
    margin-top: -20px;
  }
}
@media (min-width: 421px) and (max-width: 900px) {
  .info {
    margin-top: -24px;
  }
}
@media (min-width: 1200px) {
  .info {
    margin-top: -32px;
  }
}
.info__card {
  background: linear-gradient(
    180deg,
    rgba(16, 46, 86, 0.92),
    rgba(11, 43, 80, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

/* Section heading style for stronger visual hierarchy */
.info h2 {
  font-size: 1.4rem;
  letter-spacing: 0.2px;
}
.info__card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}
.info__grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.info__card,
.card,
.org__content {
  opacity: 1 !important;
  transform: none !important;
}
.card {
  background: #0c2f57;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem 1rem;
  backdrop-filter: blur(2px) saturate(1.1);
  background-color: rgba(12, 47, 87, 0.9);
}
.card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
}

/* Tickets */
.tickets {
  margin: 2.5rem 0;
}
.tickets h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}
.tickets__note {
  color: var(--muted);
  margin-top: 0;
}
.tickets__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.cta--secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(242, 193, 78, 0.45);
}
.tickets__frame {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.tickets__frame iframe {
  display: block;
}
.tickets__fallback {
  background: #0c2f57;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
}
.tickets__fallback p {
  margin: 0.5rem 0;
}

/* Organisatie */
.org {
  margin: 2.5rem 0 4rem;
}
.org__content {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  background: #0b2a4e;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.org__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0 2rem;
  background: #071a33;
}
.container > :last-child {
  margin-bottom: 0 !important;
}
.footer__content {
  text-align: center;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .info__grid {
    grid-template-columns: 1fr;
  }
  .org__content {
    grid-template-columns: 72px 1fr;
  }
  .org__logo {
    width: 72px;
    height: 72px;
  }
}

/* Sticky CTA (mobiel/tablet) */
.cta-sticky {
  position: fixed;
  left: 50%;
  top: calc(14px + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  z-index: 50;
  display: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0.98;
}
.is-hidden {
  display: none !important;
}
@media (max-width: 480px) {
  .cta-sticky {
    display: inline-block;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  .cta-sticky {
    display: inline-block;
    padding: 1rem 1.6rem;
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .cta {
    padding: 1.1rem 1.6rem;
    font-size: 1.05rem;
  }
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  background: linear-gradient(135deg, var(--primary), #ffd700);
  color: #0b2545;
  border: none;
  border-radius: 50px;
  padding: 2rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(242, 193, 78, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 280px;
  min-height: 80px;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(242, 193, 78, 0.5);
}

.fab__text {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.fab__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
}

.modal.is-open {
  display: flex;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #000;
  color: #000;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1000;
  font-weight: bold;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal__video-container {
  width: 100%;
  max-width: 800px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.modal__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Responsive FAB */
@media (max-width: 768px) {
  .fab {
    bottom: 5rem; /* Verhoogd van 1rem naar 5rem om overlap met sticky CTA te voorkomen */
    right: 1rem;
    padding: 1.5rem 1.2rem;
    font-size: 0.85rem;
    max-width: 240px;
    min-height: 70px;
  }

  .fab__text {
    display: block;
  }

  .fab__icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .fab {
    bottom: 4.5rem; /* Verhoogd van 1rem naar 4.5rem voor kleinere schermen */
    right: 1rem;
    padding: 1.2rem 1rem;
    width: auto;
    min-height: 60px;
    border-radius: 50px;
    max-width: 200px;
  }

  .fab__text {
    font-size: 0.8rem;
  }

  .modal__content {
    padding: 1rem;
    max-width: 95vw;
  }
}

/* Accordion */
.accordion {
  margin: 1.5rem 0;
}

.accordion__item {
  background: linear-gradient(
    180deg,
    rgba(16, 46, 86, 0.92),
    rgba(11, 43, 80, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  backdrop-filter: blur(2px) saturate(1.1);
}

.accordion__item:last-child {
  margin-bottom: 0;
}

.accordion__header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.accordion__header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion__header:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.accordion__title {
  flex: 1;
  margin-right: 1rem;
}

.accordion__icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.accordion__item--open .accordion__content {
  max-height: 500px; /* Verhoogd van 200px naar 500px voor langere content */
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
}

.accordion__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsive accordion */
@media (max-width: 768px) {
  .accordion__header {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .accordion__content {
    padding: 0 1.25rem;
  }

  .accordion__item--open .accordion__content {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
  }
}
