/* Algemeen voor de pagina */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: #2f5f66;
    color: white;
    padding: 20px; /* Extra padding voor meer ruimte */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Shared site header/footer (php_web + includes) */
.site-hf {
    background: #2f5f66;
    color: #fff;
    padding: 14px 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.site-hf .site-hf__inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center;
    gap: 14px;
}
.site-hf .site-hf__left { justify-self: start; }
.site-hf .site-hf__main { justify-self: center; }
.site-hf .site-hf__right { justify-self: end; }
.site-hf__brand {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.site-hf__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.site-hf__logo img {
    display: block;
    height: 34px;
    width: auto;
    object-fit: contain;
}
.site-hf__main,
.site-hf__right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}
.site-hf .site-hf__main {
    justify-content: center;
}
.site-hf .site-hf__right {
    justify-content: flex-end;
}
.site-hf__main a,
.site-hf__right a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0.95;
}
.site-hf__main a:hover,
.site-hf__right a:hover {
    opacity: 0.8;
}
.site-hf--footer {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 30px;
    text-align: center;
}

@media (max-width: 900px) {
    .site-hf .site-hf__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 10px;
    }
    .site-hf .site-hf__left {
        justify-self: start;
        width: 100%;
    }
    .site-hf .site-hf__main {
        justify-content: center;
    }
    .site-hf .site-hf__right {
        justify-content: center;
        width: 100%;
    }
}

/* Print: geen header/footer op afdruk (UVS uitgezonderd) */
@media print {
    body:not(.uvs-body) .site-hf,
    body:not(.uvs-body) .site-hf--footer,
    body:not(.uvs-body) header,
    body:not(.uvs-body) footer {
        display: none !important;
    }
    body:not(.uvs-body) {
        margin: 0 !important;
        padding: 0 !important;
    }
}

header .logo img {
    max-height: 50px; /* Logo grootte */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 12px; /* Grotere tekstgrootte voor de menu-items */
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Main content */
main {
    flex: 1; /* Vult de resterende ruimte */
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: calc(100% - 40px);
    overflow-y: auto;
}

/* Footer */
footer {
    background-color: #2f5f66;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0; /* Zorgt dat footer niet inkrimpt */
    width: 100%;
    position: relative; /* Zorgt voor positionering binnen het scherm */
    bottom: 0;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

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