/* Import Google Fonts */
/*@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Quicksand:wght@300..700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&display=swap');
/*.quicksand-<uniquifier> {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.crimson-pro-<uniquifier> {
  font-family: "Old Standard TT", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}*/
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {    
    --primary-red: #D4AF37 ;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
}

body {
    font-family: "Quicksand", sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--primary-red);
}
.bk_page{
    background-color: #f5f5f5;
}
/* CTA con Rombo - Classe Riusabile */
.cta-with-diamond {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
}

.cta-with-diamond span {
    line-height: 1;
    display: flex;
    align-items: center;
    padding-top: 5px;
}
.cta-diamond-container {
    width: 18px;
    height: 23px;
    position: relative;
    flex-shrink: 0;
}
.cta-diamond-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-dasharray: 120;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.6s ease-out;
}

/* Effetto Hover - Il rombo scompare */
.cta-with-diamond:hover .cta-diamond-path {
    stroke-dashoffset: 120;
}

.cta-with-diamond.cta-with-diamond-page{    
    margin-top: 15px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.cta-text {
    line-height: 1;
    display: flex;
    align-items: center;
    padding-top: 10px;
    position: relative; /* IMPORTANTE: aggiungi questo */
}
.cta-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0; /* Cambiato da 0% */
    width: 0;
    height: 1px;
    background: currentColor; /* o #fff se preferisci */
    transition: width 0.6s ease-out;
}
.cta-with-diamond:hover .cta-text::after {   
    width: 100%;
}

.btn-outline-primary, .wpcf7 input[type=submit] {
    --bs-btn-color: #922952;
    --bs-btn-border-color: #922952;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #922952;
    --bs-btn-hover-border-color: #922952;
    --bs-btn-focus-shadow-rgb: 85,51,255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #922952;
    --bs-btn-active-border-color: #922952;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #922952;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #922952;
    --bs-gradient: none;
}
/* ===================================
   TYPOGRAPHY RULES
   =================================== */
/* Titoli e sottotitoli con font ANTON */
h1, h2, h3, h4, h5, h6 {
    /*font-family: "Old Standard TT", serif;*/
    font-family: "Playfair Display", serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Paragrafi con font RALEWAY */
p {
    /*font-family: "Playfair Display", serif;*/
    font-family: "Quicksand", sans-serif;
}
.section-title {   
    text-align: left;
    letter-spacing: 1px;
    color: var(--text-dark);
    position: relative;
    padding-left: 24px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 35px;
    background-color: var(--primary-red);
}
 /* ========================================= */
        /* INIZIO STILI LOADING SCREEN */
        /* Da copiare in altre pagine */
        /* ========================================= */
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            z-index: 10000;
            transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
        }

        body.loaded #loading-screen {
            transform: translateY(-100%);
        }

        .loader-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .loader-content img {
    max-width: 200px;
    width: 80%;
    min-width: 150px;
    height: auto;
    display: block;
    opacity: 0.3;
    transition: opacity 4s ease-in-out;
    animation: pulse 3s infinite ease-in-out;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden; /* BONUS: previene flickering */
}

