/* =========================================================
   Heemkundevereniging Klimmen — stijl
   Warm, natuurlijk en uitnodigend. Palet uit het dorpswapen
   en de natuur: warm ivoor, honinggoud, salie- en dennengroen,
   en een warme terracotta-toets (de rode leeuw). Ouderenvriendelijk:
   grote leesbare tekst, hoog contrast, veel witruimte.
   ========================================================= */

:root {
  --ivoor:        #fbf5e7;  /* warme, zachte achtergrond */
  --ivoor-diep:   #f2e6cd;  /* getinte secties */
  --wit:          #fffcf4;
  --honing:       #c68f33;  /* warm honinggoud — hoofdaccent */
  --honing-zacht: #e6c877;
  --salie:        #5f7d99;  /* proef-thema Duifblauw: duifblauw accent */
  --pine:         #3b5540;  /* proef-thema Duifblauw: dennengroen (nav/contact/footer/koppen) */
  --terracotta:   #4f6f8a;  /* proef-thema Duifblauw: duifblauwe link-toets */
  --inkt:         #352a1d;  /* warm donkerbruin voor tekst */
  --inkt-zacht:   #6f6049;

  --titel-font: "Lucida Calligraphy", "Tangerine", "Cormorant Garamond", cursive;
  --serif-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tekst-font: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --maxbreedte: 1240px;
  --radius: 8px;
  --schaduw: 0 10px 34px rgba(53, 42, 29, 0.12);
  --hairline: rgba(198, 143, 51, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--tekst-font);
  font-size: 20px;          /* grotere lopende tekst (ouderenvriendelijk) */
  line-height: 1.78;
  color: var(--inkt);
  background: var(--ivoor);
}

:target { scroll-margin-top: 84px; }

.wrap {
  max-width: var(--maxbreedte);
  margin: 0 auto;
  padding: 0 28px;
}
/* De secties gebruiken de volle breedte (geen smalle middenkolom) */
.wrap--smal { max-width: var(--maxbreedte); }

a { color: var(--terracotta); }

/* =========================================================
   CONTACTBALK BOVENAAN (e-mail + adres, meteen zichtbaar)
   ========================================================= */
.topbar { background: var(--pine); color: var(--ivoor); }
.topbar__inner {
  max-width: var(--maxbreedte);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  font-size: 1.1rem;
  text-align: center;
}
.topbar a { color: var(--honing-zacht); font-weight: bold; text-decoration: none; }
.topbar a:hover, .topbar a:focus { text-decoration: underline; }
.topbar__scheider { color: rgba(255, 252, 244, 0.5); }
.topbar__adres em { font-style: italic; color: rgba(255, 252, 244, 0.82); }

/* =========================================================
   HEADER
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(135% 105% at 50% 0%, var(--wit) 0%, var(--ivoor) 56%, var(--ivoor-diep) 100%);
  overflow: hidden;
  padding: 40px 0 0;
}

.hero__top {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo's zijn transparant uitgesneden — het ivoor schijnt erdoorheen */
.hero__logo {
  height: 150px;
  width: auto;
  flex: 0 0 auto;
}
.hero__logo--right { height: 132px; }

.hero__titles { text-align: center; flex: 1 1 auto; }

.hero__title {
  font-family: var(--titel-font);
  font-weight: 700;
  color: var(--pine);
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  line-height: 1.06;
  margin: 0;
}

.hero__subtitle {
  font-family: var(--serif-font);
  font-style: italic;
  color: var(--honing);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  letter-spacing: 2px;
  margin: 10px 0 0;
}

/* Breed silhouet op volle breedte; zijkanten vervagen in hoogte én kleur,
   onderkant sluit vlak aan op de menubalk */
.hero__silhouet {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 10px 0 0;
  pointer-events: none;
}

/* Header met foto: vaste maximale breedte + container-schaling (cqw), zodat de
   onderlinge verhoudingen van titel/foto/logo's op elke laptop/Mac gelijk blijven.
   De ruimte tot de schermranden is de flexibele marge. */
.hero--foto { padding: 0; overflow: visible; }
.hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 24px;
  container-type: inline-size;
}
.hero--foto .hero__titles { text-align: center; position: relative; z-index: 3; }
.hero--foto .hero__title { font-size: clamp(1.9rem, 4.8cqw, 3.6rem); line-height: 1.05; }
.hero--foto .hero__subtitle { font-size: clamp(1.05rem, 2.5cqw, 1.9rem); margin-top: 6px; }
.hero__foto {
  display: block;
  width: 42cqw;
  max-width: 600px;
  height: auto;
  margin: 2.4cqw auto 0;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}
.hero--foto .hero__logo {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: auto;
  pointer-events: none;
}
.hero--foto .hero__logo--left  { left: 14.5%;  transform: translate(-50%, -50%); height: 31cqw; }
.hero--foto .hero__logo--right { right: 14.5%; transform: translate(50%, -50%);  height: 28cqw; }

/* Telefoon: gestapeld, goed leesbaar en toch netjes (geen overlap) */
@media (max-width: 680px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px 18px;
    padding: 22px 18px;
  }
  .hero--foto .hero__titles { grid-column: 1 / -1; }
  .hero--foto .hero__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero--foto .hero__subtitle { font-size: clamp(1rem, 4vw, 1.3rem); margin-top: 4px; }
  .hero__foto {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 6px 0;
  }
  .hero--foto .hero__logo {
    position: static;
    transform: none;
    height: auto;
    width: 64%;
    max-width: 150px;
  }
  .hero--foto .hero__logo--left  { grid-column: 1; justify-self: end; }
  .hero--foto .hero__logo--right { grid-column: 2; justify-self: start; }
}

