/* ===============================
   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;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem;
    max-width: 100%;

}


nav ul {
    display: flex;
    gap: 3rem;
    font-size: 1.7rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: bold;
}

nav a:hover {
    color: rgba(182,154,102);
}

/* 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: 180px;
    list-style: none;
    
}

.dropdown-diensten-submenu li a {
    display: block;
    padding: 0.25rem 0.6rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.4rem;
    
}

.dropdown-diensten-submenu li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color:rgba(182,154,102);
    
}

/* Toon submenu bij hover */
.dropdown-diensten:hover .dropdown-diensten-submenu {
    display: block;
}


/* MOBILE MENU ICON */
.mobile-menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    cursor: pointer;
    background: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05)), var(--background);
    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;
}
/* ===============================
   RESPONSIVE NAVIGATION
================================= */
@media(max-width: 850px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--background);
        position: absolute;
        right: 0;
        top: 70px;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.open {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

/* ===============================
   SIDEBAR (INGEKLAPT)
================================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 6rem 1.5rem 2rem 1.5rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.3s ease;
    z-index: 300;
    justify-content: flex-start;
    transform: translateX(-100%);
    /* standaard ingeklapt */
}

.sidebar.open {
    transform: translateX(0);
    /* uitgeklapt */
}

.sidebar a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}

.sidebar a:hover {
    color: rgba(182,154,102);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-weight: bold;
    font-size: 1rem;
}

/* Sidebar dropdown */
.sidebar-dropdown {
    position: relative;
}

/* Verberg submenu standaard */
.sidebar-dropdown-diensten-menu {
    display: none;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Toon submenu bij hover */
.sidebar-dropdown:hover .sidebar-dropdown-diensten-menu {
    display: block;
}

/* Styling van submenu items */
.sidebar-dropdown-diensten-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    text-decoration: none;
}

.sidebar-dropdown-diensten-menu li a:hover {
    background-color: rgba(255, 115, 0, 0.1);
    color: rgba(182,154,102); ;
}


/* ===============================
   RESPONSIVE SIDEBAR
================================= */
@media(max-width: 850px) {
    .sidebar {
        width: 220px;
    }
}