/* ================= Reset ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #eaf7ef; /* pastel lichtgroen */
    color: #2f3e34;
    line-height: 1.6;
}

/* ================= Banner ================= */
.banner {
    position: relative;
    width: 100%;
    height: 450px; /* grote banner */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= Menu over banner (desktop) ================= */
nav {
    position: absolute;
    bottom: 20px; /* menu dicht bij banner onderkant */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    z-index: 10;
}

nav a {
    text-decoration: none;
    color: #344e41;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.4);
}

nav a:hover {
    background: #588157;
    color: white;
}

/* ================= Hoofdcontent ================= */
main {
    max-width: 1000px;
    margin: 60px auto 40px auto;
    background: white;
    padding: 50px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #344e41;
}

h2 {
    margin-bottom: 10px;
    color: #3a5a40;
}

h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

ul {
    list-style: none;
    margin-top: 20px;
}

ul li {
    margin-bottom: 12px;
}

ul a {
    text-decoration: none;
    color: #588157;
    font-weight: 500;
}

ul a:hover {
    text-decoration: underline;
}

/* ================= ANBI Badge ================= */
.anbi-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 40px;
    font-weight: 600;
    color: #344e41;
    font-size: 0.9rem;
}

.anbi-badge img {
    height: 70px; 
    width: auto;
    border-radius: 2px;
}

/* ================= Footer ================= */
footer {
    text-align: center;
    padding: 25px;
    margin-top: 20px;
    background: #344e41;
    color: white;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

/* ================= Animatie ================= */
main, footer {
    animation: fadeIn 0.6s ease-in-out;
}

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

/* ================= Mobiel ================= */
@media (max-width: 768px) {
    .banner {
        height: 250px;
    }

    /* ================= Scrollbaar menu mobiel ================= */
    nav {
        bottom: 10px; /* net boven banner einde */
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        padding: 8px 12px; /* kleinere padding zodat menu goed past */
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(6px);
        max-width: 95%;
        min-height: 45px; /* voldoende hoogte zodat menu zichtbaar is */
        z-index: 10;
        position: absolute;
    }

    nav::-webkit-scrollbar {
        display: none; /* scrollbar verbergen */
    }

    nav a {
        flex: 0 0 auto; /* knoppen krimpen niet */
        padding: 8px 12px; /* knoppen iets kleiner */
        font-size: 0.9rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.65);
        white-space: nowrap;
        font-weight: 600;
        color: #344e41;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    nav a:hover {
        background: #588157;
        color: white;
    }

    main {
        margin: 20px;
        padding: 25px;
    }

    .anbi-badge {
        justify-content: center;
        margin-top: 30px;
        font-size: 0.8rem;
    }

    .anbi-badge img {
        height: 40px;
    }
}
