* {
    font-family: 'Sora', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-width: 100%;
    width: 100%;

}


.menu-toggle {
    display: none;
    /* Nascosto su desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle .hamburger-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Mantiene le proporzioni del logo */
    transition: transform 0.3s ease;
}

/* Effetto opzionale: una leggera rotazione quando il menu è aperto */
.menu-toggle.active .hamburger-icon {
    transform: rotate(90deg);
}

/* Quando l'header è sceso (scrolled), le linee diventano scure */
.main-header.scrolled .menu-toggle span {
    background-color: #333333;
}

/* ANIMAZIONE HAMBURGER -> TRASFORMAZIONE IN "X" */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1100;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0);
    color: #ffffff;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.logo {
    width: 180px;
    height: 100px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20%;
    gap: 20%;


}

.black {
    color: black;
}

.navlinks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    color: inherit;
    white-space: nowrap;
    font-size: clamp(15px, 1vw, 19px);

}

.navlinks li {
    position: relative;

}

.navlinks a {
    padding: 15px 20px;
    display: block;
    text-decoration: none;
}

.navlinks>li>a:hover {

    color: gold;
}

.navlinks>li>a:active {
    color: white;
}

.sottomenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f9f9f9;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 180px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.sottomenu a {
    color: #333333;
    padding: 12px 15px;
    border-bottom: 1px solid #eeeeee;
}

.sottomenu a:hover {
    background-color: #e0e0e0;
}


.dropdown:hover .sottomenu {
    display: block;
}

.navbar {
    text-decoration: none;
}

a:link {
    color: grey;
    /* Scegliamo un colore di accento, es. un rosso scuro */
    text-decoration: none;
    /* Rimuoviamo la sottolineatura di default */
}

/*vecchio codice*/
/*sezione card*/

        .titl {
            text-align: center;
            background: black;
            padding: 40px 0 20px 0;
            width: 100%;
        }

        .testtitl {
            color: gold;
            font-size: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: "EB Garamond", serif;
            letter-spacing: 1px;
        }

        /* --- CONTENITORE SLIDER --- */
        .slider-wrapper {
            position: relative;
            width: 100%;
            background:rgba(212, 175, 55, 0.5);;
            padding: 20px 0 60px 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sez {
            width: 90%;
            max-width: 1200px;
            display: flex;
            gap: 24px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            padding: 20px 10px;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE/Edge */
        }

        .sez::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        /* --- CARD DIV9 --- */
        .div9 {
            flex: 0 0 80%;
            max-width: 380px;
            height: 480px;
            background: #111;
            border: 1px solid rgba(255, 215, 0, 0.3);
            border-radius: 16px;
            scroll-snap-align: center;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s ease, border-color 0.3s ease;
            position: relative;
        }

        .div9:hover {
            transform: translateY(-8px);
            border-color: gold;
        }

        /* CONTENITORE IMMAGINE + BADGE PREZZO */
        .img-container {
            position: relative;
            width: 100%;
            height: 60%;
        }

        .img4 {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        }

        /* BADGE PREZZO SULL'IMMAGINE */
        .price-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: gold;
            color: black;
            font-weight: 700;
            font-size: 14px;
            padding: 6px 14px;
            border-radius: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            letter-spacing: 0.5px;
        }

        .card-content {
            padding: 18px 20px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 40%;
        }

        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 6px;
        }

        .card-title a {
            color: inherit;
            text-decoration: none;
        }

        .card-desc {
            font-size: 13px;
            color: #aaa;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        /* BLOCCO PREZZO FISSO SOTTO */
        .price-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 10px;
        }

        .price-label {
            font-size: 12px;
            color: #888;
            text-transform: uppercase;
        }

        .price-amount {
            font-size: 18px;
            font-weight: 700;
            color: gold;
        }

        /* --- PULSANTI FRECCE --- */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: gold;
            border: 1px solid gold;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: gold;
            color: black;
            box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
        }

        .prev-btn {
            left: 20px;
        }

        .next-btn {
            right: 20px;
        }

        @media (min-width: 769px) {
            .div9 {
                flex: 0 0 calc(33.333% - 16px);
            }
        }
/*fine sezione card*/



.navigation {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
}

.logo-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0%;
    left: 3%;
    position: absolute;

}

.logo-light {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0%;
    left: 3%;

}

.navigation a {
    color: inherit;
    text-decoration: none;
    margin-left: 2%;

    display: flex;

}

.site-content{background: black;
    z-index: -1000;
    position: relative;
}
.linea {
    width: 100%;
    height: 500px;
    background: transparent;
    z-index: -2;
    position: relative;
}
.herosection1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}
.herosection {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: -1000;
    
}

.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Gestione del video */
.video-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

}

/* Ecco dove finisce il tuo codice: applichiamo il gradiente sopra al video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Il tuo esatto linear-gradient di prima */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));

}
.testo{
    position: absolute;
    color: white;
    font-size: 40px;
    margin-bottom: 10%;
    max-width:70%;
    text-align: center;
    z-index: 2;
}
.testo2{
    margin-top: 10%;
     border-top: 1px solid gold;
   border-bottom: 1px solid gold;
    color: white;
    max-width:60%;
    text-align: center;
    position: absolute;
    z-index:2;
    font-size: 30px;
}



