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

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

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

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

header .logo-links {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    max-height: 125px;
}

header .logo-rechts {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    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;
}

/* Standaard: tablet & mobiel = menu onder elkaar */
nav.dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    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;
    background: #930609;
    padding: 0;
    margin: 0;
    list-style: none;
    top: 100%;
    left: 0;
    width: 150px;
}

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

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

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

/* ------------------------------ */
/* Alleen op computer (brede schermen) */
/* ------------------------------ */

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

/* ------------------------------ */
/* 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 img {
    margin-right: 15px;
    margin-bottom: 10px;
}

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


/* ------------------------------ */
/* 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;
        background: #930609;
        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;
        background: #930609;
        display: none;
    }

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

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

    main {
        margin-left: 0;
        padding: 20px;
        padding-top: 200px;
        color: white;
        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;
}
