﻿/* HEADER TRASPARENTE SOPRA L'HERO */
.header-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent !important;
    border-bottom: none !important;
}

/* EVITA CHE IL LOGO COPRA L’HAMBURGER */
.header-premium,
.header-container,
.header-logo,
.header-center {
    z-index: 1;
}

/* CONTENITORE CENTRATO */
.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 25px 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGO CENTRALE */
.header-logo img {
    height: 110px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* MENU SINISTRA E DESTRA */
.header-left,
.header-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 26px;
}

/* POSIZIONI */
.header-left {
    left: 50px;
}

.header-right {
    right: 50px;
}

/* LINK */
.header-premium a {
    color: white !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.3s;
}

    .header-premium a:hover {
        color: #d1a45c !important;
    }

/* 🔥 HAMBURGER — VERSIONE CORRETTA, TRASPARENTE, DENTRO L’HEADER */
.hamburger {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 10000;
}

    .hamburger span {
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 999px;
    }

/* MENU MOBILE A TENDINA COME IN FOTO */
.mobile-menu {
    position: absolute;
    top: 100%; /* parte subito sotto l’header */
    left: 0;
    width: 100%;
    background: #4b2e1a; /* marrone premium */
    padding: 25px 30px;
    display: none;
    flex-direction: column;
    gap: 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9998;
    animation: dropdown 0.35s ease forwards;
}

/* ANIMAZIONE */
@keyframes dropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
/* RESPONSIVE */
@media (max-width: 900px) {

    .header-left,
    .header-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    .header-logo img {
        height: 140px;
        width: auto;
        display: block;
        margin: 0 auto;
    }
}

.lang-switch {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

    .lang-switch a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        opacity: 0.8;
    }

        .lang-switch a.active {
            opacity: 1;
            font-weight: 700;
        }

/* HEADER SCURO PER LE PAGINE BOOKING */
.header-premium.header-dark {
    position: relative !important;
    background: #4b2e1a !important;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}

    /* Logo più piccolo nelle pagine interne */
    .header-premium.header-dark .header-logo img {
       height: 92px !important;
    }

    .header-premium.header-dark .header-container {
        padding: 14px 32px;
    }

    .header-premium.header-dark .header-left,
    .header-premium.header-dark .header-right {
        gap: 26px;
    }

    /* Link bianchi */
    .header-premium.header-dark a {
        color: white !important;
    }

    /* Hamburger bianco */
    .header-premium.header-dark .hamburger span {
        background: white !important;
    }