/* ---------- Algemene instellingen ---------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;     /* minstens schermhoogte */
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* ---------- Wrapper ---------- */
.wrapper {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;  /* groeit om resterende ruimte te vullen */
}

/* ---------- Headers ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #004990; /* BTO-blauw */
    margin: 1em 0 0.5em 0;
}

/* ---------- Links ---------- */
a {
    color: #0072ce; /* BTO-link blauw */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004990;
    text-decoration: underline;
}

/* ---------- Navigatie ---------- */
nav {
    background-color: #f0f0f0;
    padding: 1em 2em;
    display: flex;
    justify-content: space-between; /* brand links, hamburger rechts */
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
}

/* SVG-logo in navbar */
.nav-brand svg {
    height: 40px;  /* pas aan naar gewenste hoogte */
    width: auto;
}

/* Links horizontaal op desktop */
.nav-links {
    display: flex;
    gap: 1.5em;
}

.nav-links a {
    text-decoration: none;
    color: #0072ce;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #004990;
}

/* Hamburger menu - standaard verborgen */
.nav-toggle {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #004990;
    transition: transform 0.3s ease;
}

/* ---------- Responsive Hamburger ---------- */
@media (max-width: 1200px) {
    .nav-toggle {
        display: block;
        order: 2; /* rechts uitlijnen */
    }

    .nav-links {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        gap: 0.5em;
        margin-top: 0.5em;
        transition: max-height 0.3s ease;

        /* rechts uitlijnen van de links */
        align-items: flex-end;
        padding-right: 2em;
        text-align: right;
    }

    .nav-links a {
        width: 100%; /* links vullen de ruimte van padding */
    }

    .nav-links.active {
        max-height: 500px;
    }

    nav {
        flex-direction: row;
        align-items: center;
    }

    .nav-toggle.active {
        transform: rotate(90deg);
    }
}

/* ---------- Buttons ---------- */
button, .btn {
    background-color: #0072ce;
    color: #fff;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #004990;
}

/* ---------- Secties en containers ---------- */
.container {
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2em 0;
}

/* ---------- Footer ---------- */
footer {
    background-color: #004990;
    color: #fff;
    padding: 2em 0;
    text-align: center;
    font-size: 0.9em;
}
/* Zoekbalk */
.search-container {
    margin: 2em 0;
    position: relative;
}

#folderSearch {
    width: 100%;
    padding: 0.6em 1em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#searchResults {
    list-style: none;
    padding: 0;
    margin: 0.5em 0 0 0;
}

#searchResults li {
    padding: 0.5em 1em;
    border-bottom: 1px solid #eee;
}

#searchResults li a {
    text-decoration: none;
    color: #0072ce;
    font-weight: bold;
}

#searchResults li a:hover {
    color: #004990;
}

