/* Mega Menu Overlay */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 100px 5% 50px;
}

.mega-menu-overlay.active {
    transform: translateX(0);
}

.mega-menu-content {
    max-width: 1400px;
    margin: 0 auto;
}

.mega-menu-section {
    margin-bottom: 3rem;
}

.mega-menu-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mega-menu-item {
    padding: 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    background: white;
}

.mega-menu-item:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.mega-menu-item h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.mega-menu-item p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Navigation Links */
.mobile-nav-links {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--navy);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    color: var(--gold);
    padding-left: 1rem;
}

/* Mobile Dropdown */
.mobile-nav-dropdown {
    position: relative;
}

.mobile-dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.mobile-nav-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-nav-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-menu .mobile-nav-link {
    font-size: 0.95rem;
    padding-left: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Desktop Mega Menu Content */
.mega-menu-desktop-content {
    display: block;
}

/* Mobile Language Switcher in Mega Menu */
.mobile-language-switcher {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-language-switcher .lang-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-language-switcher .lang-btn:hover {
    border-color: var(--gold);
    transform: scale(1.05);
}

.mobile-language-switcher .lang-btn.active {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fef9e7 0%, #fff 100%);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.mobile-language-switcher .lang-btn .flag-icon {
    width: 36px;
    height: 36px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .mobile-nav-links {
        display: flex;
    }

    .mega-menu-desktop-content {
        display: none;
    }

    .mega-menu-overlay {
        padding: 80px 5% 50px;
    }
}