/* =========================================================
  Wedding Website – Inge & Thijs
  Rustige stijl met khaki als basis
  ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ── Design tokens ── */
:root {
  --terracotta:  #8a6f4d;
  --okergeel:    #c3b085;
  --donkerblauw: #3f4a35;
  --abrikoos:    #d8c8a9;
  --olijfgroen:  #6f7753;
  --creme:       #f4f1e8;
  --wit:         #FFFFFF;
  --zwart:       #2f2b22;
  --lijn:        rgba(47, 43, 34, 0.22);
  --lijn-dun:    rgba(47, 43, 34, 0.12);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Source Sans 3', Helvetica, sans-serif;

  --radius:  8px;
  --shadow:  0 6px 24px rgba(63, 74, 53, 0.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background:
    radial-gradient(circle at 20% 10%, rgba(195, 176, 133, 0.22), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(138, 111, 77, 0.14), transparent 35%),
    var(--creme);
  color: var(--zwart);
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--donkerblauw); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--donkerblauw);
  line-height: 1.25;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(63, 74, 53, 0.95);
  backdrop-filter: blur(6px);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  color: #efe8d5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: #f6f2e8;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: #d9caab; text-decoration: none; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--creme);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--donkerblauw);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
  }
}

/* =========================================================
   STROOKKAART DIVIDER  (scouting route strip-map style)
   ========================================================= */
.route-divider {
  display: none;
}
.route-divider svg { width: 100%; height: 40px; display: block; }

/* Thin double-line section borders à la strookkaart */
.strook-border {
  border-top: 1.5px solid var(--lijn);
  border-bottom: 1.5px solid var(--lijn-dun);
  padding-top: 3px;
  margin-bottom: 3px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #5d6644 0%, #4f5740 100%);
  padding: 80px 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ece0c5;
  margin-bottom: 0.5rem;
}

.hero-names {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 600;
  color: var(--wit);
  line-height: 1.1;
}

.hero-names em {
  color: #f3e7cc;
  font-style: italic;
}

.hero-ampersand {
  display: block;
  font-size: 0.55em;
  color: #dfcc9f;
  line-height: 1.3;
}

.hero-date {
  margin-top: 1rem;
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: #f8f5ed;
  letter-spacing: 0.12em;
}

.hero-location {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: #e3d5b6;
  letter-spacing: 0.08em;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* scroll arrow */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--okergeel);
  font-size: 1.5rem;
  line-height: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: var(--terracotta);
  color: var(--wit);
  border-color: var(--terracotta);
  box-shadow: 0 4px 16px rgba(138, 111, 77, 0.35);
}
.btn-primary:hover { background: #765b3b; border-color: #765b3b; }

.btn-outline {
  background: transparent;
  color: var(--wit);
  border-color: var(--wit);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-dark {
  background: var(--donkerblauw);
  color: var(--wit);
  border-color: var(--donkerblauw);
}
.btn-dark:hover { background: #162d4a; }

.btn-full { width: 100%; }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 3rem 1.5rem; }

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--donkerblauw);
  margin-bottom: 0.85rem;
}

.section-title em { color: var(--terracotta); font-style: italic; }

.section-intro {
  font-size: 1.14rem;
  color: #454136;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

/* =========================================================
   PROGRAMMA
   ========================================================= */
#programma { background: var(--creme); }

.programma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.programma-card {
  background: var(--wit);
  border: 1.5px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
}

/* Strookkaart accent: corner brackets */
.programma-card::before,
.programma-card::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--zwart);
  border-style: solid;
  opacity: 0.3;
}
.programma-card::before { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.programma-card::after  { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }

.programma-time {
  font-size: 2rem;
  font-family: var(--ff-display);
  color: var(--terracotta);
  font-weight: 700;
  line-height: 1;
}

.programma-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olijfgroen);
  font-weight: 600;
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
}

.programma-card h3 {
  font-size: 1.15rem;
  color: var(--donkerblauw);
  margin-bottom: 0.5rem;
}

.programma-card p {
  font-size: 1rem;
  color: #4f493d;
}

@media (max-width: 600px) {
  .programma-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   LOCATIE
   ========================================================= */
#locatie { background: #5a6243; color: var(--creme); }

#locatie .section-title { color: var(--okergeel); }
#locatie .section-eyebrow { color: var(--abrikoos); }
#locatie .section-intro { color: rgba(250,246,240,0.8); }

.locatie-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.locatie-info address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--creme);
}

