
/* -------------------------------- */
/* BASIS */
/* -------------------------------- */

body {
    margin: 0;
    font-family: "Trebuchet MS";
    background-color: #009900;
}

/* -------------------------------- */
/* HEADER */
/* -------------------------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: #e3f473;
    text-align: center;
    z-index: 1000;
}

header .logo-links,
header .logo-rechts {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
}

header .logo-links {
    left: 35px;
    max-height: 125px;
}

header .logo-rechts {
    right: 15px;
    max-height: 110px;
}

/* -------------------------------- */
/* DROPDOWN MENU */
/* -------------------------------- */

nav.dropdown {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    background: #930609;
    z-index: 999;
}

nav.dropdown a.active {
    background-color: #009900;
    color: white;
}

nav.dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav.dropdown ul li {
    position: relative;
}

nav.dropdown a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: white;
    font-size: 18px;
}

/* Submenu */
nav.dropdown ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    background: #930609;
    list-style: none;
    padding: 0;
}

nav.dropdown ul li ul li a {
    padding: 10px;
    font-size: 16px;
}

/* Hover */
nav.dropdown a:hover,
nav.dropdown ul li ul li a:hover {
    background: #009900;
}

/* Submenu tonen */
nav.dropdown ul li:hover ul {
    display: block;
}

/* Desktop */
@media screen and (min-width: 900px) {
    nav.dropdown ul {
        display: flex;
        justify-content: center;
        gap: 30px;
    }
}

/* -------------------------------- */
/* ZIJBALK */
/* -------------------------------- */

.sidebar {
    position: fixed;
    top: 200px;
    left: 0;
    width: 200px;
    min-height: 800px;
    background: #e3f473;
    padding: 15px;
    border-right: 1px solid #ccc;
}

.sidefoto {
    width: 100%;
    max-width: 180px;
    display: block;
    margin: 12px auto;
    border-radius: 8px;
}

/* -------------------------------- */
/* MAIN CONTENT */
/* -------------------------------- */

main {
    margin-left: 260px;
    padding: 200px 20px 20px;
    color: white;
    font-size: 24px;
}

main img {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* -------------------------------- */
/* FOTO LINKS + TEKST BOVENAAN */
/* -------------------------------- */

.foto-links {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

td p {
    overflow: hidden;   /* tekst begint bovenaan naast foto */
}

td, th {
    vertical-align: top;   /* datum en tekst bovenaan */
}

/* -------------------------------- */
/* TABEL */
/* -------------------------------- */

main table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 22px;
    color: white;
}

main table td,
main table th {
    padding: 10px 15px;
    text-align: left;
}
main table th,
main table td {
    padding-top: 0;
}


/* DATUM FIX — PERFECTE UITLIJNING */
main table th {
    width: 140px;        /* vaste breedte zodat hij niet verschuift */
    vertical-align: top; /* datum altijd bovenaan */
    padding-top: 0;      /* voorkomt extra ruimte boven */
}

main table tr {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Responsive tabel */
@media (max-width: 900px) {
    main table td,
    main table th {
        display: block;
        width: 100% !important;
        text-align: left;
    }
}

/* -------------------------------- */
/* HAMBURGER */
/* -------------------------------- */

.hamburger {
    display: none;
    font-size: 32px;
    color: #930609;
    position: fixed;
    top: 130px;
    right: 20px;
    z-index: 2000;
    cursor: pointer;
}

/* -------------------------------- */
/* TOPKNOP */
/* -------------------------------- */

#topknop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #930609;
    color: white;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 3000;
}

/* -------------------------------- */
/* RESPONSIVE 900PX */
/* -------------------------------- */

@media (max-width: 900px) {

    .hamburger {
        display: block;
    }

    nav.dropdown {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav.dropdown.open {
        display: block;
    }

    nav.dropdown ul {
        flex-direction: column;
        gap: 0;
    }

    nav.dropdown ul li a {
        padding: 15px;
        border-bottom: 1px solid #666;
    }

    nav.dropdown ul li ul {
        position: static;
        display: none;
    }

    nav.dropdown ul li.open ul {
        display: block;
    }

    .sidebar {
        position: static;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        margin-top: 110px;
        text-align: center;
    }

    main {
        margin-left: 0;
        padding: 20px;
        padding-top: 200px;
        width: 100%;
    }

    main .centerfoto {
        text-align: center;
    }

    .centerfoto img {
        max-width: 100%;
        height: auto;
    }
}

/* -------------------------------- */
/* RESPONSIVE 600PX */
/* -------------------------------- */

@media (max-width: 600px) {

    header {
        padding: 10px;
        font-size: 18px;
    }

    nav.dropdown a {
        padding: 14px;
        font-size: 16px;
    }

    .sidebar {
        text-align: center;
    }
}

/* -------------------------------- */
/* FOTO ZOOM EFFECT */
/* -------------------------------- */

main img:hover {
    transform: scale(1.8);
    transition: transform 0.3s ease;
    z-index: 999;
}