/* ---- VARIANT (proef): logo's groot naast de kerk, titel groter ---- */
.hero--logos-naast { padding-top: 30px; }
.hero--logos-naast .hero__titles {
  position: relative;
  z-index: 3;
  text-align: center;
}
.hero--logos-naast .hero__title { font-size: clamp(3rem, 7vw, 6rem); }
.hero--logos-naast .hero__subtitle { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin-top: 6px; }
.hero--logos-naast .hero__logo {
  position: absolute;
  bottom: 16%;
  z-index: 2;
  width: auto;
  pointer-events: none;
}
.hero--logos-naast .hero__logo--left  { left: 9%;  height: clamp(180px, 26vw, 360px); }
.hero--logos-naast .hero__logo--right { right: 9%; height: clamp(165px, 24vw, 330px); }
.hero--logos-naast .hero__silhouet { margin-top: -20px; }

/* =========================================================
   NAVIGATIE
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--pine);
}
.nav__list {
  max-width: var(--maxbreedte);
  margin: 0 auto;
  padding: 0 12px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}
.nav__list a {
  display: block;
  padding: 16px 22px;
  color: rgba(255, 252, 244, 0.92);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.4px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__list a:hover,
.nav__list a:focus {
  color: var(--wit);
  border-bottom-color: var(--honing-zacht);
}

/* =========================================================
   SECTIES
   ========================================================= */
.section { padding: 64px 0; }
.section--tint { background: var(--ivoor-diep); }
.section--intro { padding-top: 52px; }

/* Dunne, zachte horizontale scheidingslijn tussen de blokken (uiteinden vervagen) */
.scheiding {
  height: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(to right,
    transparent 0%, var(--hairline) 20%, var(--hairline) 80%, transparent 100%);
}

.section__title {
  font-family: var(--titel-font);
  font-weight: 700;
  color: var(--pine);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 26px;
}
.section__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 16px;
  background: var(--honing);
  border-radius: 2px;
}

.section__intro { color: var(--inkt-zacht); margin: -8px 0 0; }

.lead {
  font-family: var(--serif-font);
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--inkt);
}
.lead em { color: var(--terracotta); font-style: italic; }

p { margin: 0 0 20px; }

/* Activiteiten — natuurlijke lijst met salie-groene stip */
.activiteiten { padding: 0; margin: 10px 0 0; list-style: none; }
.activiteiten li {
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.activiteiten li:last-child { border-bottom: none; }
.activiteiten li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 27px;
  width: 9px;
  height: 9px;
  background: var(--salie);
  border-radius: 50%;
}
.activiteiten span { font-weight: bold; color: var(--pine); }

/* =========================================================
   FOTOGALERIJ — twee grote foto's naast elkaar
   ========================================================= */
.galerij {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin-top: 34px;
}

.foto-kaart {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--wit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.foto-kaart:hover,
.foto-kaart:focus {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(53, 42, 29, 0.2);
}
.foto-kaart__beeld {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: var(--ivoor-diep);
}
.foto-kaart__bijschrift {
  padding: 18px 22px 22px;
  font-family: var(--serif-font);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--pine);
}

/* =========================================================
   BESTUUR — elegante namenlijst (geen blokjes)
   ========================================================= */
.bestuur {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  max-width: 720px;
}
.bestuur__lid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.bestuur__lid:last-child { border-bottom: none; }
.bestuur__functie {
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--honing);
}
.bestuur__naam {
  font-family: var(--serif-font);
  font-size: 1.6rem;
  color: var(--inkt);
}

/* =========================================================
   CONTACT — eenvoudig en warm
   ========================================================= */
.section--contact { background: var(--pine); color: var(--ivoor); }
.section--contact .section__title { color: var(--wit); }
.contact__intro { color: rgba(251, 245, 231, 0.9); font-size: 1.15rem; max-width: 560px; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin-top: 6px;
}
.contact__veld {
  width: 100%;
  font-family: var(--tekst-font);
  font-size: 1.05rem;
  color: var(--inkt);
  background: var(--wit);
  border: 1px solid rgba(255, 252, 244, 0.25);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.contact__veld::placeholder { color: #9a9078; }
.contact__veld:focus {
  outline: none;
  border-color: var(--honing);
  box-shadow: 0 0 0 3px rgba(198, 143, 51, 0.4);
}
.contact__tekst { resize: vertical; min-height: 140px; line-height: 1.6; }

.contact__knop {
  align-self: flex-start;
  font-family: var(--tekst-font);
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  color: var(--inkt);
  background: var(--honing);
  border: none;
  border-radius: var(--radius);
  padding: 14px 30px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.contact__knop:hover,
.contact__knop:focus { background: var(--honing-zacht); transform: translateY(-2px); }

.contact__mailregel { margin-top: 26px; color: rgba(251, 245, 231, 0.85); }
.contact__mailregel a { color: var(--honing-zacht); font-weight: bold; }

/* =========================================================
   FOOTER (dennengroen, enkel copyright — direct onder Contact)
   ========================================================= */
.footer {
  background: var(--pine);
  color: rgba(251, 245, 231, 0.78);
  text-align: center;
  padding: 22px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255, 252, 244, 0.14);
}
.footer p { margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
  .hero__top { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .hero__titles { order: -1; flex-basis: 100%; }
  .hero__logo { height: 104px; }
  .hero__logo--right { height: 92px; }
  .nav__list a { padding: 13px 15px; }
  .section { padding: 58px 0; }
  .galerij { grid-template-columns: 1fr; gap: 26px; }
  .bestuur__lid { flex-direction: column; align-items: flex-start; gap: 2px; }
  .bestuur__naam { font-size: 1.4rem; }
  .lead { font-size: 1.3rem; }
}
