/*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*/
.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;
}
/* Inizio società card */
.sctsoc {
    width: 100%;
    background: rgba(212, 175, 55, 0.5);
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    
    position: relative;
    z-index: 3;
}

.soc1 {
    width: 1000px;
    min-height: 328px;
    display: flex;
    padding: 30px;
    gap: 5%;
    z-index: 1;
    border-bottom: solid 2px gold;
    flex-direction: row;
    background: black;
    border-radius: 30px;
    margin-bottom: 5%;
    transition: all 0.3s ease;
    align-items: center;
}

.soc1:hover {
    border-radius: 50px;
    border: solid 2px gold;
}

.soc2 {
    flex-direction: column;
    display: flex;
    width: 100%;
}

.imgsoc {
    width: 160px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.titlsoc {
    font-size: 24px;
    color: gold;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.psoc1 {
    font-size: 15px;
    color: white;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.psoc2 {
    font-size: 16px;
    color: white;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.psoc3 {
    font-size: 14px;
    color: #124197;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
    margin: 0;
}

.divsoc {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    text-decoration: none;
}

.divsoc a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.imgsoc1 {
    font-size: 34px;
    color: #124197;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.imgsoc1:hover,
.psoc3:hover {
    color: #a0b3d5;
}

/* Responsive per dispositivi mobili */
@media (max-width: 1024px) {
    .soc1 {
        width: 90%;
        max-width: 1000px;
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    .divsoc, .divsoc a {
        justify-content: center;
    }

}
.testosezione {
    font-size: 50px;
    color: #D4AF37;
    font-weight: bold;
    position: absolute;
    z-index: 2;
    text-align: center;
    margin: 0;
}