/* =============================================
   Stichting Wiebeltenen – Stylesheet
   ============================================= */

/* ---------- Reset & basis ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --kleur-blauw:    #0077b6;
  --kleur-lichtblauw: #e8f4fb;
  --kleur-donker:   #1a1a2e;
  --kleur-tekst:    #3d3d3d;
  --kleur-grijs:    #f7f8fa;
  --kleur-rand:     #e2e8f0;
  --max-breedte:    1080px;
  --radius:         8px;
  --schaduw:        0 2px 16px rgba(0,0,0,0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--kleur-tekst);
  background-color: #fff;
}

a {
  color: var(--kleur-blauw);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #005f92;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.5rem;
}

/* ---------- Header ---------- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid var(--kleur-rand);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: 64px;
  height: auto;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}

nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--kleur-donker);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li.actief a {
  color: var(--kleur-blauw);
  border-bottom-color: var(--kleur-blauw);
  text-decoration: none;
}

/* ---------- Hero banner ---------- */
.hero {
  background: linear-gradient(135deg, var(--kleur-blauw) 0%, #005f92 100%);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.92;
  color: #fff;
}

/* ---------- Hoofdinhoud ---------- */
main {
  max-width: var(--max-breedte);
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* ---------- Secties ---------- */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--kleur-rand);
}

section:last-child {
  border-bottom: none;
}

.sectie-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--kleur-blauw);
  margin-bottom: 0.75rem;
}

/* ---------- Koppen ---------- */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--kleur-donker);
  line-height: 1.25;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--kleur-donker);
  line-height: 1.3;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--kleur-donker);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Paragrafen ---------- */
p {
  margin-bottom: 1rem;
  max-width: 72ch;
}

.intro {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--kleur-donker);
  margin-bottom: 1.5rem;
  max-width: 72ch;
}

/* ---------- Kaarten (missie/visie) ---------- */
.kaart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.kaart {
  background: var(--kleur-grijs);
  border: 1px solid var(--kleur-rand);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--schaduw);
}

.kaart h3 {
  color: var(--kleur-blauw);
  margin-bottom: 0.75rem;
}

.kaart p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.kaart .lees-meer {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---------- Documenten ---------- */
.documenten {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.document-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--kleur-grijs);
  border: 1px solid var(--kleur-rand);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--kleur-donker);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.document-link:hover {
  border-color: var(--kleur-blauw);
  box-shadow: 0 2px 10px rgba(0,119,182,0.12);
  color: var(--kleur-blauw);
  text-decoration: none;
}

.document-link::before {
  content: "📄";
  font-size: 1.2rem;
}

/* ---------- Beleid-sectie grid ---------- */
.beleid-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 700px) {
  .beleid-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .beleid-project  { order: 1; }
  .beleid-downloads { order: 2; }
}

/* ---------- Project-blok ---------- */
.project-blok {
  background: var(--kleur-lichtblauw);
  border-left: 4px solid var(--kleur-blauw);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
  margin-top: 2rem;
}

.project-blok h3 {
  font-size: 1.1rem;
  color: var(--kleur-blauw);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.project-blok p {
  font-size: 0.95rem;
}

/* ---------- Bestuur & Contact ---------- */
.bestuur-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.bestuur-foto img {
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  width: 100%;
}

.bestuur-namen {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--kleur-tekst);
  margin-top: 0.75rem;
}

.contact-blok {
  background: var(--kleur-grijs);
  border: 1px solid var(--kleur-rand);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.contact-blok h3 {
  font-size: 0.75rem;
  color: var(--kleur-blauw);
  margin-bottom: 0.5rem;
}

.contact-blok p {
  font-size: 0.9rem;
  margin-bottom: 0;
  max-width: none;
}

/* ---------- Footer ---------- */
#footer {
  background-color: var(--kleur-donker);
  color: #aaa;
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

#footer a {
  color: #aaa;
}

#footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .kaart-grid,
  .bestuur-grid,
  .contact-blok {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  nav ul {
    gap: 1.25rem;
  }

  nav ul li a {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.75rem 1rem;
  }

  main {
    padding: 0 1rem 3rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
