* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #004080;
    color: white;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header img {
    height: 50px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.5em;
}

nav a,
nav a:visited {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
    color: #ffcc00;
    /* bijvoorbeeld een accentkleur bij hover */
}

main {
    padding: 2em;
}

footer {
    background-color: #f0f0f0;
    padding: 1em;
    text-align: center;
    font-size: 0.9em;
    margin-top: 2em;
}

.link-email {
    color: #004080;
    text-decoration: none;
}

/* Accordion styling */
.accordion {
    cursor: pointer;
    font-weight: bold;
    color: #004080;
    margin: 0.5em 0;
}

.accordion:hover {
    text-decoration: underline;
}

.panel {
    display: none;
    padding: 0.5em 1em;
    background-color: #f9f9f9;
    border-left: 3px solid #004080;
    margin-bottom: 1em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 1em;
    justify-items: center;
    /* zorgt dat plaatjes mooi centreren */
}

.gallery img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        justify-content: center;
        width: 100%;
    }
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover,
.close:hover {
    color: #ffcc00;
}