/* Kleurenpalet */
:root {
    --lichtgrijs: #f5f5f5;
    --grijs: #dcdcdc;
    --blauw: #3a7bd5;
    --donkerblauw: #1e3c72;
    --tekst: #222;
}

/* Algemene layout */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: var(--lichtgrijs);
    color: var(--tekst);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* body altijd minstens volledige hoogte */
}

main {
    flex: 1; /* Main vult alle ruimte tussen header en footer */
}

/* Navigatiebalk */
header { background: linear-gradient(90deg, var(--donkerblauw), var(--blauw)); color: white; padding: 10px 0; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    text-decoration: underline;
}

/* Hero / content */
.hero, .content {
    text-align: center;
    padding: 60px 20px;
}
 
.hero h2 {
    font-size: 2em;
    color: var(--donkerblauw);
}

/* Footer */
footer {
    background-color: var(--donkerblauw);
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* vaste hoogte zodat footer altijd zichtbaar is */
    flex-shrink: 0;
}

.hamburger {
    display: none; /* verberg standaard */
    font-size: 28px;
    background: none;
    border: none;
    color:white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--donkerblauw);
        text-align: center;
        margin-top: 10px;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        color: white;
        font-weight: bold;
        text-decoration: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
