/* ===============================
   HEADER / NAVBAR
================================= */
.navbar {
    background: var(--background);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0;
    border-bottom: 0.1px solid rgb(153, 176, 218); 
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
    max-width: 100%;
}

nav ul {
    display: flex;
    gap: 1.2rem;
    font-size: 1.05rem; /* iets groter dan 1rem */
}

nav a {
    text-decoration: none;
    color: #D4AF37;
    font-weight: bold;
}

nav a:hover {
    color: white;
}

/* Dropdown menu Diensten */
.dropdown-diensten {
    position: relative;
}

.dropdown-diensten-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background);
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 500;
    min-width: 150px;
    list-style: none;
}

.dropdown-diensten-submenu li a {
    display: block;
    padding: 0.3rem 0.6rem;
    color: #D4AF37;
    text-decoration: none;
    font-size: 0.95rem; /* iets groter */
}

.dropdown-diensten-submenu li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: white;
}

.dropdown-diensten:hover .dropdown-diensten-submenu {
    display: block;
}

/* MOBILE MENU ICON */
.mobile-menu {
    display: none;
    font-size: 2rem; /* blijft hetzelfde */
    cursor: pointer;
    background: rgb(153, 176, 218);
    color: var(--text);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 350;
}

/* ===============================
   SIDEBAR
================================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 5rem 1rem 2rem 1rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
    z-index: 300;
    justify-content: flex-start;
    transform: translateX(-100%);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar a {
    text-decoration: none;
    font-size: 0.95rem; /* iets groter */
    font-weight: 600;
    color: rgb(153, 176, 218);
    transition: color 0.2s ease;
}

.sidebar a:hover {
    background: rgba(182, 154, 102, 0.2);
    color: rgba(182, 154, 102);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-title {
    font-weight: bold;
    font-size: 1.05rem; /* iets groter */
    color: rgb(153, 176, 218);
}

/* Sidebar dropdown */
.sidebar-dropdown {
    position: relative;
}

.sidebar-dropdown-diensten-menu {
    display: none;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar-dropdown:hover .sidebar-dropdown-diensten-menu {
    display: block;
}

.sidebar-dropdown-diensten-menu li a {
    display: block;
    padding: 0.4rem 0.8rem;
    color: rgb(153, 176, 218);
    text-decoration: none;
    font-size: 0.95rem; /* iets groter */
}

.sidebar-dropdown-diensten-menu li a:hover {
    background-color: rgba(182, 154, 102, 0.2);
    color: rgb(94, 68, 21);
}

/* ===============================
   RESPONSIVE NAVIGATION / SIDEBAR
================================= */
@media(max-width: 850px) {

    nav ul {
        display: none;
        flex-direction: column;
        background: var(--background);
        position: absolute;
        right: 0;
        top: 60px;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.open {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .sidebar {
        width: 220px;
        padding: 4rem 1rem 2rem 1rem;
    }

    .sidebar a {
        font-size: 0.9rem; /* mobiel iets groter dan voorheen */
    }

    .sidebar-dropdown-diensten-menu li a {
        padding: 0.35rem 0.6rem;
        font-size: 0.9rem; /* mobiel iets groter */
    }
}