/* ==========================================================================
   Op Het Oog — gedeelde stylesheet
   Stijl gebaseerd op het logo (groen #13AB10 / magenta #B2007A) en het
   aangeleverde voorbeeldontwerp.

   LETTERTYPE: het logo is gezet in een geometrische sans-serif die sterk
   lijkt op Avenir/Futura. "Avenir Book" zelf is een betaald lettertype en
   kan niet als gratis webfont geladen worden. Daarom wordt hier "Jost"
   gebruikt — een vrij beschikbare Google Font die qua vorm (ronde O's,
   geometrische opbouw) het dichtst bij Avenir/Futura komt. Heb je een
   licentie voor het echte Avenir-lettertype? Dan kun je de @font-face
   hieronder vervangen door je eigen lettertypebestanden.
   ========================================================================== */

:root {
  --bg:        #FDFDFC;   /* header / witte vlakken */
  --bg-soft:   #F5F7F2;   /* hero-band + footer (lichtgroen/mint) */
  --bg-cta:    #FDF3F8;   /* roze call-to-action band */

  --green:     #13AB10;
  --green-line:rgba(19,171,16,0.35);
  --magenta:   #B2007A;
  --magenta-dark: #8C0060;

  --dark:      #2B2B29;
  --muted:     #5C5C58;
  --line:      rgba(19,171,16,0.22);
  --card:      #FFFFFF;
  --shadow:    0 20px 50px rgba(43,43,41,0.14);

  --header-height: 140px;
}

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

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.85;
}

a { color: inherit; }

/* ==========================================================================
   HEADER / NAVIGATIE
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-height);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7vw;
  box-shadow: none;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link .logo {
  height: 104px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover { color: var(--magenta); }
.nav-link.active {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 300px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 250;
}

.dropdown-link {
  display: block;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.dropdown-link:hover,
.dropdown-link.active {
  background: var(--bg-cta);
  color: var(--magenta);
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 2px;
}
.chevron {
  .dropdown-toggle[aria-expanded="true"] .chevron {
  transform: rotate(225deg);
}
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-category-title {
  margin-top: 3rem;
}
.faq-category-title:first-of-type {
  margin-top: 0;
}
.content-section details summary.section-head h3 {
  color: #5C5C58;
}


/* Hover-gedrag (desktop) */
@media (min-width: 851px) {
  .nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   MOBIEL: HAMBURGERMENU
   ========================================================================== */

@media (max-width: 850px) {
  .site-header { padding: 0 6vw; }

  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 6vw 40px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .main-nav.nav-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }

  .nav-link { padding: 18px 0; font-size: 1.1rem; border-bottom: none; }
  .nav-link.active { border-bottom: none; }

  .dropdown-toggle { display: flex; margin-left: auto; }

  .nav-item.has-dropdown { flex-wrap: wrap; }
  .nav-item.has-dropdown .nav-link { flex: 1; }
  .nav-item.has-dropdown > a,
  .nav-item.has-dropdown > button { display: flex; }

  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    background: var(--bg-cta);
    border-radius: 10px;
    padding: 6px;
    margin: 0 0 14px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.dropdown-open .dropdown { display: flex; }
  .nav-item.dropdown-open .chevron { transform: rotate(225deg); }
}

/* ==========================================================================
   PAGINA HERO (titel + intro)
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--bg-soft);
  padding: 76px 7vw 76px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark);
  opacity: 0;
  animation: fadeUp 0.9s 0.05s forwards;
}

.page-hero h1 .bracket {
  color: var(--magenta);
  font-weight: 300;
}

.page-intro {
  margin-top: 22px;
  max-width: 640px;
  font-size: 1.08rem;
  color: var(--green);
  font-weight: 400;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}

/* ==========================================================================
   PAGINA CONTENT / SECTIES
   ========================================================================== */

.page-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 7vw 96px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.content-section {
  opacity: 0;
  animation: fadeUp 0.9s forwards;
}
.content-section:nth-of-type(1) { animation-delay: 0.05s; }
.content-section:nth-of-type(2) { animation-delay: 0.12s; }
.content-section:nth-of-type(3) { animation-delay: 0.19s; }
.content-section:nth-of-type(4) { animation-delay: 0.26s; }
.content-section:nth-of-type(5) { animation-delay: 0.33s; }

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.content-section h2 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--magenta);
  line-height: 1.25;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.content-section h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.2rem; /* kleiner dan h2 */
  font-weight: 500;
  color: var(--magenta);
  line-height: 1.25;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.section-head .divider {
  flex: 1;
  height: 1px;
  background: var(--green-line);
  margin-left: auto;
}

/* FAQ chevron */
details summary {
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform .25s ease;
  margin: 0 10px;
  flex-shrink: 0;
}

details[open] .faq-chevron {
  transform: rotate(225deg);
}

details[open] .faq-chevron {
  transform: rotate(225deg);
}

.content-section p {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.content-section p + p { margin-top: 16px; }

.content-section ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  margin-top: 12px;
}

.content-section.with-image {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.content-section.with-image .image-placeholder { order: 2; }

.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px dashed var(--green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 20px;
}

.btn,
.submit-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--magenta);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 15px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn:hover,
.submit-btn:hover {
  background: var(--magenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(178,0,122,0.25);
}

/* ==========================================================================
   CTA BAND (bril-icoon + oproep tot actie)
   ========================================================================== */

.cta-band {
  background: var(--bg-cta);
  padding: 48px 7vw;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.cta-icon svg, .cta-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }

.cta-text {
  flex: 1;
  min-width: 240px;
}

.cta-text h2 {
  font-family: 'Jost', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--magenta);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cta-text p {
  font-size: 0.98rem;
  color: var(--muted);
  font-weight: 400;
}

.cta-band .btn { flex-shrink: 0; align-self: center; }

/* ==========================================================================
   CONTACTFORMULIER
   ========================================================================== */

.contact-section { position: relative; }

form { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green);
  margin-bottom: 9px;
}

input, textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder {
  color: rgba(92,92,88,0.5);
  font-style: italic;
}
input:focus, textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(178,0,122,0.1);
}

textarea { resize: vertical; min-height: 150px; }

.submit-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 16px 44px;
}

.form-success {
  display: none;
  padding: 38px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--magenta);
  font-family: 'Jost', sans-serif;
  font-size: 1.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-soft);
  padding: 26px 7vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer p {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}

.site-footer .dot {
  color: var(--green-line);
  margin: 0 10px;
}

/* ==========================================================================
   ANIMATIE / RESPONSIVE
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@media (max-width: 700px) {
  :root { --header-height: 112px; }
  .logo-link .logo { height: 76px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 6vw; }
  .page-content { padding: 40px 6vw 90px; gap: 56px; }
  .section-head { gap: 16px; }
  .content-section h2 { white-space: normal; }
  .content-section.with-image { grid-template-columns: 1fr; }
  .content-section.with-image .image-placeholder {
    order: -1;
    max-width: 220px;
    margin: 0 auto;
  }
  .cta-inner { justify-content: center; text-align: center; }
  .cta-band .btn { margin: 0 auto; }
}