@keyframes pulse {
    0% { 
        transform: scale(1) translateZ(0);
    }
    50% { 
        transform: scale(1.08) translateZ(0);
    }
    100% { 
        transform: scale(1) translateZ(0);
    }
}

        #loading-percentage {
            margin-top: 30px;
            font-size: 1.5rem;
            font-weight: 500;
            letter-spacing: 2px;
            opacity: 0.6;
            transition: opacity 4s ease-in-out;
        }

        #main-content {
            position: relative;
            width: 100vw;
            height: 100vh;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1.5s ease-in, visibility 1.5s ease-in;
        }

        body.loaded #main-content {
            opacity: 1;
            visibility: visible;
        }
 /* ========================================= */
        /* FINE STILI LOADING SCREEN */
        /* ========================================= */


        /* ========================================= */
        /* INIZIO STILI CONTENUTO PAGINA */
        /* Specifici per questa pagina */
        /* ========================================= */
        
        /* --- Animazioni Background Layers --- */
        .background-layers {
            position: relative;
            overflow: hidden;
        }

        /* Stato iniziale dei layer - scale 1 (100%) */
        .table-layer,
        .bottle-layer {
            transform: matrix(1, 0, 0, 1, 0, 0);
            transition: transform 5s ease-out;
            position: relative;
        }

        /* Effetto zoom molto lento - da 100% a 105% */
        .table-layer.zoom-in,
        .bottle-layer.zoom-in {
            transform: matrix(1.05, 0, 0, 1.05, 0, 0);
        }

        /* Un unico overlay nero che copre tutto il background-layers */
        .background-layers-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            z-index: 20;
            transform: translateX(0%);
        }

        /* Animazione overlay più lenta - si sposta da sinistra a destra */
        .background-layers-overlay.slide-out {
            animation: slideOutRight 3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
        }

        @keyframes slideOutRight {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(100%);
            }
        }

        /* Animazione fade-in per il titolo wine-title */
        .wine-title {
            opacity: 0;
            transition: opacity 1s ease-in;
        }

        .wine-title.fade-in {
            opacity: 1;
        }
        
        /* --- Sfondo Video e Fallback --- */
        .background-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
        }
        
        .background-container video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: translateX(-50%) translateY(-50%);
        }

        .fallback-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://tenutafriggiali.sviluppo.host/wp-content/uploads/2025/11/fallback-friggiali.jpg');
            background-size: cover;
            background-position: center;
            z-index: -1;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: -1;
        }

        /* --- Icona Burger Menu --- */
        .box-burger {
            position: fixed;
            top: 40px;
            right: 40px;
        } 

        .burger {
            width: 50px;
            height: 50px;
            cursor: pointer;
        }

        .burger line {
            stroke: #fff;
            stroke-width: 1.0;
            stroke-linecap: round;
            transition: transform 0.3s ease, stroke 0.3s ease;
            transform-origin: center;
        }

        .burger circle {
            fill: #fff;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .burger:hover .line-top,
        .burger:hover .line-bottom {
            transform: translateX(4px);
        }

        .burger:hover .line-middle {
            transform: translateX(-4px);
        }

        .burger:hover circle {
            opacity: 1;
        }

        /* --- Logo Centrale --- */
        .logo-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            max-width: 60%;
        }

        .logo-container img {
            /*max-width: 320px;
            width: 100%;
            height: auto;*/
            height: 500px;
            max-height: calc(100vh - 350px);
            width: auto;
        }

        /* --- Menu in Basso --- */
        .main-menu {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            background: transparent;
            padding: 20px 40px;
            border-radius: 20px;
        }

        .main-menu ul {
            list-style: none;
            display: flex;
            gap: 100px;
            flex-wrap: nowrap;
            justify-content: center;
        }

        .main-menu li {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            position: relative;
        }

        .diamond-container {
            width: 18px;
            height: 23px;
            position: relative;
        }

        svg {
            width: 100%;
            height: 100%;
        }

        .diamond-path {
            fill: none;
            stroke: #fff;
            stroke-width: 1;
            stroke-dasharray: 120;
            stroke-dashoffset: 120;
            transition: none;
        }

        .main-menu a {
            text-decoration: none;
            color: #fff;
            font-size: 24px;
            font-weight: 300;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            position: relative;
            text-transform: uppercase;
        }

        .main-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 1px;
            background: #fff;
            transition: width 0.6s ease-out;
        }

        .main-menu li:hover a::after {
            width: 80%;
        }

        /* --- Responsive --- */
        @media (max-width: 1200px) {
            .main-menu ul {
                gap: 50px;
            }
            .main-menu a {
                font-size: 20px;
            }
        }

        @media (max-width: 768px) {
            .logo-container {
                top: 35%;
                max-width: 80%;
                padding-top: 130px;
            }

            .logo-container img {
                max-width: 220px;
            }

            .main-menu {
                bottom: 30px;
                left: 0;
                right: 0;
                transform: none;
                padding: 20px 0;
                width: 100%;
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
            }

            .main-menu::-webkit-scrollbar {
                height: 4px;
            }

            .main-menu::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.1);
            }

            .main-menu::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.3);
                border-radius: 2px;
            }

            .main-menu ul {
                flex-direction: row;
                gap: 40px;
                padding: 0 20px;
                min-width: max-content;
            }

            .main-menu li {
                flex-shrink: 0;
            }

            .main-menu a {
                font-size: 18px;
                white-space: nowrap;
            }

            .box-burger {
                top: 20px;
                right: 20px;
            }

            .burger {
                width: 40px;
                height: 40px;
            }
            .background-layers:after{
                content: "";
              position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(0,0,0,0.40);
    z-index: 10; 
            }
        }

        @media (max-width: 480px) {
            .logo-container img {
                max-width: 180px;
            }

            .main-menu a {
                font-size: 16px;
            }

            .main-menu ul {
                gap: 30px;
            }
        }
        /* ========================================= */
        /* FINE STILI CONTENUTO PAGINA */
        /* ========================================= */


 /* ========================================= */
        /* SCHEDA VINO */
        /* ========================================= */

 .wine-header {
            position: relative;
            width: 100%;
            height: 700px;
            background: #000;
            overflow: hidden;
        }

        .wine-title {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            color: white;
            text-align: center;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
            margin: 0;
            padding: 0 15% 0 0;
            width: 75%;
        }

        .wine-title .tenuta {
            font-size: 2rem;
            font-weight: 400;
            display: block;
            margin-bottom: 0px;
            letter-spacing: 2px;
            /*font-family: "Playfair Display", serif;*/
            font-family: "Quicksand", sans-serif;
        }

        .wine-title .wine-name {
            font-size: 4rem;
            font-weight: 300;
            display: block;
        }

        .background-layers {
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            will-change: transform;
        }

       .gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, transparent 100%);
    pointer-events: none;
}

