/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(3, 35, 116, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.navbar-brand h1 {
    font-size: 1.25rem;
    color: var(--primary-foreground);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.navbar-brand p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -4px;
    transition: color 0.2s;
}

.navbar-brand:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.navbar-menu a:hover {
    color: var(--accent);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    list-style: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.btn-cta {
    background: var(--gradient-accent);
    color: var(--accent-foreground);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-button);
    transition: all 0.3s;
}

.btn-cta:hover {
    box-shadow: var(--shadow-hover);
    transform: scale(1.05);
}

.btn-billetterie {
    background: var(--gradient-accent);
    color: var(--primary) !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-billetterie:hover {
    color: var(--primary) !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-foreground);
    border-radius: 2px;
}

/* Mobile menu active state */
@media (max-width: 1024px) {
    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu.active li {
        width: 100%;
    }

    .navbar-menu.active a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu.active .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .navbar-menu.active .dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .navbar-menu.active .dropdown > a svg {
        transition: transform 0.3s ease;
    }

    .navbar-menu.active .dropdown.open > a svg {
        transform: rotate(180deg);
    }
}

