/* =========================================
   0. BASIS & VARIABELEN
   ========================================= */
:root {
    --bruisten-groen: #207a00;
    --font-body: 'Dosis', sans-serif;
}

/* Algemene box-sizing reset voor pseudo-elementen */
*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
}

/* =========================================
   1. HEADER & LOGO'S
   ========================================= */
.site-header__logos img {
    height: 80px;
    width: auto;
}

.site-header__logo--partner img {
    height: 40px;
}

/* =========================================
   2. MOBIEL MENU TOGGLE
   ========================================= */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-text {
    font-weight: 600;
    color: var(--bruisten-groen);
    text-transform: uppercase;
}

.hamburger-lines {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines span {
    height: 3px;
    background: var(--bruisten-groen);
    border-radius: 2px;
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }

    .menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .menu-container.is-open {
        display: block;
    }
}

/* =========================================
   3. MENU – ALGEMEEN
   ========================================= */
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.site-nav a,
.site-nav .nav-header {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: var(--bruisten-groen);
    text-decoration: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

/* Actief */
.site-nav .current > a {
    background: var(--bruisten-groen);
    color: #ffffff;
}

/* =========================================
   4. DROPDOWN – DESKTOP
   ========================================= */
.site-nav li.parent {
    position: relative;
}

@media (min-width: 768px) {
    .site-nav li.parent > ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .site-nav li.parent:hover > ul {
        display: block;
    }

    .site-nav a:hover,
    .site-nav li.parent:hover > .nav-header {
        background: var(--bruisten-groen);
        color: #ffffff;
    }

    .site-nav .nav-header {
        cursor: default;
    }
}

/* =========================================
   5. MENU – MOBIEL
   ========================================= */
@media (max-width: 767px) {
    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav li.parent > ul {
        display: block;
        padding-left: 20px;
    }
}

/* =========================================
   6. USP BALK (DESKTOP)
   ========================================= */
.usp-bar {
    background: var(--bruisten-groen);
    padding: 12px 0;
}

.usp-bar__inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.usp-item {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

/* =========================================
   7. FOOTER – DEFINITIEVE FIX (DESKTOP)
   ========================================= */
.contact-footer {
    background: var(--bruisten-groen);
    color: #ffffff;
    padding: 60px 0;
}

.contact-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    gap: 40px;
}

.contact-footer__col {
    flex: 1; 
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-footer__title {
    margin-bottom: 20px;
}

.contact-footer__address {
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-footer__links,
.contact-footer__quicklinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
}

.contact-footer__link {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 12px;
    line-height: 1.4;
}

.contact-footer__link[href^="tel:"]::before {
    content: "\260E"; 
    margin-right: 10px;
    font-size: 16px;
    display: inline-block;
}

.contact-footer__link[href^="mailto:"]::before {
    content: "\2709"; 
    margin-right: 10px;
    font-size: 18px;
    display: inline-block;
}

.contact-footer__quicklinks .list-angled {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-footer__quicklinks .list-angled > li {
    position: relative;
    padding-left: 20px; 
    margin-bottom: 8px; 
    line-height: 1.4;
}

.contact-footer__quicklinks .list-angled > li > a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

.contact-footer__quicklinks .list-angled > li:before {
    content: "›"; 
    position: absolute;
    top: -2px; 
    left: 0;
    font-size: 20px; 
    font-weight: bold;
    color: #ffffff;
    -webkit-transition: left 0.25s ease;
    transition: left 0.25s ease;
}

.contact-footer__quicklinks .list-angled > li:hover:before {
    left: 5px; 
}

/* =========================================
   8. SPECIFIEKE MOBIELE OPTIMALISATIES
   ========================================= */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Header scrollt nu gewoon mee (niet meer fixed/sticky) */
    .site-header {
        position: relative; 
        background: #ffffff;
        padding: 15px 0;
    }

    /* Zorg dat logo's en menu op één lijn staan met ruimte ertussen */
    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Logo container links houden */
    .site-header__logos {
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 70%;
    }

    .site-header__logos img {
        height: 45px; 
        width: auto;
    }

    .site-header__logo--partner img {
        height: 25px;
    }

    /* Hamburgermenu strak naar RECHTS dwingen */
    .site-nav {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        padding: 5px 0 5px 10px;
    }


    /* ─── SLOGAN ANIMATIE (ALLEEN MOBIEL) ─── */
    .usp-bar__inner {
        position: relative;
        display: block; /* Verander flex naar block voor absolute positionering */
        height: 24px;   /* Hoogte reserveren voor 1 regel tekst */
        overflow: hidden;
    }

    .usp-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        /* Totale animatie duurt 12 seconden (4 slogans x 3 seconden) */
        animation: fadeSlogans 12s infinite ease-in-out;
    }

    /* Elke slogan krijgt zijn eigen starttijd (delay) */
    .usp-item:nth-child(1) { animation-delay: 0s; }
    .usp-item:nth-child(2) { animation-delay: 3s; }
    .usp-item:nth-child(3) { animation-delay: 6s; }
    .usp-item:nth-child(4) { animation-delay: 9s; }

    /* Keyframes voor het 1 voor 1 opkomen en verdwijnen */
    @keyframes fadeSlogans {
        0% { opacity: 0; transform: translateY(5px); }
        5% { opacity: 1; transform: translateY(0); }
        25% { opacity: 1; transform: translateY(0); }
        30% { opacity: 0; transform: translateY(-5px); }
        100% { opacity: 0; }
    }


    /* Footer kolommen netjes onder elkaar zetten op mobiel */
    .contact-footer__inner {
        flex-direction: column;
        gap: 35px;
        padding: 0 20px;
    }

    .contact-footer__col {
        flex: none; 
        width: 100%;
    }
}