/* ============================================================
   DE KRUITJES — Gedeelde stijl
   Thema: Warm, organisch, fotografisch — zoals een fotoalbum
   Fonts: Playfair Display (display) + Lato (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&display=swap');

:root {
  --creme:       #FAF7F2;
  --creme-donker:#F0EBE1;
  --bruin:       #6B4F3A;
  --bruin-licht: #A07850;
  --bruin-donker:#3D2B1A;
  --goud:        #C8963E;
  --goud-licht:  #E8C87A;
  --groen:       #5A7A5A;
  --groen-licht: #8FAF8F;
  --tekst:       #2C1F14;
  --tekst-licht: #7A6050;
  --wit:         #FFFFFF;
  --rand:        #DDD0C0;
  --schaduw:     0 4px 24px rgba(60,35,15,0.10);
  --schaduw-groot: 0 12px 48px rgba(60,35,15,0.18);
  --radius:      12px;
  --nav-hoogte:  72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--tekst);
  background: var(--creme);
  min-height: 100vh;
  line-height: 1.7;
}

/* ── NAVIGATIE ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-hoogte);
  background: var(--bruin-donker);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.30);
}

/* ── E&R LOGO ──────────────────────────────────────────────── */
.er-logo {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.er-embleem {
  width: 44px; height: 44px;
  border: 2px solid var(--goud);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--goud);
  letter-spacing: 0.5px;
  transition: all 0.3s;
  background: transparent;
  flex-shrink: 0;
}
.er-embleem:hover,
.er-logo:hover .er-embleem {
  background: var(--goud);
  color: var(--bruin-donker);
}

.er-naam {
  font-family: 'Playfair Display', serif;
  color: var(--creme);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.3px;
}
.er-naam span { color: var(--goud-licht); font-style: normal; }

/* ── NAV LINKS ─────────────────────────────────────────────── */
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  color: rgba(250,247,242,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.actief {
  color: var(--goud-licht);
  background: rgba(200,150,62,0.12);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--creme); border-radius: 2px; transition: all 0.3s;
}

/* ── PAGINA RUIMTE ─────────────────────────────────────────── */
main { margin-top: var(--nav-hoogte); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bruin-donker);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.45;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(61,43,26,0.75) 0%,
    rgba(61,43,26,0.30) 60%,
    transparent 100%
  );
}

.hero-content {
  position: relative; z-index: 1;
  padding: 4rem 0;
}

.hero-content .overline {
  font-size: 0.78rem; font-weight: 700;
  color: var(--goud-licht);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--wit);
  margin-bottom: 1.5rem;
  font-weight: 900;
}
.hero-content h1 em {
  color: var(--goud-licht);
  font-style: italic;
}

.hero-content p {
  color: rgba(250,247,242,0.82);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-spreuk {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--goud-licht);
  font-size: 1rem;
  border-left: 3px solid var(--goud);
  padding-left: 1rem;
  margin-top: 2rem;
  max-width: 420px;
}

/* ── KNOPPEN ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
}
.btn-goud {
  background: var(--goud);
  color: var(--bruin-donker);
  box-shadow: 0 4px 20px rgba(200,150,62,0.35);
}
.btn-goud:hover {
  background: var(--goud-licht);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,150,62,0.50);
}
.btn-omrand {
  background: transparent;
  color: var(--creme);
  border: 2px solid rgba(250,247,242,0.50);
  margin-left: 0.75rem;
}
.btn-omrand:hover {
  border-color: var(--goud-licht);
  color: var(--goud-licht);
}

/* ── SECTIE TITELS ─────────────────────────────────────────── */
.sectie-titel {
  text-align: center;
  padding: 4rem 0 2rem;
}
.sectie-titel .overline {
  font-size: 0.75rem; font-weight: 700;
  color: var(--bruin-licht);
  letter-spacing: 3px; text-transform: uppercase;
  display: block; margin-bottom: 0.75rem;
}
.sectie-titel h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--bruin-donker);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.sectie-titel p {
  color: var(--tekst-licht);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}
.sectie-lijn {
  width: 48px; height: 3px;
  background: var(--goud);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── PAGINA HEADER ─────────────────────────────────────────── */
.pagina-header {
  background: var(--bruin-donker);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.pagina-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,150,62,0.15) 0%, transparent 60%);
}
.pagina-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--creme);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.pagina-header .overline {
  font-size: 0.75rem; font-weight: 700;
  color: var(--goud-licht); letter-spacing: 3px;
  text-transform: uppercase; display: block;
  margin-bottom: 0.75rem; position: relative; z-index: 1;
}
.pagina-header h1 {
  font-family: 'Playfair Display', serif;
  color: var(--wit);
  font-size: clamp(2rem, 4vw, 3.2rem);
  position: relative; z-index: 1;
}
.pagina-header p {
  color: rgba(250,247,242,0.72);
  margin-top: 0.75rem;
  font-weight: 300;
  position: relative; z-index: 1;
}

