/* MENU.CSS - Sistema Menu Completo ACTRAGEA */
/* Estratto da index.html per uso in file esterni */

/* ===== RESET MENU BASE ===== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li::before,
.nav-links li::after {
    display: none !important;
    content: none !important;
}

.nav-links a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-links a::before,
.nav-links a::after {
    display: none !important;
    content: none !important;
}

.nav-links a:hover {
    color: #14b8a6;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(16, 185, 129, 0.1));
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 25px rgba(20, 184, 166, 0.4), 0 0 50px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px) scale(1.02);
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 180px;
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 2px 8px;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    transform: translateX(5px);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00e5ff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-left: 20px;
}

.language-switcher a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.language-switcher a:hover {
    color: #10b981;
}

.fas.fa-globe {
    color: #3b82f6;
    margin-right: 5px;
}

.language-switcher span {
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 3px 6px;
    border-radius: 4px;
}

.language-switcher span:hover {
    color: #3b82f6;
}

.language-switcher .lang-active {
    color: #10b981;
    font-weight: 600;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(10, 14, 19, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column;
        width: 220px;
        padding: 25px 20px;
        border-radius: 15px;
        border: 1px solid rgba(59, 130, 246, 0.5);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        z-index: 9999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #ffffff !important;
        font-weight: 600 !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        text-decoration: none;
    }

    .nav-links a:hover {
        color: #3b82f6 !important;
    }

    /* Mobile: dropdown diventa lista verticale */
    .dropdown-menu {
        position: static !important;
        display: block !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        padding: 0 !important;
        margin-left: 20px;
    }

    .dropdown-menu a {
        padding: 8px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
    }
}
