/* =====================================================
   Hulshof Binnengroen — Gedeelde stijlen voor publieke pagina's
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green-dark:  #0F4E20;
    --green-mid:   #1a5c2e;
    --green-light: #2a7a3f;
    --white:       #ffffff;
    --off-white:   #f5f7f5;
    --text-dark:   #1a2b1a;
    --text-mid:    #3a4a3a;
    --nav-height:  68px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 40, 15, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: var(--nav-height);
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.site-nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.site-nav__brand img {
    height: 44px;
    width: auto;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.site-nav__links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.02em;
}
.site-nav__links a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.site-nav__links a.active {
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 700;
}

/* ── Diensten dropdown ── */
.has-dropdown { position: relative; }

.has-dropdown > button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.8);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.has-dropdown > button:hover,
.has-dropdown > button.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.has-dropdown > button.active { background: rgba(255,255,255,0.18); font-weight: 700; }
.has-dropdown > button .dd-chevron {
    width: 10px; height: 10px;
    fill: none; stroke: currentColor; stroke-width: 2.2;
    transition: transform 0.2s;
    flex-shrink: 0;
    display: block;
}
.has-dropdown:hover > button .dd-chevron,
.has-dropdown.open > button .dd-chevron { transform: rotate(180deg); }

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: -8px;
    min-width: 230px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    padding: 6px 0;
    z-index: 500;
    list-style: none;
}
.has-dropdown.open .nav-dropdown { display: block; }

.nav-dropdown li a {
    display: block;
    color: #1a2e1a;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 0;
    text-decoration: none;
    letter-spacing: 0;
    transition: background 0.15s, color 0.15s;
    background: none;
}
.nav-dropdown li a:hover { background: #f0f7f0; color: #0F4E20; }
.nav-dropdown li a.active { color: #0F4E20; font-weight: 700; background: #e8f5eb; }
.nav-dropdown .dropdown-sep {
    height: 1px;
    background: #e5ede5;
    margin: 5px 0;
}

.site-nav__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Belknop */
.btn-call {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25a244;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}
.btn-call:hover { background: #1e8a38; transform: translateY(-1px); }
.btn-call svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Inloggen */
.btn-login-nav {
    color: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.04em;
}
.btn-login-nav:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.8);
}

/* Hamburger (mobiel) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ─────────────────────────────────────────
   PAGINA-OFFSET (voor vaste navbar)
───────────────────────────────────────── */
.page-content {
    padding-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
}

/* ─────────────────────────────────────────
   SECTIE-BASISSTIJLEN
───────────────────────────────────────── */
.section {
    padding: 80px 24px;
}
.section-inner {
    max-width: 980px;
    margin: 0 auto;
}
.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #25a244;
    margin-bottom: 10px;
}
.section h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 900;
    color: var(--green-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}
.section p {
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 720px;
}

/* CMS-inhoud: lijsten (CKEditor output) correct inspringen */
.section ul, .section ol,
.dienst-section-tekst ul, .dienst-section-tekst ol,
.hero-why-text ul, .hero-why-text ol,
.hero-sub ul, .hero-sub ol,
.voordelen-tekst ul, .voordelen-tekst ol,
.over-ons-text ul, .over-ons-text ol {
    padding-left: 1.6em;
    margin: 0 0 12px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
    background: #0a200d;
    color: rgba(255,255,255,0.8);
    padding: 56px 24px 32px;
}
.footer-inner {
    max-width: 980px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    max-width: 280px;
}
.footer-col h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6ee89a;
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}
.footer-col--vhg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-vhg {
    height: 64px;
    width: auto;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.footer-vhg:hover { opacity: 1; }
.footer-city-select {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.45);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}
.footer-city-select option {
    background: #0F4E20;
    color: #fff;
}
.footer-city-select:hover { color: rgba(255,255,255,0.75); }
.footer-login {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-login:hover { color: rgba(255,255,255,0.75); }

/* ─────────────────────────────────────────
   RESPONSIEF
───────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col--vhg { grid-column: span 2; justify-content: center; }
}

@media (max-width: 640px) {
    .site-nav { padding: 0 18px; }
    .site-nav__links { display: none; }
    .site-nav__links.open {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        position: absolute;
        top: var(--nav-height); left: 0; right: 0;
        background: rgba(10,40,15,0.98);
        padding: 12px 12px 16px;
        gap: 2px;
    }
    .site-nav__links.open > li { flex: 0 0 auto; }
    .site-nav__links.open > li > a { display: block; }
    .site-nav__links.open a { padding: 10px 18px; border-radius: 4px; }
    /* Mobile dropdown */
    .has-dropdown > button { padding: 10px 18px; border-radius: 4px; justify-content: space-between; }
    .nav-dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255,255,255,0.07);
        padding: 0;
        min-width: 0;
    }
    .nav-dropdown li a {
        color: rgba(255,255,255,0.78);
        padding: 10px 48px;
        font-size: 13px;
    }
    .nav-dropdown li a:hover { background: rgba(255,255,255,0.08); color: #fff; }
    .nav-dropdown li a.active { background: rgba(255,255,255,0.13); color: #fff; }
    .nav-dropdown .dropdown-sep { background: rgba(255,255,255,0.15); margin: 3px 0; }
    .nav-hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand p { max-width: none; }
}