.locatie-info address strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--okergeel);
  margin-bottom: 0.25rem;
}

.map-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 680px) {
  .locatie-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   DRESSCODE
   ========================================================= */
#dresscode { background: var(--abrikoos); }
#dresscode .section-title { color: var(--donkerblauw); }

.dresscode-tag {
  display: inline-block;
  background: var(--donkerblauw);
  color: var(--wit);
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-style: italic;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.dresscode-intro {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: #3f3a32;
  font-size: 1.05rem;
}

.dresscode-overzicht {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.dresscode-kaart {
  padding: 1.5rem;
  border: 1px solid rgba(36,59,83,0.14);
  border-radius: var(--radius);
  background: rgba(250,246,240,0.72);
  box-shadow: 0 8px 24px rgba(70,48,32,0.08);
}

.dresscode-wel { border-top: 4px solid var(--olijfgroen); }
.dresscode-niet { border-top: 4px solid var(--terracotta); }

.dresscode-kaart-kop {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.dresscode-status-icoon {
  display: grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--olijfgroen);
  color: var(--wit);
  font-size: 1.35rem;
  font-weight: 700;
}

.dresscode-niet .dresscode-status-icoon { background: var(--terracotta); }

.dresscode-bovenkop {
  display: block;
  color: var(--terracotta);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dresscode-wel .dresscode-bovenkop { color: var(--olijfgroen); }
.dresscode-kaart h3 { color: var(--donkerblauw); font-size: 1.25rem; }
.dresscode-kaart > p { color: #514a40; font-size: 0.94rem; }

.kleurpalet {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.kleurpalet-niet { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1rem; }

.kleurstaal { min-width: 0; text-align: center; }
.kleurstaal > span {
  display: block;
  aspect-ratio: 1;
  margin-bottom: 0.45rem;
  border: 3px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  background: var(--staal);
  box-shadow: 0 2px 8px rgba(40,30,22,0.18);
}

.kleurstaal strong {
  display: block;
  overflow-wrap: anywhere;
  color: #484138;
  font-size: 0.72rem;
}

.kleurpalet-niet .kleurstaal > span { position: relative; opacity: 0.72; }
.kleurpalet-niet .kleurstaal > span::after {
  content: '';
  position: absolute;
  inset: 48% -5px auto;
  height: 3px;
  border-radius: 3px;
  background: #9f3828;
  transform: rotate(-38deg);
}

.kledingopties {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.kledingopties > span {
  padding: 0.4rem 0.65rem;
  border-radius: 99px;
  background: rgba(103,113,76,0.12);
  color: #465034;
  font-size: 0.8rem;
  font-weight: 600;
}

.kledingopties > span span { color: var(--terracotta); }

.dresscode-kaart .dresscode-tip {
  margin-top: 1.25rem;
  padding: 0.8rem;
  border-radius: var(--radius);
  background: rgba(212,167,44,0.13);
  color: #4d4330;
}

@media (max-width: 720px) {
  .dresscode-overzicht { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .dresscode-kaart { padding: 1.15rem; }
  .kleurpalet { grid-template-columns: repeat(3, 1fr); }
  .kleurpalet-niet { grid-template-columns: repeat(2, 1fr); }
  .kleurstaal > span { max-width: 64px; margin-inline: auto; }
}

/* =========================================================
   OVERNACHTEN
   ========================================================= */
#overnachten { background: #67714c; color: var(--wit); }
#overnachten .section-title { color: var(--wit); }
#overnachten .section-eyebrow { color: var(--okergeel); }
#overnachten .section-intro { color: rgba(255,255,255,0.85); }

.overnacht-opties {
  max-width: 720px;
  margin: -0.5rem 0 1.5rem;
  padding-left: 1.4rem;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}

.overnacht-opties li + li { margin-top: 0.75rem; }

.overnacht-keuzes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: -0.25rem 0 1rem;
}

.overnacht-keuze {
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}

.overnacht-keuze-uitgelicht { background: rgba(255,255,255,0.11); }

.overnacht-keuze-kop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.overnacht-keuze-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--okergeel);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overnacht-keuze h3 { color: var(--wit); font-size: 1.35rem; }
.overnacht-keuze p { color: rgba(255,255,255,0.85); }
.overnacht-keuze ul { margin: 0.85rem 0; padding-left: 1.2rem; color: rgba(255,255,255,0.82); }
.overnacht-keuze li + li { margin-top: 0.35rem; }

.overnacht-capaciteit {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-size: 0.72rem;
}

.overnacht-keuze .overnacht-notitie {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.9rem;
}

.overnacht-voorwaarde {
  max-width: 720px;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--okergeel);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.overnacht-voorwaarde strong { color: var(--okergeel); }

.wikkelhouse-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--okergeel);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.wikkelhouse-beschikbaarheid {
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: calc(var(--radius) * 0.75);
  background: rgba(0,0,0,0.12);
}

.wikkelhouse-beschikbaarheid-kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wikkelhouse-teller-label {
  display: block;
  margin-bottom: 0.1rem;
  color: rgba(255,255,255,0.68);
  font-size: 0.72rem;
}

.wikkelhouse-teller-aantal { color: var(--wit); font-size: 1rem; }

.wikkelhouse-status {
  flex-shrink: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  background: rgba(255,255,255,0.14);
  color: var(--wit);
  font-size: 0.72rem;
  font-weight: 700;
}

.wikkelhouse-beschikbaarheid.is-beschikbaar .wikkelhouse-status { background: #dce7bf; color: #334020; }
.wikkelhouse-beschikbaarheid.is-bijna-vol .wikkelhouse-status { background: var(--okergeel); color: #403514; }
.wikkelhouse-beschikbaarheid.is-vol .wikkelhouse-status { background: #f0c2b7; color: #66281d; }

.wikkelhouse-voortgang {
  height: 7px;
  margin-top: 0.7rem;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,0.15);
}

.wikkelhouse-voortgang span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--okergeel);
  transition: width 0.4s ease;
}

.wikkelhouse-beschikbaarheid.is-vol .wikkelhouse-voortgang span { background: #e99b88; }

.overnacht-keuze .wikkelhouse-resterend {
  margin-top: 0.45rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .overnacht-keuzes { grid-template-columns: 1fr; }
  .overnacht-keuze-kop { display: block; }
  .overnacht-capaciteit { display: inline-block; margin-top: 0.45rem; }
}

.overnacht-items {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.overnacht-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--wit);
}
.overnacht-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
}

/* =========================================================
   CADEAU
   ========================================================= */
#cadeau { background: var(--creme); }

.cadeau-box {
  background: var(--wit);
  border: 1.5px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 600px;
}
.cadeau-icon { font-size: 3rem; flex-shrink: 0; }
.cadeau-box h3 { font-size: 1.2rem; color: var(--donkerblauw); margin-bottom: 0.4rem; }
.cadeau-box p  { font-size: 0.95rem; color: #555; }

@media (max-width: 500px) {
  .cadeau-box { flex-direction: column; text-align: center; }
}

/* =========================================================
   CEREMONIEMEESTERS
   ========================================================= */
#contact { background: var(--donkerblauw); }
#contact .section-title { color: var(--okergeel); }
#contact .section-eyebrow { color: var(--abrikoos); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.contact-card-initial {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--wit);
  font-family: var(--ff-display);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.contact-card h4 { color: var(--creme); font-size: 0.95rem; margin-bottom: 0.4rem; }
.contact-card a  {
  color: var(--okergeel);
  font-size: 0.88rem;
  font-weight: 500;
  display: block;
}
.contact-card a:hover { color: var(--abrikoos); }

@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   RSVP SECTION (homepage CTA)
   ========================================================= */
#rsvp-cta {
  background: linear-gradient(135deg, #7a6545 0%, #9d8a64 100%);
  text-align: center;
  padding: 5rem 1.5rem;
}

#rsvp-cta .section-title { color: var(--wit); }
#rsvp-cta .section-intro  { color: rgba(255,255,255,0.9); margin: 0 auto 2rem; }

.deadline-badge {
  display: inline-block;
  background: rgba(0,0,0,0.18);
  color: var(--wit);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
}

/* =========================================================
   RSVP FORM PAGE
   ========================================================= */
.rsvp-page {
  min-height: 100vh;
  background: var(--creme);
  padding-top: 56px;
}

.rsvp-hero {
  background: linear-gradient(180deg, #596247 0%, #4d5640 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.rsvp-hero h1 { color: var(--okergeel); font-size: clamp(1.8rem, 5vw, 3rem); }
.rsvp-hero p  { color: rgba(250,246,240,0.8); margin-top: 0.5rem; font-size: 0.95rem; }
.rsvp-hero p.rsvp-notice { color: #ff2a2a; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }

.rsvp-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.form-card {
  background: var(--wit);
  border: 1.5px solid var(--lijn);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

/* Strookkaart corner marks */
.form-card::before,
.form-card::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--zwart);
  border-style: solid;
  opacity: 0.2;
}
.form-card::before { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.form-card::after  { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--donkerblauw);
  margin-bottom: 0.4rem;
}
.form-group label .req { color: var(--terracotta); }

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--lijn);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  background: var(--creme);
  color: var(--zwart);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--donkerblauw);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.10);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E3A5F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-group label.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0;
}
.form-check input[type="checkbox"] {
  width: 20px; height: 20px;
  min-width: 20px;
  appearance: auto;
  accent-color: var(--donkerblauw);
  cursor: pointer;
  border-radius: 4px;
}

.form-hint {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.3rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.alert-error {
  background: #f8f2e8;
  border: 1px solid #a9804e;
  color: #5b4426;
}

.alert-success {
  background: #e7efde;
  border: 1px solid #7c9061;
  color: #324124;
}
.alert ul { padding-left: 1.2rem; margin: 0.4rem 0 0; }

.form-divider {
  border: none;
  border-top: 1.5px solid var(--lijn-dun);
  margin: 2rem 0;
}

/* =========================================================
   SUCCESS PAGE
   ========================================================= */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--creme);
  padding: 5rem 1.5rem;
  text-align: center;
}

.success-card {
  background: var(--wit);
  border: 1.5px solid var(--lijn);
  border-radius: var(--radius);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow);
  max-width: 520px;
  width: 100%;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.success-card h1 {
  font-size: 1.9rem;
  color: var(--donkerblauw);
  margin-bottom: 0.75rem;
}

.success-card p {
  color: #555;
  margin-bottom: 1.75rem;
}

/* =========================================================
   ADMIN
   ========================================================= */
.admin-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #596247 0%, #4f5740 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.admin-login-card {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.admin-login-card .logo-text {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--donkerblauw);
  margin-bottom: 0.25rem;
}

.admin-login-card h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #777;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--ff-body);
}

