/* DROPDOWN MENU - ALWAYS VISIBLE ON ALL DEVICES */

/* Hide desktop menu, show only mobile menu */
@media (min-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: auto;
        max-height: calc(100vh - 100px);
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        padding: 2rem;
        border-radius: 1rem 0 0 1rem;
        box-shadow: -5px 5px 30px rgba(0, 0, 0, 0.3);
        transition: right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
}

/* Mobile menu */
@media (max-width: 767px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        padding: 2rem;
        transition: right 0.4s ease;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
}

/* Menu list styling */
.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav__item {
    margin-bottom: 1rem;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav__link:hover,
.nav__link.active-link {
    background: rgba(184, 134, 11, 0.3);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.2);
}

.nav__link i {
    font-size: 1.25rem;
    color: #ffd700;
}

/* Close button */
.nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: white;
}

.nav__close:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: rotate(90deg);
}

/* Toggle button always visible */
.nav__toggle {
    display: flex !important;
    cursor: pointer;
}

/* Show menu on desktop and mobile */
@media (min-width: 768px) {
    .nav__list {
        padding-top: 1rem;
    }
}

/* Overlay when menu is open */
.nav__menu.show-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