/* ── DIEREN PREVIEW KAART ──────────────────────────────────── */
.dier-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}
@media(max-width: 768px){ .dier-preview-grid { grid-template-columns: 1fr; } }

.dier-kaart {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--schaduw-groot);
  display: block;
}
.dier-kaart img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.dier-kaart:hover img { transform: scale(1.06); }

.dier-kaart-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,43,26,0.85) 0%, transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.3s;
}
.dier-kaart:hover .dier-kaart-overlay {
  background: linear-gradient(to top, rgba(61,43,26,0.92) 0%, rgba(61,43,26,0.15) 55%);
}

.dier-kaart-overlay h3 {
  font-family: 'Playfair Display', serif;
  color: var(--wit);
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}
.dier-kaart-overlay p {
  color: var(--goud-licht);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}
.dier-kaart:hover .dier-kaart-overlay p {
  opacity: 1; transform: translateY(0);
}
.dier-kaart-pijl {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(200,150,62,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
  opacity: 0; transform: scale(0.8);
  transition: all 0.3s;
}
.dier-kaart:hover .dier-kaart-pijl { opacity: 1; transform: scale(1); }

/* ── FOTO GRID GALLERIJ ────────────────────────────────────── */
.foto-masonry {
  columns: 3;
  column-gap: 1.25rem;
  padding: 2rem 0 4rem;
}
@media(max-width:900px){ .foto-masonry { columns: 2; } }
@media(max-width:550px){ .foto-masonry { columns: 1; } }

.foto-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--schaduw);
}
.foto-item img {
  width: 100%; display: block;
  transition: transform 0.4s ease;
}
.foto-item:hover img { transform: scale(1.04); }
.foto-item-overlay {
  position: absolute; inset: 0;
  background: rgba(61,43,26,0.0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.foto-item:hover .foto-item-overlay { background: rgba(61,43,26,0.30); }
.foto-item-overlay span {
  color: white; font-size: 2rem;
  opacity: 0; transform: scale(0.5);
  transition: all 0.3s;
}
.foto-item:hover .foto-item-overlay span { opacity: 1; transform: scale(1); }

.foto-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(61,43,26,0.80) 0%, transparent 100%);
  color: white;
  font-size: 0.82rem; padding: 1rem 0.85rem 0.7rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.foto-item:hover .foto-caption { transform: translateY(0); }

/* ── LIGHTBOX ──────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,12,6,0.95);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.60);
  object-fit: contain;
}
.lightbox-sluit {
  position: fixed; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: white; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-sluit:hover { background: rgba(200,150,62,0.50); }
.lightbox-caption {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.70);
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 0.95rem;
}
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: white; font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(200,150,62,0.50); }
.lightbox-nav.links  { left: 1.5rem; }
.lightbox-nav.rechts { right: 1.5rem; }

/* ── ENNY EN RENE PAGINA ───────────────────────────────────── */
.ons-fotos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 2rem auto 3rem;
}
@media(max-width:600px){ .ons-fotos-grid { grid-template-columns: 1fr; } }

.ons-foto-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--schaduw-groot);
  cursor: pointer;
  position: relative;
}
.ons-foto-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.ons-foto-item:hover img { transform: scale(1.04); }

.citaat-blok {
  background: var(--creme-donker);
  border-left: 4px solid var(--goud);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bruin);
  text-align: center;
}
.citaat-blok cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-style: normal;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--bruin-licht);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── INTRO TEKST ───────────────────────────────────────────── */
.intro-blok {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0 1rem;
}
.intro-blok p {
  color: var(--tekst-licht);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ── DIVERSEN GRID ─────────────────────────────────────────── */
.diversen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 2rem 0 4rem;
}
@media(max-width:768px){ .diversen-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .diversen-grid { grid-template-columns: 1fr; } }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--bruin-donker);
  color: rgba(250,247,242,0.65);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
}
.footer-logo-blok { display: flex; align-items: center; gap: 0.85rem; }
.footer-logo-blok .er-embleem { width: 38px; height: 38px; font-size: 0.65rem; }
.footer-logo-blok span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--creme);
  font-size: 1rem;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  list-style: none;
}
.footer-links a {
  color: rgba(250,247,242,0.60);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--goud-licht); }
.footer-bodem {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(250,247,242,0.35);
}

/* ── ANIMATIES ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in   { animation: fadeInUp 0.7s ease both; }
.fade-in-2 { animation: fadeInUp 0.7s 0.15s ease both; }
.fade-in-3 { animation: fadeInUp 0.7s 0.30s ease both; }
.fade-in-4 { animation: fadeInUp 0.7s 0.45s ease both; }

/* ── RESPONSIEF ────────────────────────────────────────────── */
@media(max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--nav-hoogte); left: 0; right: 0;
    background: var(--bruin-donker);
    flex-direction: column; align-items: stretch;
    padding: 1rem; gap: 0.25rem;
    transform: translateY(-120%);
    transition: transform 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 1rem; font-size: 0.9rem; }
  .hamburger { display: flex; }
  .er-naam { display: none; }
  .dier-preview-grid { gap: 1rem; }
}
