/* tafel11.nl - gedeelde basisstijlen (nav, knoppen, footer, meldingen).
   Pagina-specifieke stijlen staan in de <style> van elke pagina. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #ef7d00;
  --red-deep: #c86800;
  --red-warm: #ffd139;
  --cream: #FFF9F0;
  --cream-dark: #FFF3E0;
  --dark: #333c4e;
  --dark-soft: #2a3040;
  --mid: #737373;
  --border: #E5D9C8;
  --white: #FFFFFF;
  --radius: 6px;
  --brons: #B8702A;
  --zilver: #5A7A90;
  --goud: #C89010;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(51,60,78,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.2s;
}

.nav-links .nav-cta:hover { background: var(--red-warm); color: var(--dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px;
  margin: -10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.nav-toggle.open span:nth-child(2) { opacity: 0; }

.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: currentColor;
}

/* Op een donkere achtergrond */
.section-label.on-dark { color: var(--red-warm); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }

button.btn-primary, button.btn-secondary { font-family: inherit; cursor: pointer; }
button.btn-primary { border: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* Variant voor lichte achtergronden */
.btn-secondary.on-light { color: var(--dark); border-color: var(--border); }
.btn-secondary.on-light:hover { color: var(--dark); border-color: var(--dark); }

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1.5rem 2.5rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer p { margin: 0; }

footer strong { color: rgba(255,255,255,0.65); font-weight: 500; }

footer a { color: rgba(255,255,255,0.5); text-decoration: none; }

.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 0.75rem; }
.footer-brand span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.nav-brand img, .footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-legal { margin-top: 0.4rem; font-size: 0.78rem; color: rgba(255,255,255,0.4); }

.footer-social { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.14);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { color: var(--white); border-color: var(--red); background: rgba(239,125,0,0.18); }

.alert-warning {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: #fff8e6; border: 1px solid #e8c84a;
  border-left: 4px solid #c86800; border-radius: var(--radius);
  padding: 1rem 1.25rem; margin-bottom: 2.5rem; font-size: 0.94rem; color: var(--dark);
  line-height: 1.6;
}

.alert-warning svg { flex-shrink: 0; margin-top: 3px; color: #c86800; }

.alert-warning strong { color: #c86800; }

.walker-note {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--dark); color: var(--white);
  border-radius: var(--radius); padding: 1.6rem 1.85rem; margin-top: 2.75rem;
}

.walker-note .wn-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: var(--red-warm);
}

.walker-note h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }

.walker-note p { font-size: 0.95rem; color: rgba(255,255,255,0.82); line-height: 1.65; }

.lead { font-size: 1.12rem; color: var(--dark-soft); max-width: 680px; }

/* YouTube-embed (16:9) */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Statusregel onder een formulier (gevuld door site.js) */
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.2em; }
.form-status.ok { color: #2E7D46; font-weight: 500; }
.form-status.err { color: #C0392B; }

/* Lange menu's (nav.nav-long) klappen al in tot 1280px, anders passen de items niet */
@media (max-width: 1280px) {
    nav.nav-long { flex-wrap: wrap; }
    nav.nav-long .nav-toggle { display: flex; }
    nav.nav-long .nav-links {
      display: none;
      flex-direction: column;
      gap: 0;
      width: 100%;
      margin-top: 0.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    nav.nav-long .nav-links.open { display: flex; }
    nav.nav-long .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
    nav.nav-long .nav-links a {
      display: block;
      padding: 0.85rem 0;
      font-size: 0.9rem;
    }
    nav.nav-long .nav-links .nav-cta {
      margin: 0.75rem 0;
      display: inline-block;
      padding: 0.85rem 1.25rem;
    }
}

@media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
    .nav-toggle { display: flex; }
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 0;
      width: 100%;
      margin-top: 0.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
    .nav-links a {
      display: block;
      padding: 0.85rem 0;
      font-size: 0.9rem;
    }
    .nav-links .nav-cta {
      margin: 0.75rem 0;
      display: inline-block;
      padding: 0.85rem 1.25rem;
    }
}

/* ---------- Subpagina-kop (archief, borrel, privacy) ---------- */
.page-header {
  background: var(--dark);
  padding: 9rem 2.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; display: inline-block; padding: 0.7rem 0; margin: -0.7rem 0; }

.breadcrumb a:hover { color: rgba(255,255,255,0.75); }

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.page-header h1 em { font-style: italic; color: var(--red-warm); }

.header-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.header-stat { display: flex; flex-direction: column; gap: 0.15rem; }

.header-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

.header-stat-value {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.header-stat-value.highlight {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red-warm);
}

.page-header-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
}

@media (max-width: 900px) {
  .page-header { padding: 8rem 1.5rem 3.5rem; }
  .header-stats { gap: 1.5rem; }
}
