.modern-navbar {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .navbar-logo:hover {
        color: #e6701c;
    }

.navbar-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

    .dropdown-toggle svg {
        transition: transform 0.3s ease;
    }

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 220px;
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    display: block;
    transition: background 0.2s ease;
}

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.logout-btn {
    background: #e6701c;
    color: #fff !important;
}

    .logout-btn:hover {
        background: #d16218;
    }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: #0a0a0a;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .mobile-menu.active {
        display: block;
    }

.mobile-link {
    color: #fff;
    text-decoration: none;
    padding: 15px;
    display: block;
    border-radius: 8px;
    transition: background 0.2s ease;
}

    .mobile-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.mobile-dropdown {
    margin: 5px 0;
}

.mobile-dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .mobile-dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-dropdown-toggle svg {
        transition: transform 0.3s ease;
    }

    .mobile-dropdown-toggle.active svg {
        transform: rotate(180deg);
    }

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}

    .mobile-dropdown-content.active {
        max-height: 500px;
    }

    .mobile-dropdown-content a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        padding: 12px 15px;
        display: block;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

        .mobile-dropdown-content a:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
        }

@media (max-width: 992px) {
    .navbar-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (min-width: 993px) {
    .mobile-menu {
        display: none !important;
    }
}
