@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: transparent; 
    background: url('fotos/samen.jpg') no-repeat center center / cover;
    overflow: auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

.logo {
    font-size: 2em;
    color: #fff;
    user-select: none;
}

.navigation {
    position: fixed;
    top: 0;
    right: 0; /* Dit verandert! */
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-end;
    background-color: transparent;
    z-index: 1002;
}

.navigation a {
    position: relative;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin: 0 20px;
    height: 50px;
    display: flex;
    align-items: center;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.navigation a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

.navigation .btnLogin-popup {
    width: 130px;
    height: 50px;
    background: transparent;
    border: 2px solid #fff;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #fff;
    font-weight: 500;
    margin: 0 20px;
    transition: .5s;
}

.navigation .btnLogin-popup:hover {
    background: #fff;
    color: #162938;
}

/* Stijl voor de hamburger knop */
.hamburger-menu {
    display: none;
    font-size: 2em;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.hamburger-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1004;
}

/* Container met vaste grootte en positie */
.hamburger-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    z-index: 1004;
    display: none;
}

/* Knoppen overlappen elkaar perfect */
.hamburger-toggle button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    z-index: 1005;
}

/* Hamburger (☰) streepjes */
.open-btn div {
    background: #fff;
    height: 4px;
    margin: 5px auto;
    width: 30px;
}

body.contact-page {
    background: black;
    background-image: none;
}

/* Fade-in menu vanaf boven op mobiel */
@media (max-width: 768px) {
    body.nav-open header {
        background-color: rgba(0, 0, 0, 0.5);
    }

    header {
        background-color: transparent;
    }

    .navigation {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.75); /* donkere achtergrond */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: top 0.4s ease-in-out;
        z-index: 1002;
    }

    .navigation.active {
        top: 0;
    }

    .navigation a {
        font-size: 1.7em;
        color: white;
        padding: 15px 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .navigation .btnLogin-popup {
        font-size: 1.2em;
        width: 160px;
        height: 55px;
        padding: 10px 0;
        border: 2px solid #fff;
        border-radius: 6px;
        text-align: center;
        background: transparent;
        color: #fff;
        font-weight: 500;
        margin-top: 30px;
    }

    /* Zorg dat hamburger knoppen zichtbaar zijn */
    .hamburger-toggle {
        display: block;
    }

    .close-btn {
        display: none;
    }

    body.nav-open .close-btn {
        display: block;
    }

    body.nav-open .open-btn {
        display: none;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open header {
        background: transparent;
    }
}