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

/* ------------------------------ */
/* BASIS 28-9 */  
/* ------------------------------ */


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

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

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

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

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

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

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

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.active {
    background-color: #009900;
}

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

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

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

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

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

/* ------------------------------ */
/* SIDEBAR */
/* ------------------------------ */

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

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

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

main {
    margin-left: 220px;
    padding: 260px 25px 40px;
    max-width: calc(100% - 240px);
    font-size: 24px;
}

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

/* ------------------------------ */
/* CONTACTFORMULIER */
/* ------------------------------ */

.contact-form {
    background: #e3f473;
    padding: 25px;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.contact-form h2 {
    color: #930609;
    text-align: center;
    margin-top: 0;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 2px solid #930609;
    border-radius: 6px;
    font-size: 16px;
    background: #fff;
}

.contact-form input[type="submit"],
.contact-form input[type="reset"] {
    background: #009900;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 20px;
    margin-right: 10px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover,
.contact-form input[type="reset"]:hover {
    background: #930609;
}

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

@media (max-width: 900px) {

    .hamburger {
        display: block;
    }

    nav.dropdown {
        display: none;
    }

    nav.dropdown.open {
        display: block;
    }

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

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

    main {
        margin-left: 0;
        padding: 220px 20px 20px;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    header {
        height: auto;
        padding: 10px;
    }

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