.table-layer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;   
    background-size: auto 100%;
    background-position: right bottom;
    background-repeat: no-repeat;

    /* Stato iniziale: nascosto fino a quando non viene coperto dall'overlay */
    opacity: 0;
    transform: matrix(1, 0, 0, 1, 0, 0);
    
    /* will-change è utile tenerlo qui per ottimizzare l'animazione */
    will-change: transform; 
}

/* Classe per rendere visibile il layer quando l'overlay è pronto */
.table-layer.ready {
    opacity: 1;
}
.animate-fade-in-up {
    /* Questa è la proprietà che fa partire l'animazione */
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

/* Definizione dell'animazione (rimane invariata) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

        .bottle-layer {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;            
            background-size: auto 100%;
            background-position: right bottom;
            background-repeat: no-repeat;
            /* Stato iniziale: nascosto fino a quando non viene coperto dall'overlay */
            opacity: 0;
            transform: matrix(1, 0, 0, 1, 0, 0);
    
            /* will-change è utile tenerlo qui per ottimizzare l'animazione */
            will-change: transform; 
            
        }

        /* Classe per rendere visibile il layer quando l'overlay è pronto */
        .bottle-layer.ready {
            opacity: 1;
        }

        .animate-fade-in-up2 {
    /* Questa è la proprietà che fa partire l'animazione */
   animation: bottleEntrance 1.5s ease-out 0.6s forwards;
}

        @keyframes bottleEntrance {
             from {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
    }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Mobile */
        @media (max-width: 768px) {
            .wine-header {
                height: 600px;
            }

            .wine-title {
                top: 30%;
                padding: 0 10% 0 0;
            width: 85%;
            }

            .wine-title .tenuta {
                font-size: 1.2rem;
            }

            .wine-title .wine-name {
                font-size: 2.5rem;
            }

            .background-layers {
                width: 100%;
            }

            .table-layer,
            .bottle-layer {
                background-position: right bottom;
            }
        }

        @media (max-width: 576px) {
            .wine-title .wine-name {
                font-size: 2rem;
            }

            .wine-title .tenuta {
                font-size: 1rem;
            }
        }

/***** SCHEDA VINI CONTENUTI******/
        .wine-sheet-container {
    padding: 60px 100px 30px 100px  ;    
    min-height: 100vh;
}

.breadcrumb-vino {
    padding: 10px 20px;
    font-size: 14px;
    color: #D4AF37;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
}

.breadcrumb-vino a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-vino a:hover {
    color: #D4AF37;
}

.breadcrumb-vino span {
    margin: 0 4px;
    color: #999;
}

.vino-header-section {
    margin-bottom: 50px;
    position: relative;
}

.vino-header-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, #D4AF37, #fff);
}