/* Dashboard */
.dashboard-page { padding-top: 56px; background: #efeadf; min-height: 100vh; }

.dashboard-topbar {
  background: #4b543d;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.dashboard-topbar .logo-text {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--okergeel);
  font-size: 1.1rem;
}

.dashboard-topbar a {
  font-size: 0.82rem;
  color: var(--creme);
  opacity: 0.75;
  font-weight: 500;
}
.dashboard-topbar a:hover { opacity: 1; }

.dashboard-inner {
  width: min(1600px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 2rem 0.75rem 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--terracotta);
}

.stat-card:nth-child(2) { border-top-color: var(--donkerblauw); }
.stat-card:nth-child(3) { border-top-color: var(--okergeel); }
.stat-card:nth-child(4) { border-top-color: var(--olijfgroen); }
.stat-card:nth-child(5) { border-top-color: var(--abrikoos); }

.stat-number {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--donkerblauw);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

.table-card {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--lijn-dun);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-card-header h2 {
  font-size: 1rem;
  color: var(--donkerblauw);
}

.table-wrap { overflow-x: visible; }

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.88rem;
}

thead th {
  background: #546044;
  color: #f7f3e8;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
}

tbody tr { border-bottom: 1px solid var(--lijn-dun); }
tbody tr:hover { background: rgba(30,58,95,0.04); }
tbody tr:hover { background: rgba(111, 119, 83, 0.08); }
tbody td {
  padding: 0.85rem 0.8rem;
  color: #333;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-dag    { background: rgba(212,168,67,0.18); color: #8a6100; }
.badge-feest  { background: rgba(30,58,95,0.12);   color: var(--donkerblauw); }
.badge-beide  { background: rgba(92,122,69,0.15);  color: #3a5028; }
.badge-ja     { background: rgba(92,122,69,0.15);  color: #3a5028; }
.badge-nee    { background: rgba(200,200,200,0.3); color: #777; }

.empty-state {
  padding: 4rem;
  text-align: center;
  color: #777061;
}
.empty-state p { font-size: 1rem; }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #383528;
  color: rgba(255,255,255,0.72);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

footer strong { color: rgba(255,255,255,0.8); }

.hero-media,
.section-photo {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 1.5rem 0 2rem;
}

.hero-media img,
.section-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-caption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: -1.2rem;
  position: relative;
  z-index: 2;
  padding: 0 0.75rem 0.6rem;
}

.forest-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.forest-gallery img {
  border-radius: var(--radius);
  min-height: 220px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.route-hints {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(56,53,40,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.route-hints h3 {
  margin-top: 0;
}

.route-hints-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.route-hint-card {
  background: rgba(250,246,240,0.9);
  border: 1px solid rgba(56,53,40,0.1);
  border-radius: calc(var(--radius) - 2px);
  padding: 1rem 1rem 1.1rem;
}

.route-hint-card h4 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.route-hint-card p {
  margin: 0;
  color: #5f5b50;
  line-height: 1.65;
}

.admin-flash-wrap {
  margin-bottom: 1rem;
}

.admin-control-card {
  background: var(--wit);
  border: 1px solid var(--lijn-dun);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.admin-control-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.admin-control-card p {
  color: #5f5b50;
  font-size: 0.9rem;
}

.admin-control-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.26rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-open {
  background: rgba(87, 126, 66, 0.18);
  color: #335223;
}

.status-closed {
  background: rgba(143, 81, 63, 0.16);
  color: #6a3224;
}

.admin-table-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.btn-sm {
  font-size: 0.72rem;
  padding: 0.45rem 0.6rem;
  letter-spacing: 0.05em;
}

.btn-danger {
  background: #8f513f;
  border-color: #8f513f;
  color: var(--wit);
}

.btn-danger:hover {
  background: #764234;
  border-color: #764234;
}

.btn-neutral {
  color: #3f4a35;
  border-color: #3f4a35;
  background: transparent;
}

.btn-neutral:hover {
  background: rgba(63, 74, 53, 0.08);
}

.admin-actions-inline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 1201px) and (max-width: 1560px) {
  .dashboard-inner {
    width: min(1450px, calc(100vw - 1rem));
    padding: 1.25rem 0.5rem 2.4rem;
  }

  .stats-grid {
    gap: 0.7rem;
    margin-bottom: 1.25rem;
  }

  .stat-card {
    padding: 1rem 0.9rem;
  }

  .stat-number {
    font-size: 1.95rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .table-card-header {
    padding: 0.9rem 1rem;
  }

  .table-card-header h2 {
    font-size: 0.95rem;
  }

  table {
    font-size: 0.82rem;
  }

  thead th {
    padding: 0.58rem 0.52rem;
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }

  tbody td {
    padding: 0.55rem 0.52rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .badge {
    font-size: 0.66rem;
    padding: 0.15rem 0.45rem;
  }

  .btn-sm {
    font-size: 0.66rem;
    padding: 0.38rem 0.44rem;
  }

  .admin-table-actions {
    gap: 0.35rem;
  }
}

@media (max-width: 1200px) {
  .dashboard-inner {
    width: 100%;
    padding: 1.4rem 0.7rem 3rem;
  }

  .table-card {
    overflow: visible;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    border: 1px solid var(--lijn-dun);
    border-radius: var(--radius);
    margin-bottom: 0.9rem;
    background: var(--wit);
    padding: 0.4rem 0;
  }

  tbody td {
    border-bottom: 1px dashed var(--lijn-dun);
    padding: 0.55rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
    text-align: right;
  }

  tbody td:last-child {
    border-bottom: none;
  }

  tbody td::before {
    content: attr(data-label);
    color: #5b6547;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    flex: 0 0 42%;
  }

  .admin-actions-cell {
    display: block;
    text-align: left;
  }

  .admin-actions-cell::before {
    display: block;
    margin-bottom: 0.35rem;
  }

  .admin-table-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .admin-control-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .forest-gallery {
    grid-template-columns: 1fr;
  }

  .route-hints-grid {
    grid-template-columns: 1fr;
  }

  .admin-actions-inline {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }

/* Animated entrance */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
}
