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

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

body {
    margin: 0;
    font-family: "Trebuchet MS";
    background-color: #009900;
    overflow-x: hidden; /* voorkomt horizontaal scrollen */
}

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

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

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

header .logo-rechts {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 110px;
}

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

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

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;
}

nav.dropdown a:hover {
    background: #009900;
}

/* Desktop submenu */
nav.dropdown ul li ul {
    display: none;
    position: absolute;
    background: #930609;
    top: 100%;
    left: 0;
    width: 150px;
}

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

/* ------------------------------ */
/* DESKTOP MENU */
/* ------------------------------ */

@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;
    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;
}

/* ------------------------------ */
/* 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;
}

/* ------------------------------ */
/* MOBIEL & TABLET (max 900px) */
/* ------------------------------ */

@media (max-width: 900px) {

    /* Hamburger zichtbaar */
    .hamburger {
        display: block;
    }

    /* Menu standaard verborgen */
    nav.dropdown {
        display: none;
    }

    nav.dropdown.open {
        display: block;
    }

    nav.dropdown ul {
        display: block;
    }

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

    /* Submenu mobiel */
    nav.dropdown ul li ul {
        display: none;
        position: static;
    }

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

    /* Sidebar onder header */
    .sidebar {
        position: static;
        width: 100%;
        border: none;
        margin: 0;
        padding: 10px 0;
        text-align: center;
    }

    /* Main niet te breed */
    main {
        margin-left: 0;
        padding: 140px 20px 20px;
        width: 100%;
    }

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

/* ------------------------------ */
/* KLEINE MOBIELEN (max 600px) */
/* ------------------------------ */

@media (max-width: 600px) {

    header {
        height: 90px;
    }

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

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

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