.nome-tenuta {
    font-size: 16px;
    letter-spacing: 3px;
    color: #D4AF37;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.titolo-vino {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 300;
}

.sottotitolo-vino {
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    padding-bottom: 15px;
}

.dettagli-vino {
    background: white;
    border-radius: 12px;
}

.campo-dettaglio {
    margin-bottom: 20px;
    padding-bottom: 15px;
    /*border-bottom: 1px solid #f0f0f0;*/
    position: relative;
    padding-left: 25px;
}
.campo-dettaglio::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #f0f0f0, #fff);
}
.campo-dettaglio-titolo {
    padding-left: 0;
}
.icona-rombo {
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
    width: 12px;      /* La diagonale minore ora è 12px */
    height: 15.33px;  /* Altezza proporzionale per mantenere la forma */
}
.icona-rombo-big {
    width: 18px;      
    height: 23px;  
}
.campo-dettaglio:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.campo-dettaglio:last-child::after {
    display: none;
}
.icona-rombo .diamond-path2 {
    fill: none;
    stroke: #D4AF37;
    stroke-width: 1.5;
}
.icona-rombo .diamond-path2-grigio {
    stroke: #a1a1a1;
}

.etichetta-campo {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.contenuto-campo {
    font-size: 14px;
}

.contenitore-bottiglia {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.decorazione-bottiglia {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.decorazione-bottiglia::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.contenitore-bottiglia:hover .decorazione-bottiglia::before {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(212,175,55,0.25) 0%, transparent 70%);
}

.wrapper-bottiglia {
    position: relative;
    z-index: 2;
    max-width: 300px;
}

.wrapper-bottiglia img {
    width: 100%;
    height: auto;
}

.riflesso-bottiglia {
    position: absolute;
    top: 0%;
    left: 30%;
    width: 60px;
    height: 200px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.divisore-sezione {
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.divisore-sezione::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.divisore-sezione span {
    background: white;
    padding: 0 20px;
    position: relative;
    color: #D4AF37;
    font-size: 20px;
}

/* Sezioni speciali */
.sezione-degustazione {
    background: linear-gradient(to left, #ffffff 0%, #fafafa 100%);
    padding: 10px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 1px solid #dddddd;
}

.sezione-abbinamenti {
    background: linear-gradient(to left, #ffffff 0%, #fafafa 100%);
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 1px solid #dddddd;
}


/* Sezione Premi e Riconoscimenti */
.sezione-premi {
   background: linear-gradient(to left, #ffffff 0%, #fffbf5 100%);
    padding: 10px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 1px solid #D4AF37;
}

.titolo-premi {
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.titolo-premi::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #f0d477);
}
.sezione-premi .campo-dettaglio-titolo .etichetta-campo {
    color: #D4AF37;
}
.elemento-premio {
    background: linear-gradient(135deg, #fffbf5 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #D4AF37;
    position: relative;
    padding-left: 60px;
    transition: transform 0.3s, background 0.3s;
}

.elemento-premio:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.elemento-premio::before {
    content: '🏆';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
}

.elemento-premio:last-child {
    margin-bottom: 0;
}

.anno-premio {
    font-weight: 700;
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.descrizione-premio {
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 14px;
}

.nessun-premio {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 40px 0;
}


/* Responsive */
@media (max-width: 991px) {
    .contenitore-bottiglia {
        margin-top: 40px;
        min-height: 400px;
    }
    
    .sezione-premi {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .wine-sheet-container{
        padding: 30px 15px 30px 15px
    }
    .titolo-vino {
        font-size: 32px;
    }
    
    .dettagli-vino {
        padding: 25px;
    }
    
    .sezione-premi {
        padding: 25px;
    }
    
    .elemento-premio {
        padding-left: 50px;
    }
    
    .elemento-premio::before {
        font-size: 22px;
        left: 15px;
    }
    
    .decorazione-bottiglia::before {
        width: 350px;
        height: 350px;
    }
    
    .contenitore-bottiglia:hover .decorazione-bottiglia::before {
        width: 400px;
        height: 400px;
    }
}

/* Animazioni personalizzate */
[data-aos="fade-right-custom"] {
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

[data-aos="fade-right-custom"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}
/* Nascondi i premi oltre il quarto */
.premio-nascosto {
    display: none;
}

/* Stile per il link toggle (puoi personalizzarlo) */
.toggle-premi {
    display: block;
    margin-top: 15px;
    text-align: center;
}
/* ============================================
   TENUTE VINI SECTION - Custom Styles
   ============================================ */

.tenute-vini {
    position: relative;
    overflow: hidden;
}

.tenute-vini .row {
    min-height: 600px;
}

/* ============================================
   BLOCCO TESTO - Sinistra
   ============================================ */
.tenute-vini {
    background-color: var(--light-gray);
    /*background-color: #fff;*/
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay semitrasparente quando c' un background */
.tenute-vini[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 245, 0.8);
    z-index: 0;
    pointer-events: none;
}

/* Assicurarsi che il contenuto stia sopra l'overlay */
.tenute-vini .container-fluid {
    position: relative;
    z-index: 1;
}
.tenute-vini__text-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    /*background-color: var(--light-gray);*/
    min-height: 600px;
}

.tenute-vini__text-content {
    text-align: left;
    width: 80%;
    /*min-width: 80%;*/
}
.tenute-vini--reverse .tenute-vini__text-content {
    text-align: right;
}
.tenute-vini__title {    
    margin-bottom: 1.5rem;
}

.tenute-vini__description {   
    margin-bottom: 2rem;
}

.tenute-vini__cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #8b4513;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.tenute-vini__cta:hover {
    background-color: #6d3410;
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================
   BLOCCO IMMAGINE - Destra
   ============================================ */

.tenute-vini__image-block {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.tenute-vini__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

.tenute-vini__image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

/* Effetto Zoom al Mouse Hover - Solo CSS */
.tenute-vini__image-wrapper:hover .tenute-vini__image {
    transform: scale(1.15);
}

/* ============================================
   OVERLAY - Animazione Reveal da Sinistra
   ============================================ */

.tenute-vini__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    /*background-color: #fff;*/
    z-index: 2;
    pointer-events: none;
    opacity: 1 !important; /* Forza opacit completa */
}

/* L'animazione AOS fade-right far muovere l'overlay da sinistra a destra */
[data-aos="fade-right"].tenute-vini__image-overlay {
    transform: translateX(0);
    opacity: 1 !important; /* Mantieni opacit al 100% */
}

[data-aos="fade-right"].tenute-vini__image-overlay.aos-animate {
    transform: translateX(100%);
    opacity: 1 !important; /* Mantieni opacit anche durante l'animazione */
}
/* Overlay Reverse - Animazione da Destra a Sinistra */
.tenute-vini__image-overlay--reverse {
    opacity: 1 !important;
}

[data-aos="fade-left"].tenute-vini__image-overlay--reverse {
    transform: translateX(0);
    opacity: 1 !important;
}

[data-aos="fade-left"].tenute-vini__image-overlay--reverse.aos-animate {
    transform: translateX(-100%);
    opacity: 1 !important;
}
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
    .tenute-vini__text-block,
    .tenute-vini__image-block,
    .tenute-vini__image-wrapper {
        min-height: 500px;
    }
    
    .tenute-vini .row {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .tenute-vini__text-block {
        padding: 3rem 1.5rem;
        min-height: 400px;
    }
    
    .tenute-vini__image-block,
    .tenute-vini__image-wrapper {
        min-height: 400px;
    }
    
    .tenute-vini__description {
        font-size: 1rem;
    }
}
/* Gradient overlay sul blocco testo quando  a sinistra (default) */
.tenute-vini[style*="background-image"] .tenute-vini__text-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f5f5f5, transparent);
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay sul blocco testo quando  a destra (reverse) */
.tenute-vini--reverse[style*="background-image"] .tenute-vini__text-block::before {
    background: linear-gradient(to left, #f5f5f5, transparent);
}

/* Assicurarsi che il contenuto del testo stia sopra il gradient */
.tenute-vini__text-block {
    position: relative;
}

.tenute-vini__text-content {
    position: relative;
    z-index: 1;
}

 /* ========================================= */
        /* FINE STILI SCHEDA VINO */
        /* ========================================= */
/* ===================================
   FOOTER (NEW DESIGN)
   =================================== */
.footer {
    background-color: #000;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.logo-footer {
    max-width: 100px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-col p {
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--medium-gray);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #D4AF37;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #D4AF37;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: var(--medium-gray);
    font-size: 14px;
}
/* ============================================
   CUSTOM HEADER & MEGAMENU STYLES
   ============================================ */

/* HEADER BASE */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000;
    padding: 20px 0;
    z-index: 9998;
    transition: all 0.3s ease;
}

.custom-header .container-fluid {
    margin: 0 auto;
    padding: 0 30px;
}

/* BURGER MENU ICON */
.burger-menu {
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.burger-line {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.burger-menu:hover .burger-line {
    background-color: #c5a572;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* LOGO */
.custom-logo-link img {    
    width: 50px !important;
    transition: opacity 0.3s ease;
}

.site-logo:hover .logo-img {
    opacity: 0.8;
}

/* CART ICON */
.cart-icon {
    color: #fff;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #c5a572;
}

/* ============================================
   MEGAMENU OVERLAY
   ============================================ */

.megamenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(197, 165, 114, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(197, 165, 114, 0.05) 0%, transparent 50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
}

.megamenu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.megamenu-container {
    position: relative;
    width: 100%;   
    padding: 60px 30px;
    height: 100%;
}

/* CLOSE BUTTON */
.megamenu-close {
    position: absolute;
    top: 30px;
    left: 30px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 99999;
}

.megamenu-close:hover {
    color: #c5a572;
    transform: rotate(90deg);
}

/* LANGUAGE SELECTOR */
.language-selector {
    position: absolute;
    top: 40px;
    right: 30px;
    display: flex;
    gap: 15px;
}

.lang-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
    color: #fff;
}

/* LOGO CENTRALE */
.megamenu-logo {
    text-align: center;
    margin-bottom: 80px;
}

.megamenu-logo img {
    width: 80px !important;
    width: auto;
}

/* MEGAMENU CONTENT */
.megamenu-content {
    max-width: 1200px;
    margin: 0 auto;
}

.megamenu-column {
    margin-bottom: 20px;
}

.megamenu-title {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.megamenu-title a{
    /*display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;*/
}
.megamenu-title a span{
    line-height: 1;
    display: flex;
    align-items: center;
    padding-top: 5px;
}
.megamenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.megamenu-list li {
    margin-bottom: 15px;
}

.megamenu-list a {
    color: #999;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.megamenu-list a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c5a572;
    transition: width 0.3s ease;
}

.megamenu-list a:hover {
    color: #fff;
}

.megamenu-list a:hover::before {
    width: 100%;
}

/* HIGHLIGHTED LINK */
.megamenu-list li.highlighted a {
    color: #c5a572;
    border-bottom: 1px solid #c5a572;
    padding-bottom: 5px;
}

.megamenu-list li.highlighted a::before {
    display: none;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.megamenu-overlay::before {
    /*content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="80" fill="rgba(197,165,114,0.03)" font-family="serif">A</text></svg>') center center no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: 0.3;*/
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .megamenu-content .row {
        /*flex-direction: column;*/
    }
    
    .megamenu-column {
        /*width: 100%;
        max-width: 500px;
        margin: 0 auto 40px;*/
    }
    
    .megamenu-logo {
        margin-bottom: 60px;
    }
    
    .megamenu-logo img {
        width: 50px !important;
    }
    
    .language-selector {
        top: 30px;
        right: 20px;
    }
    
    .megamenu-close {
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 767px) {
    .custom-header .container-fluid {
        padding: 0 20px;
    }
    
    .site-logo .logo-img {
        height: 40px;
    }
    
    .burger-line {
        width: 25px;
    }
    
    .megamenu-container {
        padding: 40px 20px;
    }
    
    .megamenu-title {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .megamenu-list a {
        font-size: 16px;
    }
    
    .language-selector {
        /*position: static;
        justify-content: center;
        margin-bottom: 30px;
        padding-top: 20px;*/
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}
/* ============================================
   Video Background Section
   ============================================ */

.vini-hero-section {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 80px 0;
}

.vini-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.vini-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.vini-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* Title Styling - come Brunello ma colore diverso */
.vini-main-title {    
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
}

.vini-main-title.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

/* Tenute List */
.tenute-list {
    opacity: 0;
    transform: translateY(30px);
}

.tenute-list.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.tenute-list h3 {    
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
}
.tenuta-item {
    font-size: 1.5rem;
    color: #fff;
    padding: 12px 0 12px 25px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: block;
}
.tenuta-item span {
    display: block;
}
.tenuta-item:hover {
    color: #D4AF37;
    padding-left: 35px;
}

.tenuta-item.active {
    color: #D4AF37;
}

.tenuta-item.active::before {
    /*content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #D4AF37;*/
}
.tenuta-item .icona-rombo {
    top: 30px;
    transition: all 0.3s ease;
}
.tenuta-item:hover .icona-rombo {
    left: 10px;
}
.tenuta-item .icona-rombo .diamond-path {
    stroke: #fff;
}
.tenuta-item:hover .icona-rombo .diamond-path, .tenuta-item.active .icona-rombo .diamond-path {
    stroke: #D4AF37;
}
/* Vini List - Nascosta di default */
.vini-list {
    opacity: 0;
    transform: translateY(30px);
    display: none;
}

.vini-list.animate-fade-in-up {
    display: block;
    animation: fadeInUp 1s ease forwards;
}

.vini-list h3 {    
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
}

.vini-items {
    display: none;
    min-height: 300px;
}

.vini-items.show {
    display: block;
}

.vino-item {
    opacity: 0;
    transform: translateX(20px);
    margin-bottom: 20px;
}

.vino-item.animate-fade-in-right {
    animation: fadeInRight 0.5s ease forwards;
}
.vino-link {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
font-weight: 300;
letter-spacing: 0.5px;
transition: all 0.3s ease;
display: inline-block;
position: relative;
}

.vino-link::before {
   content: '';
    position: absolute;
   bottom: -3px;
    left: 0;
   width: 0;
    height: 1px;
    transition: width 0.3s ease;
}
.vino-link:hover::before {
    width: 100%;
}
.vino-sopratitolo {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.80);
    font-style: italic;
}
.vino-title {
    font-weight: 600;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.vino-denominazione {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.80);
    font-style: italic;
}
.vino-item:hover .vino-link, .vino-item:hover .vino-denominazione , .vino-item:hover .vino-sopratitolo{
    color: #D4AF37;
}
/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .vini-main-title {
        font-size: 3rem;
        margin-bottom: 40px;
    }
    
    .tenute-list,
    .vini-list {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .vini-main-title {
        font-size: 2.5rem;
    }
    
    .vini-hero-section {
        min-height: auto;
        padding: 60px 0;
    }
}
/* ============================================
   TAXONOMY TENUTA - PAGINA SINGOLA TENUTA
   Aggiungi questo codice alla fine del file custom.css
   ============================================ */

/* Hero Section Tenuta */
.tenuta-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 80px 0;
}

.tenuta-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.tenuta-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.tenuta-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* Titolo Tenuta */
.tenuta-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
}

.tenuta-main-title.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

/* Lista Vini della Tenuta */
.vini-tenuta-list {
    opacity: 0;
    transform: translateY(30px);
}

.vini-tenuta-list.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.vini-tenuta-list h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
}

.vino-tenuta-item {
    font-size: 1.5rem;
    color: #fff;
    padding: 12px 0 12px 25px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
}

.vino-tenuta-item span {
    display: block;
}

.vino-tenuta-item:hover {
    color: #D4AF37;
    padding-left: 35px;
}

.vino-tenuta-item .icona-rombo {
    top: 35px;
    transition: all 0.3s ease;
}

.vino-tenuta-item:hover .icona-rombo {
    left: 10px;
}

.vino-tenuta-item .icona-rombo .diamond-path {
    stroke: #fff;
}

.vino-tenuta-item:hover .icona-rombo .diamond-path {
    stroke: #D4AF37;
}
.vino-tenuta-sopratitolo {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.80);
    font-style: italic;
    display: block;
    text-transform: none;
}
.vino-tenuta-title {
    font-weight: 600;
    display: block;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.vino-tenuta-denominazione {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.80);
    font-style: italic;
    display: block;
    text-transform: none;
}

/* Bottiglia Preview */
.bottiglia-preview {
    opacity: 0;
    transform: translateY(30px);
}

.bottiglia-preview.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.bottiglia-container {
    position: relative;
    min-height: 500px;
    /* non serve pi flex */
}

.bottiglia-img {
    position: absolute;
    top: 0;               
    left: 50%;
    transform: translateX(-50%);
    max-height: 500px;
    width: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

.bottiglia-img.active {
    opacity: 0.1;
}

/* Animazione bottiglia */
@keyframes bottleAppear {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.bottiglia-img.active {
    animation: bottleAppear 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 991px) {
    .tenuta-main-title {
        font-size: 3rem;
        margin-bottom: 40px;
    }
    
    .vini-tenuta-list {
        margin-top: 30px;
    }
    
    .bottiglia-preview {
        margin-top: 30px;
    }
    
    .bottiglia-container {
        min-height: 400px;
    }
    
    .bottiglia-img {
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .tenuta-main-title {
        font-size: 2.5rem;
    }
    
    .tenuta-hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .bottiglia-container {
        min-height: 300px;
    }
    
    .bottiglia-img {
        max-height: 300px;
    }
}
/* ============================================
   WINE HERO BLOCK - Blocco Gutenberg Custom
   ============================================ */

.wine-hero-block {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

/* Background Image */
.wine-hero-block__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
    z-index: 1;
}

.wine-hero-block .row {
    position: relative;
    z-index: 2;
    min-height: 400px;
}

/* Forza la stessa altezza per entrambe le colonne */
/*.wine-hero-block .row > [class*="col-"] {
    position: relative;
}*/

/* ============================================
   COLONNA SINISTRA - Bottiglia
   ============================================ */

.wine-hero-block__bottle-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
}

.wine-hero-block__bottle-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.wine-hero-block__bottle {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ============================================
   COLONNA DESTRA - Testi
   ============================================ */

.wine-hero-block__content-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    margin-left: 50%;
    width: 50%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 50%, transparent 100%);
}

.wine-hero-block__content {
    text-align: right;
    color: #fff;
    padding: 4rem 4rem 4rem 2rem;
    max-width: 700px;
}

/* Categoria / Soprattitolo */
.wine-hero-block__category {
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Titolo - Usa le stesse dimensioni del blocco precedente */
.wine-hero-block__title {
    margin-bottom: 1.5rem;
    color: #fff;
}

/* Testo WYSIWYG */
.wine-hero-block__text {
    color: #fff;
    margin-bottom: 2rem;
}

.wine-hero-block__text p {
    margin-bottom: 1rem;
}

.wine-hero-block__text p:last-child {
    margin-bottom: 0;
}

.wine-hero-block__text em {
    font-style: italic;
    opacity: 0.9;
}

.wine-hero-block__text strong {
    font-weight: 700;
}

/* CTA Button */
.wine-hero-block__cta {
    /*color: #fff;*/
    justify-content: flex-end;
}

.wine-hero-block__cta:hover {
    /*color: #fff;*/
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
    .wine-hero-block__bottle-col {
        width: 50%;
    }    
    .wine-hero-block__content-col {
        margin-left: 50%;
        width: 50%;
    }    
    .wine-hero-block__content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 767px) {
    /* Su mobile ritorna al layout normale */
    .wine-hero-block__bottle-col {
        position: relative;
        width: 100%;
        min-height: 400px;
        margin-left: 0;
    }    
    .wine-hero-block__content-col {
        position: relative;
        width: 100%;
        margin-left: 0;
        justify-content: center;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 50%, transparent 100%);
    }    
    .wine-hero-block__bottle-wrapper {
        padding: 1rem;
    }    
    .wine-hero-block__content {
        text-align: center;
        padding: 3rem 1.5rem;
    }    
    .wine-hero-block__cta {
        justify-content: center;
    }
}
.footer-info{
    font-size: 14px;
}
/* form contatti  */
.tenute-vini form  .row {
    min-height: auto;
}
.wpcf7-not-valid {
    border-color: #dc3545;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.375rem;
}
