/* =================================
   NAVBAR
================================= */
.navbar {
    background: #0F1E3D;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    min-height: 100px;
}
.navbar img {
    max-width: 200px;
    width: auto;
    height: auto;
}
/* Logo */
.logo-img {
    max-height: 80px;
    width: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.06);
}

nav ul {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    font-size: 0.82rem;
}

nav a,
nav ul li a {
    text-decoration: none;
    color: rgba(240, 232, 208, 0.68);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    display: block;
}

nav a:hover,
nav ul li a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.10);
    text-decoration: none;
    opacity: 1;
}

/* =================================
   DROPDOWN DIENSTEN
================================= */
.dropdown-diensten { position: relative; }

.dropdown-diensten-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #0A1428;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 500;
    min-width: 180px;
    list-style: none;
    overflow: hidden;
    padding: 0.25rem 0;
}

.dropdown-diensten-submenu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: rgba(240, 232, 208, 0.68);
    font-size: 0.8rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dropdown-diensten-submenu li:last-child a { border-bottom: none; }

.dropdown-diensten-submenu li a:hover {
    background: rgba(212, 175, 55, 0.10);
    color: #D4AF37;
}

.dropdown-diensten:hover .dropdown-diensten-submenu { display: block; }

/* =================================
   MOBILE MENU KNOP
================================= */
.mobile-menu {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    background: transparent;
    color: #D4AF37;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    z-index: 350;
    transition: background 0.2s;
}

.mobile-menu:hover { background: rgba(212, 175, 55, 0.10); }

/* =================================
   SIDEBAR
================================= */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100%;
    background: #0A1428;
    border-right: 1px solid rgba(212, 175, 55, 0.25);
    padding: 5rem 1.25rem 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.3s ease;
    z-index: 300;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
}

.sidebar.open { transform: translateX(0); }

.sidebar a {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(240, 232, 208, 0.68);
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: color 0.2s, background 0.2s;
    display: block;
}

.sidebar a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.10);
    text-decoration: none;
    opacity: 1;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 0.75rem;
}

.sidebar-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    color: #D4AF37;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-dropdown { position: relative; }

.sidebar-dropdown-toggle {
    color: rgba(240, 232, 208, 0.68);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
}

.sidebar-dropdown-diensten-menu {
    display: none;
    list-style: none;
    padding-left: 0.75rem;
    margin-top: 0.25rem;
    flex-direction: column;
    gap: 0;
}

.sidebar-dropdown:hover .sidebar-dropdown-diensten-menu { display: flex; }

.sidebar-dropdown-diensten-menu li a {
    font-size: 0.82rem;
    padding: 0.4rem 0.75rem;
    color: rgba(240, 232, 208, 0.68);
}

.sidebar-dropdown-diensten-menu li a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.10);
}

/* =================================
   RESPONSIVE
================================= */
@media (max-width: 850px) {

    nav ul { display: none; }

    nav ul.open {
        display: flex;
        flex-direction: column;
        background: #0A1428;
        position: absolute;
        right: 0;
        top: 80px;
        padding: 1rem;
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        min-width: 200px;
        z-index: 400;
    }

    .mobile-menu { display: block; }

    .logo-img {
        max-height: 50px;
    }

    .sidebar { width: 220px; padding: 4rem 1rem 2rem 1rem; }
    .sidebar a { font-size: 0.88rem; }
    .sidebar-dropdown-diensten-menu li a { font-size: 0.82rem; }
}