/* --- GESTIONE DEI LOGHI --- */
.logo img {
    width: 182px;
    height: 100px;
    /* Regola l'altezza del tuo logo */
    width: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Stato iniziale: mostra il bianco, nascondi lo scuro */
.logo-light {
    opacity: 1;
    position: absolute;
    /* Sovrappone i due loghi */
}

.logo-dark {
    opacity: 0;
}

/* --- ANIMAZIONI ALLO SCROLL --- */

/* Animazione specifica per i loghi usando la stessa timeline dello scroll */
@keyframes scroll-logos {
    to {
        opacity: 0;
        /* Il logo bianco sparisce */
    }
}

@keyframes scroll-logo-dark {
    to {
        opacity: 1;
        /* Il logo scuro appare */
    }
}

.logo-light {
    animation: scroll-logos linear both;
    animation-timeline: scroll();
    animation-range: 0px 100px;
}

.logo-dark {
    animation: scroll-logo-dark linear both;
    animation-timeline: scroll();
    animation-range: 0px 100px;
}


 /* Sezione finale / Newsletter */
        .sezfin {
            min-height: 70vh;
            width: 100%;
            background: rgba(212, 175, 55, 0.5);;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;

        }
.sezfin:hover{border:solid gold 1px;

}
        .divfin {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 600px;
            width: 100%;
            text-align: center;
            gap: 16px;
        }

        .title {
            font-size: 31px;
            font-weight: 700;
            color: gold;
            line-height: 1.2;
        }

        .subtitle {
            font-size: 18px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Form di iscrizione */
        .newsletter-form {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            width: 100%;
            max-width: 480px;
            position: relative;
            gap: 10px;
            margin: 10px 0;
        }

        .newsletter-input {
            width: 100%;
            height: 56px;
            background: #434343;
            color: #ffffff;
            border: 1px solid transparent;
            border-radius: 18px;
            padding: 0 20px;
            font-family: inherit;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .newsletter-input:focus,
        .newsletter-message:focus {
            border-color: gold;
        }

        .newsletter-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter-message {
            min-height: 120px;
            height: auto;
            padding: 14px 20px;
            resize: vertical;
        }

        .newsletter-field-label {
            color: #ffffff;
            font-size: 14px;
            text-align: left;
        }

        .newsletter-consent {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            line-height: 1.5;
            text-align: left;
        }

        .newsletter-consent input {
            flex: 0 0 auto;
            margin-top: 3px;
            accent-color: gold;
        }

        .newsletter-honeypot {
            position: absolute;
            left: -10000px;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        .newsletter-notice {
            color: gold;
            font-size: 15px;
            font-weight: 600;
        }

        .newsletter-notice-error {
            color: #ff9b9b;
        }

        .newsletter-btn {
            position: static;
            align-self: center;
            min-width: 140px;
            min-height: 46px;
            background: gold;
            color: #ffffff;
            border: none;
            border-radius: 21px;
            font-family: inherit;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .newsletter-btn:hover {
            background: #d4c85b;
        }

        .disclaimer {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.5;
            max-width: 90%;
        }

        .disclaimer a {
            color: #ffffff;
            text-decoration: underline;
        }
           /*footer*/
        footer {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-top: 1px solid #ddd;
            align-items: center;

            background-color: black;
        }

        .site-footer {
            background-color: rgba(0, 0, 0, 0.75);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .sct2 {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-direction: column;
            padding-bottom: 30px;
            border-bottom: 1px solid #eee;
        }

        .logo3 {
            width: 109px;
            height: 60px;
            align-items: center;
            justify-content: center;
            display: flex;
        }

        .container2 {
            display: flex;
            flex-direction: row;
            width: 80%;

            gap: 17%;
            flex-grow: 1;
            margin-left: 5%;
        }

        .container {
            display: flex;

            flex-direction: column;
            width: 200px;
            margin-top: 5%;

        }

        .p60 {
            font-weight: bold;
            font-size: 16px;

            margin-bottom: 15px;
            color: #ffffff;
        }

        .container ul {
            list-style: none;
        }

        .container ul li {
            margin-bottom: 8px;
        }

        .container ul li a {
            text-decoration: none;
            color: #ffffff99;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .container ul li a:hover {
            color: white;
        }

        .sct3 {
            width: 1004px;
            height: 153px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            flex-direction: row;
            max-width: 1200px;
        }

        .p50 {
            margin-bottom: 3%;
            font-size: 14px;
            color: #ffffffbf;
            max-width: 40%;
            font-weight: bold;
            line-height: 1.5;
        }

        .div200 {
            display: flex;
            flex-direction: column;

            align-items: flex-end;
        }

        .div100 {
            display: flex;
            flex-direction: row;
            gap: 15px;
            align-items: center;
            justify-content: center;
        }

        .logo5 {
            height: 72px;
            width: 198px;

            background: white;
        }

        .logo4 {
            height: 88px;
            width: 85px;

            background: white;
        }

        .p70 {
            font-size: 12px;
            color: #63bc2d;
            font-weight: bold;
            margin-left: 10px;
        }

        .divl {
            width: 1004px;
            height: 60px;
            margin-left: 5%;
            margin-top: 3%;

        }
        .sct4{height:104px;
        border-top:solid white 1px;
        width:100%;
            
        }
        .text{
            font-size:12px;
            font-weight:bold;
            color:#ffffff99;
            white-space:nowrap;
            margin-top:3%;
            margin-left:3%;
        }
        /*fine footer*/