/* ============================================================
ATUM WEBSITE — STYLE.CSS v2
Heerendispuut Atum — Luxe redesign
Kleurenpalet: Wit (#ffffff) + Diep navy (#0b1221)
Accent: goud (#c9a84c) | Hover navy: #162033
============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
scroll-behavior: smooth;
scroll-padding-top: 90px;
-webkit-font-smoothing: antialiased;
}

body {
font-family: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
font-size: 16px;
line-height: 1.65;
color: #ffffff;
background: #0b1221;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #ffffff; text-decoration: none; transition: color 0.2s; }
a:hover { color: rgba(255,255,255,0.7); }
h1, h2, h3, h4 { line-height: 1.2; color: #fff; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: rgba(201,168,76,0.25); color: #fff; }
:focus-visible { outline: 2px solid #c9a84c; outline-offset: 3px; }

/* === NAVIGATIE === */
.site-header {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
background: rgba(11,18,33,0.96);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(201,168,76,0.15);
transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.5); }

.nav-container {
max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
display: flex; align-items: center; justify-content: space-between;
height: 68px;
}

.nav-logo {
display: flex; align-items: center; gap: 0.6rem;
text-decoration: none; color: #fff; font-weight: 700; font-size: 1.1rem;
letter-spacing: 0.04em; text-transform: uppercase;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links a {
color: rgba(255,255,255,0.65); text-decoration: none;
padding: 0.45rem 0.85rem; font-size: 0.85rem; font-weight: 600;
letter-spacing: 0.06em; text-transform: uppercase;
transition: color 0.2s;
border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active { color: #fff; border-bottom-color: #ffffff; }

.nav-toggle {
display: none; background: none; border: none; cursor: pointer;
padding: 0.5rem; color: #fff;
/* Minimum touch target */
min-width: 44px; min-height: 44px;
display: none; align-items: center; justify-content: center;
}

.nav-toggle span {
display: block; width: 22px; height: 1.5px; background: #fff; margin: 5px 0;
transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* === HERO === */
.hero {
position: relative; min-height: 100vh;
display: flex; align-items: center; justify-content: center; text-align: center;
overflow: hidden;
}

.hero-bg {
position: absolute; inset: 0;
background-size: cover; background-position: center;
filter: brightness(0.28); z-index: 0;
}

.hero-content { position: relative; z-index: 1; padding: 2rem 1.5rem; max-width: 780px; }
.hero-logo { width: 140px; height: auto; margin: 0 auto 2rem; }

.hero h1 {
font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4rem);
font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
margin-bottom: 2rem;
}

.hero-cta {
display: inline-block;
background: transparent;
color: #ffffff;
border: 1px solid #ffffff;
padding: 0.7rem 2.2rem;
font-size: 0.85rem; font-weight: 700;
letter-spacing: 0.12em; text-transform: uppercase;
transition: background 0.25s, color 0.25s;
}

.hero-cta:hover { background: #ffffff; color: #0b1221; }

.scroll-indicator {
position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
z-index: 1; animation: bounce 2s infinite; color: rgba(255,255,255,0.35);
}

@keyframes bounce {
0%,100% { transform: translateX(-50%) translateY(0); }
50% { transform: translateX(-50%) translateY(8px); }
}

/* === SECTIES === */
.section { padding: clamp(3rem, 6vw, 6rem) 1.5rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-alt { background: #0f1a2e; }

.section-label {
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
text-transform: uppercase; color: #ffffff;
margin-bottom: 0.5rem; display: block;
}

.section-title {
font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
font-weight: 700; letter-spacing: 0.02em;
margin-bottom: 1.5rem;
border-left: 3px solid #ffffff;
padding-left: 0.85rem;
}

.section-title.centered {
border-left: none; padding-left: 0;
text-align: center;
display: flex; flex-direction: column; align-items: center;
}

.section-title.centered::after {
content: ''; display: block; width: 48px; height: 2px;
background: #ffffff; margin-top: 0.6rem;
}

.section-text { font-size: 1rem; color: #ffffff; line-height: 1.75; }

/* === ABOUT GRID === */
.about-grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
margin-top: 0.5rem;
}

.video-container {
position: relative; padding-bottom: 56.25%; height: 0;
overflow: hidden; background: #000;
}

.video-container iframe {
position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* === FOTO DIVIDER === */
.photo-divider {
height: clamp(220px, 30vw, 380px);
background-attachment: fixed; background-position: center;
background-repeat: no-repeat; background-size: cover;
}

@supports (-webkit-touch-callout: none) {
.photo-divider { background-attachment: scroll; }
}

/* === COUNTDOWN === */
.countdown-section { background: #0b1221; text-align: center; }
.borrel-nu {
font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
font-weight: 700; color: #ffffff;
letter-spacing: 0.04em; margin-top: 0.5rem;
}

.countdown-date-text {
font-size: 0.9rem; font-weight: 600; letter-spacing: 0.1em;
text-transform: uppercase; color: rgba(255,255,255,0.45);
margin-bottom: 1.75rem; margin-top: 0.25rem;
}

.countdown-grid {
display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
margin-top: 0.5rem;
}

.countdown-item {
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.1);
padding: 1.25rem 1.5rem; min-width: 100px; text-align: center;
}

.countdown-number {
font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
font-weight: 700; color: #fff; font-variant-numeric: tabular-nums;
}

.countdown-label {
font-size: 0.72rem; color: rgba(255,255,255,0.4);
text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.25rem;
}

/* === PHOTO CAROUSEL === */
.carousel-section { background: #060b14; padding: 0; }
.carousel-wrapper {
position: relative; width: 100%; overflow: hidden;
height: clamp(280px, 40vw, 520px);
}

.carousel-track {
display: flex; height: 100%;
transition: transform 0.8s cubic-bezier(0.77,0,0.18,1);
}

.carousel-slide {
flex: 0 0 100%; height: 100%;
background: #000;
overflow: hidden;
display: flex; align-items: center; justify-content: center;
}

.carousel-btn {
position: absolute; top: 50%; transform: translateY(-50%);
background: rgba(11,18,33,0.6); border: 1px solid rgba(201,168,76,0.3);
color: #fff; width: 42px; height: 42px;
display: flex; align-items: center; justify-content: center;
cursor: pointer; z-index: 5; transition: background 0.2s;
font-size: 1.1rem;
}

.carousel-btn:hover { background: rgba(201,168,76,0.3); }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }
.carousel-dots {
position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%);
display: flex; gap: 0.4rem; z-index: 5;
}

.carousel-dot {
width: 6px; height: 6px; background: rgba(255,255,255,0.35);
cursor: pointer; transition: background 0.2s;
}

.carousel-dot.active { background: #ffffff; }

/* === BUFFEL VAN DE MAAND === */
.buffel-card {
background: rgba(255,255,255,0.03);
border: 1px solid rgba(201,168,76,0.2);
padding: 2.5rem; text-align: center; max-width: 420px; margin: 1rem auto 0;
}

.buffel-name { font-size: 1.8rem; font-weight: 700; color: #ffffff; }
.buffel-month { font-size: 0.78rem; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.4rem; }

/* === CONTACT === */
.contact-info { margin-top: 1.5rem; }
.contact-info p { color: #ffffff; margin-bottom: 0.4rem; }
.contact-info a { color: #ffffff; font-weight: 600; }

/* === FOOTER === */
.site-footer {
background: #060b14; border-top: 1px solid rgba(255,255,255,0.06);
padding: 2rem 1.5rem; text-align: center;
color: rgba(255,255,255,0.3); font-size: 0.82rem; letter-spacing: 0.05em;
}

.site-footer a { color: rgba(255,255,255,0.4); }
.site-footer a:hover { color: #ffffff; }

/* === DIES AFTELLER === */
.dies-block {
margin-top: 2rem;
text-align: center;
}

.dies-title {
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
text-transform: uppercase; color: #ffffff;
margin-bottom: 0.3rem;
}

.dies-countdown {
font-size: 1.2rem; font-weight: 700;
color: #ffffff; letter-spacing: 0.06em;
font-variant-numeric: tabular-nums;
}

/* ============================================================
LICHTINGEN PAGINA
============================================================ */
.lichting-nav {
display: flex; flex-wrap: wrap; gap: 0.35rem;
justify-content: center; margin-bottom: 2.5rem;
}

.lichting-nav a {
display: inline-block; padding: 0.35rem 0.9rem;
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.1);
color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 600;
letter-spacing: 0.05em; text-transform: uppercase;
transition: all 0.2s;
}

.lichting-nav a:hover {
background: rgba(255,255,255,0.1); color: #fff; border-color: #ffffff;
}

.lichting-card {
background: rgba(255,255,255,0.025);
border: 1px solid rgba(255,255,255,0.07);
overflow: hidden; margin-bottom: 1.5rem;
transition: border-color 0.3s;
scroll-margin-top: 90px;
}

.lichting-card:hover { border-color: rgba(201,168,76,0.25); }
.lichting-card-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.lichting-card:nth-child(even) .lichting-card-inner { direction: rtl; }
.lichting-card:nth-child(even) .lichting-card-inner > * { direction: ltr; }

.lichting-card-image {
min-height: 260px; background-size: cover; background-position: center;
background-color: #0f1a2e; align-self: start; flex-shrink: 0;
aspect-ratio: 4 / 3;
}

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

.lichting-card-image.placeholder {
display: flex; align-items: center; justify-content: center;
color: rgba(255,255,255,0.08); font-size: 2rem; letter-spacing: 0.05em;
font-weight: 700; text-transform: uppercase;
}

.lichting-card-content { padding: 2rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.lichting-card-number {
font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
text-transform: uppercase; color: #ffffff; margin-bottom: 0.4rem;
}

.lichting-card-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.lichting-card-intro { color: #ffffff; line-height: 1.7; font-size: 0.95rem; }

.lichting-details {
display: none; margin-top: 1rem; padding-top: 1rem;
border-top: 1px solid rgba(255,255,255,0.07);
color: #ffffff; line-height: 1.75; font-size: 0.92rem;
}

.lichting-details.open { display: block; }
.lichting-details p + p { margin-top: 0.75rem; }

.lichting-toggle {
display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem;
background: none; border: none; color: #ffffff;
cursor: pointer; font-size: 0.8rem; font-weight: 700;
letter-spacing: 0.1em; text-transform: uppercase; padding: 0;
transition: color 0.2s;
}

.lichting-toggle:hover { color: rgba(255,255,255,0.7); }
.lichting-toggle .arrow { transition: transform 0.3s; font-size: 0.7rem; }
.lichting-toggle.active .arrow { transform: rotate(180deg); }

.lid-link {
color: #ffffff; border-bottom: 1px solid rgba(255,255,255,0.4);
cursor: pointer; transition: color 0.2s, border-color 0.2s;
}

.lid-link:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.7); }

/* ============================================================
PERSOОНSPAGINA
============================================================ */
.persoon-page {
min-height: 100vh; display: flex; flex-direction: column;
align-items: center; justify-content: center;
padding: 6rem 1.5rem 3rem;
text-align: center;
}

.persoon-nav-top {
position: fixed; top: 68px; left: 0; right: 0; z-index: 90;
background: rgba(11,18,33,0.95);
border-bottom: 1px solid rgba(255,255,255,0.07);
padding: 0.5rem 1.5rem;
display: flex; align-items: center; gap: 1rem;
}

.persoon-back {
display: inline-flex; align-items: center; gap: 0.4rem;
color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 700;
letter-spacing: 0.1em; text-transform: uppercase;
transition: color 0.2s;
}

.persoon-back:hover { color: #ffffff; opacity:0.7; }

.persoon-photo {
width: 260px; height: 260px;
object-fit: cover; object-position: center top;
border: 2px solid rgba(201,168,76,0.3);
display: block; margin: 0 auto 1.75rem;
}

.persoon-name {
font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
margin-bottom: 0.4rem;
}

.persoon-lichting {
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
text-transform: uppercase; color: #ffffff; margin-bottom: 1.25rem;
}

.persoon-bio { font-size: 1rem; color: #ffffff; max-width: 480px; line-height: 1.75; }

.persoon-arrows {
display: flex; gap: 1rem; margin-top: 2.5rem;
}

.persoon-arrow {
display: inline-flex; align-items: center; gap: 0.4rem;
background: none; border: 1px solid rgba(255,255,255,0.12);
color: rgba(255,255,255,0.5); padding: 0.5rem 1.2rem;
font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
cursor: pointer; transition: all 0.2s; text-decoration: none;
}

.persoon-arrow:hover { border-color: #ffffff; color: #ffffff; }

/* ============================================================
RADJE DRAAIEN
============================================================ */
.wheel-page {
text-align: center; min-height: calc(100vh - 68px);
display: flex; flex-direction: column; align-items: center; justify-content: center;
padding: 2rem 1.5rem;
}

.wheel-page h1 {
font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
margin-bottom: 0.5rem;
}

.wheel-subtitle {
color: rgba(255,255,255,0.45); margin-bottom: 2rem;
font-size: 0.95rem; letter-spacing: 0.02em;
}

.wheel-wrapper {
position: relative; width: 320px; height: 320px; margin: 0 auto 2rem;
}

.wheel-canvas { width: 320px; height: 320px; }
.wheel-pointer {
position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
width: 0; height: 0;
border-left: 12px solid transparent; border-right: 12px solid transparent;
border-top: 22px solid #ffffff; z-index: 5;
}

.spin-btn {
background: transparent; color: #ffffff;
border: 1px solid #ffffff;
padding: 0.75rem 2.5rem;
font-size: 0.85rem; font-weight: 700;
letter-spacing: 0.12em; text-transform: uppercase;
cursor: pointer; transition: background 0.2s, color 0.2s;
}

.spin-btn:hover { background: #ffffff; color: #0b1221; }
.spin-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.spin-result {
margin-top: 1.5rem; font-size: 1.6rem; font-weight: 700;
letter-spacing: 0.04em; min-height: 2.2rem; text-transform: uppercase;
}

.spin-result.bak { color: #e05252; }
.spin-result.geluk { color: #52c87a; }

/* ============================================================
LEADERBOARD
============================================================ */
.leaderboard-section {
width: 100%; max-width: 640px; margin: 3rem auto 0;
text-align: left;
}

.leaderboard-title {
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
text-transform: uppercase; color: #ffffff;
margin-bottom: 0.75rem; display: block;
border-left: 3px solid #ffffff; padding-left: 0.7rem;
}

.leaderboard-table {
width: 100%; border-collapse: collapse;
}

.leaderboard-table th {
font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
text-transform: uppercase; color: rgba(255,255,255,0.45);
padding: 0.3rem 0.6rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.leaderboard-table th:first-child { text-align: center; width: 2.5rem; }
.leaderboard-table th:last-child { text-align: right; }
.leaderboard-table td {
padding: 0.45rem 0.6rem; font-size: 0.9rem;
color: #ffffff; border-bottom: 1px solid rgba(255,255,255,0.05);
}

.leaderboard-table td:first-child {
text-align: center; color: rgba(255,255,255,0.35);
font-size: 0.78rem; font-weight: 700;
}

.leaderboard-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.leaderboard-table tr:first-child td { color: #ffffff; font-weight: 700; }
.leaderboard-table tr:hover td { background: rgba(255,255,255,0.03); }

/* ============================================================
REVIEWS PAGINA
============================================================ */
.reviews-page {
min-height: 100vh; padding: 7rem 1.5rem 4rem;
}

.reviews-page .section-inner { max-width: 600px; }
.review-form {
margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}

.review-form label {
font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
text-transform: uppercase; color: #ffffff;
display: block; margin-bottom: 0.3rem;
}

.review-form input, .review-form textarea {
width: 100%; background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.1); color: #fff;
padding: 0.75rem 1rem; font-size: 0.95rem;
font-family: inherit; transition: border-color 0.2s;
resize: vertical;
}

.review-form input:focus, .review-form textarea:focus {
outline: none; border-color: #c9a84c;
}

.star-row { display: flex; gap: 0.3rem; }
.star-btn {
background: none; border: none; cursor: pointer;
font-size: 1.8rem; color: rgba(255,255,255,0.2);
transition: color 0.15s; padding: 0.1rem;
line-height: 1;
}

.star-btn.lit { color: #c9a84c; }

.submit-btn {
background: transparent; color: #ffffff;
border: 1px solid #ffffff;
padding: 0.7rem 2rem; font-size: 0.85rem;
font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
cursor: pointer; transition: background 0.2s, color 0.2s; align-self: flex-start;
}

.submit-btn:hover { background: #ffffff; color: #0b1221; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.form-msg {
font-size: 0.9rem; margin-top: 0.5rem;
padding: 0.6rem 1rem; border-left: 3px solid #ffffff;
background: rgba(255,255,255,0.06); color: #ffffff;
display: none;
}

.form-msg.visible { display: block; }
.form-msg.error { border-color: #e05252; background: rgba(224,82,82,0.08); color: #e88; }

/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 768px) {

  /* ── NAVIGATIE MOBIEL ── */
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(11,18,33,0.99);
    flex-direction: column;
    /* Meer ademruimte rondom de links */
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open { display: flex; }

  /* Grotere touch targets: min 52px hoog, ruimere tekst */
  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;          /* was: 0.7rem 1rem */
    font-size: 0.95rem;            /* was: 0.9rem */
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left: none;             /* verwijder de desktop underline-stijl */
    min-height: 52px;              /* minimale raaktarget hoogte */
    line-height: 52px;             /* verticaal gecentreerd */
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Actieve/hover state duidelijker op touch */
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.06);
  }

  /* Verwijder de laatste border-bottom */
  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  /* ── OVERIGE RESPONSIVE ── */
  .about-grid { grid-template-columns: 1fr; }
  .lichting-card-inner { grid-template-columns: 1fr; }
  .lichting-card:nth-child(even) .lichting-card-inner { direction: ltr; }
  .lichting-card-image { min-height: 200px; }
  .photo-divider { background-attachment: scroll; }

  .countdown-item { min-width: 72px; padding: 1rem; }
  .countdown-number { font-size: 1.6rem; }

  .wheel-wrapper { width: 270px; height: 270px; }
  .wheel-canvas { width: 270px; height: 270px; }

  .persoon-photo { width: 200px; height: 200px; }
}

@media (max-width: 480px) {
  .countdown-grid { gap: 0.6rem; }
  .countdown-item { min-width: 60px; padding: 0.75rem 0.5rem; }
  .wheel-wrapper { width: 230px; height: 230px; }
  .wheel-canvas { width: 230px; height: 230px; }

  .nav-links a {
    font-size: 1rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* === UTILITIES === */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity:1; transform:none; transition:none; }
  .scroll-indicator { animation:none; }
}
