/*
Theme Name: mijn eigen thema
Theme URI: www.recreja.nl
Description: mijn eigen thema
Version: 1.0
Author: Lara Tjoa
Author URI: www.recreja.nl
*/

body {
    padding: 0;
    margin: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
.menubalk {
    background-color: #2C2C38;
    width: 100%;
    color: white;
    padding: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menubalk a:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;
}

.menubalk a {
    font-size: 1rem;
}

.footer ul {
    list-style-type: none;
}

.menubalk ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 1rem;
    margin-left: 0.5rem;
    font-size: 1rem;
}

.menubalk ul > li:hover {
    font-size: 18px;
}

.accommedaties {
    display: block;
} 

.underheader {
    width: 100%;
    background-color: #313138;
    display: none;
    position: absolute;
    top: 100%;
    z-index: 10;
    left: 0; 
}

.dropdown-wrapper {
    position: relative;
}

.accommedatie-container:hover .underheader {
    display: block;
    position: relative;
}

a {
    text-decoration: none;
    color: white;
}

#title {
    margin-bottom: 0.5rem;
    margin-top: 0;
    padding-top: 0;
}

h1 {
    display: flex;
    justify-content: center;
    font-size: 80px;
    margin: 0;
    padding: 0;
    margin-bottom: 0.2rem;
}

hr {
    width: 40rem;
    margin-top: 0.2rem;
}

.footer {
    position: relative;
    left: 0;
    bottom: 0;
    background-color: #2C2C38;
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

footer > a {
    text-decoration-line: underline;
}

.section {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.menu-toggle {
    font-size: 28px;
    cursor: pointer;
    display: none;
}

.menu-toggle {
    font-size: 28px;
    cursor: pointer;
    display: none; /* standaard verborgen */
}

/* Mobile menu verbergen en uitklapbaar maken */
@media screen and (max-width: 400px) {

    .menu-toggle {
        display: block; /* hamburger zichtbaar */
    }

    /* verberg hoofdmenu */
    nav.hoofdmenu-container ul.flex-menu {
        display: none !important;
        flex-direction: column;
        gap: 10px;
    }

    /* toon menu als .show wordt toegevoegd */
    nav.hoofdmenu-container ul.flex-menu.show {
        display: flex !important;
        flex-direction: column;
    }

    /* optioneel: submenu verbergen op mobiel */
    nav.hoofdmenu-container ul.flex-menu ul.sub-menu {
        display: none;
    }

    /* submenu tonen als je wilt dat submenu opent bij hover/click */
    nav.hoofdmenu-container ul.flex-menu li.menu-item-has-children.show > ul.sub-menu {
        display: block;
    }
}
