/* =========================================
   1. VARIABILI E RESET
========================================= */
:root {
    --bg-color: #ffffff;
    --text-color: #3e2723;
    --gold: #d4af37;
    --gold-hover: #b5952f;
    --light-gray: #f9f9f9;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

p {
    color: #555555;
    font-size: 1.05rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    transition: 0.3s;
}


/* =========================================
   2. HEADER E NAVIGAZIONE
========================================= */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.lista-link {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.lista-link a {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.lista-link a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

.lista-link a:hover {
    color: var(--gold);
}

.lista-link a:hover::after {
    width: 100%;
}

.lista-link a.active {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

.tasto-menu {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s;
    background-color: #fff;
}


/* =========================================
   3. HERO SLIDER E HERO STATICA
========================================= */
.hero-slider,
.hero-static {
    height: 100vh;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
}

.hero-static {
    background-color: #1a0f0c;
}

.hero-logo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: auto;
    z-index: 5;
    display: block;
    opacity: 0.95;
}

.hero-payoff {
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.slide,
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-bg {
    background-attachment: fixed;
    z-index: 1;
}

.slide {
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1.05);
}

.slide::before,
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45) !important;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 2s ease-in-out, transform 6s linear;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
}

.hero-content h1 {
    color: #fff;
    font-size: 5rem;
    letter-spacing: 4px;
}

.hero-content p {
    margin: 20px 0 40px;
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.hero-content.home-anim h1 {
    text-shadow: 0 4px 25px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.7) !important;
}

.hero-content.home-anim p {
    text-shadow: 0 4px 20px rgba(0,0,0,0.9) !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.hero-slider[style*="height: 40vh"] .hero-content {
    padding-top: 80px;
}

.hero-slider[style*="height: 40vh"] h1 {
    font-size: 3.5rem;
}

.hero-content.right-aligned {
    left: auto;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    width: 45%;
    z-index: 2 !important;
}

.hero-content.right-aligned h1 {
    color: var(--text-color);
    text-shadow: none;
    font-size: 4.5rem;
}

.hero-content.right-aligned p {
    color: var(--text-color);
    text-shadow: none;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 10px;
    opacity: 0.8;
}

.bg-velo-bianco::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 60%, transparent 100%);
    z-index: 1;
}


/* =========================================
   4. BOTTONI
========================================= */
.btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--text-color);
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid var(--text-color);
}

.btn:hover {
    background: transparent;
    color: var(--text-color);
}

.btn.gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.btn.gold:hover {
    background: transparent;
    color: var(--gold);
}

.btn.small {
    padding: 10px 25px;
    font-size: 0.75rem;
    border-width: 1px;
    min-width: 90px;
    letter-spacing: 1px;
    border-radius: 30px;
}

a.btn.whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}

a.btn.whatsapp:hover {
    background-color: transparent !important;
    color: #25D366 !important;
}

.btn-mappa {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    text-align: center;
    white-space: nowrap;
}

.btn-mappa:hover {
    background-color: var(--gold-hover);
    transform: translateX(-50%) scale(1.08) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


/* =========================================
   5. SEZIONI GENERALI
========================================= */
section {
    padding: 120px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.text-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
    margin-top: 40px;
}

.text-cols p {
    margin-bottom: 20px;
}

.offset-top {
    padding-top: 95px;
}

.full-image {
    width: 100%;
    height: 60vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
}

.full-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.subtitle {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}


/* =========================================
   6. SEZIONE STORIA / FILOSOFIA
========================================= */
#storia {
    background-color: var(--bg-color);
    padding: 140px 20px;
}

#storia .text-cols {
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    margin-top: 60px;
}

#storia .storia-text p {
    margin-bottom: 25px;
    line-height: 1.8;
}

#storia .historia-img-column img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.filosofia-signature {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.filosofia-block {
    position: relative;
    padding-left: 28px;
    border-left: 1px solid rgba(212, 175, 55, 0.55);
}

.filosofia-block span {
    display: block;
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 6px;
}

.filosofia-block h3 {
    font-size: 1.65rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-style: italic;
}

.filosofia-block p {
    font-size: 1rem;
    line-height: 1.85;
    color: #5f4a43;
    font-weight: 300;
}


/* =========================================
   7. PERCORSI
========================================= */
.percorsi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.percorso-card {
    position: relative;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px 30px;
    text-decoration: none;
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.percorso-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 2;
    transition: background 0.5s;
}

.card-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: left;
    width: 100%;
}

.card-content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.card-content p {
    color: var(--gold);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 500;
}

.percorso-card:hover .card-bg {
    transform: scale(1.08);
}

.percorso-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%);
}


/* =========================================
   8. PRENOTA E CONTATTI
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    text-align: left;
    margin-top: 40px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 5px;
}

.hours-row .day {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.hours-row .time {
    font-family: 'Inter', sans-serif;
    color: #666;
}

.prenota-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.prenota-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prenota-buttons .btn i {
    font-size: 1.2rem;
}

.prenota-map-container {
    height: 100%;
    min-height: 450px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.prenota-map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}


/* =========================================
   9. MENU CUCINA E VINI A SCHEDE
========================================= */
.menu-nav-section,
.menu-content-area {
    background-color: transparent !important;
}

.menu-nav-section {
    padding: 40px 20px 0 20px;
}

.menu-content-area {
    min-height: 400px;
    padding-top: 50px;
    padding-bottom: 60px;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.tab-item:hover,
.tab-item.active {
    opacity: 1;
}

.tab-item.active {
    transform: scale(1.1);
}

.tab-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.tab-item.active .tab-icon {
    background-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.tab-item:hover .tab-icon {
    transform: translateY(-4px) scale(1.03);
    background-color: rgba(212,175,55,0.08);
    border-color: var(--gold);
}

.tab-item.active:hover .tab-icon {
    transform: none;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

.tab-item span {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-color);
    font-weight: bold;
}

.menu-category {
    display: none;
    margin-bottom: 80px;
}

.menu-category.active {
    display: block;
}

.menu-category h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    display: inline-block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    text-align: left;
}

.dish-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.dish-info p {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Inter', sans-serif;
}

.price {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-left: 20px;
}


/* =========================================
   10. CARTA VINI PREMIUM
========================================= */
.wine-section {
    max-width: 900px;
    margin: 0 auto 90px;
    text-align: left;
}

.wine-section h3 {
    text-align: center;
    font-size: 2.1rem;
    color: var(--text-color);
    margin-bottom: 45px;
    font-weight: 400;
}
.menu-category .wine-section h3 {
    text-align: center !important;
    width: 100%;
    display: block;
}

.wine-section h3::after {
    content: "";
    width: 70px;
    height: 1px;
    background: var(--gold);
    display: block;
    margin: 18px auto 0;
}

.wine-producer {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--gold);
    margin: 42px 0 18px;
    font-style: italic;
}

.wine-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(62, 39, 35, 0.12);
}

.wine-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    font-size: 1.18rem;
    line-height: 1.25;
}

.wine-item p {
    margin-top: 4px;
    font-size: 0.9rem;
    color: #7a6a63;
    font-style: italic;
    line-height: 1.45;
}

.wine-item span {
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
    font-size: 1rem;
}

.wine-item.recommended strong::after {
    content: " ✦";
    color: var(--gold);
}


/* =========================================
   11. FOOTER, CTA E COOKIE BANNER
========================================= */
footer {
    padding: 30px 20px 20px 20px !important;
    background: var(--text-color);
    border-top: 1px solid #2a1916;
    text-align: center;
    color: #fff;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0px !important;
    display: block;
    color: #fff;
}

footer span.reveal-item {
    margin-bottom: 15px !important;
}

.social-icons {
    margin-bottom: 0 !important;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 15px;
    opacity: 0.5;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--gold);
}

.credits {
    margin-top: 15px !important;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.4 !important;
}

.site-credit {
    margin-top: 10px;
    font-size: 0.7rem;
    color: #777;
}

.site-credit a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.site-credit a:hover {
    color: var(--gold);
}

.cta-menu-section {
    background-color: var(--light-gray) !important;
    padding: 80px 20px !important;
    text-align: center;
    border-top: 1px solid var(--border-color);
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
}

.cta-menu-section p {
    color: var(--text-color) !important;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    border-radius: 50px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: bottom 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    gap: 20px;
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 500;
}

.cookie-banner a {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-btns {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}


/* =========================================
   12. PRELOADER E ANIMAZIONI
========================================= */
#preloader {
    position: fixed;
    inset: 0;
    height: 100vh;
    background-color: #1a0f0c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 5px;
    margin-bottom: 10px;
    animation: fadeInOut 2s infinite ease-in-out;
}

.loader-line {
    width: 0;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto;
    animation: growLine 1.5s forwards ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes growLine {
    to {
        width: 150px;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-anim h1,
.animate-in .animated-text h1,
.animate-in .home-anim h1 {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0s both !important;
}

.home-anim p,
.animate-in .animated-text p,
.animate-in .home-anim p {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both !important;
}

.home-anim .btn,
.animate-in .home-anim .btn {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both !important;
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-parent.active .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.reveal-parent.active .reveal-item:nth-of-type(1) { transition-delay: 0.1s; }
.reveal-parent.active .reveal-item:nth-of-type(2) { transition-delay: 0.3s; }
.reveal-parent.active .storia-text .reveal-item:nth-of-type(1) { transition-delay: 0.5s; }
.reveal-parent.active .storia-text .reveal-item:nth-of-type(2) { transition-delay: 0.7s; }
.reveal-parent.active .storia-text .reveal-item:nth-of-type(3) { transition-delay: 0.9s; }
.reveal-parent.active .historia-img-column { transition-delay: 1.1s; }
.reveal-parent.active .percorso-card:nth-of-type(1) { transition-delay: 0.5s; }
.reveal-parent.active .percorso-card:nth-of-type(2) { transition-delay: 0.7s; }
.reveal-parent.active .percorso-card:nth-of-type(3) { transition-delay: 0.9s; }

body:not(.animate-in) .tab-item.active {
    opacity: 0 !important;
    transform: translateY(20px) !important;
}

.tab-item,
.menu-category h3,
.menu-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-in .tab-item,
.menu-category.show-content h3,
.menu-category.show-content .menu-item {
    opacity: 1;
    transform: translateY(0);
}

.animate-in .tab-item.active {
    transform: scale(1.1);
}


/* =========================================
   13. MOBILE RESPONSIVE
========================================= */
@media screen and (max-width: 768px) {
    .nav {
        padding: 15px 20px;
        background: transparent;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }

    .tasto-menu {
        display: block;
        z-index: 101;
    }

    .tasto-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .tasto-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .tasto-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .lista-link {
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 100;
        display: flex;
    }

    .lista-link.active {
        right: 0;
    }

    .lista-link li {
        margin: 25px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
    }

    .lista-link.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .lista-link.active li:nth-child(1) { transition-delay: 0.3s; }
    .lista-link.active li:nth-child(2) { transition-delay: 0.4s; }
    .lista-link.active li:nth-child(3) { transition-delay: 0.5s; }
    .lista-link.active li:nth-child(4) { transition-delay: 0.6s; }
    .lista-link.active li:nth-child(5) { transition-delay: 0.7s; }

    .lista-link a,
    .lista-link.active a {
        font-size: 1.5rem;
        color: var(--text-color);
        text-shadow: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 50px 20px;
    }

    .hero-logo {
        width: 220px;
        bottom: 15px;
    }

    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }

    .hero-slider[style*="height: 85vh"],
    .hero-slider[style*="height: 60vh"] {
        height: 45vh !important;
        min-height: 350px !important;
    }

    .hero-static {
        height: 100vh;
        height: 100svh;
    }

    .slide,
    .hero-bg,
    .full-image {
        background-attachment: scroll !important;
    }

    .slide {
        background-position: 30% center !important;
        transform: scale(1) !important;
    }

    .full-image {
        height: 250px !important;
        background-position: center center !important;
        background-size: cover !important;
        margin-top: 30px !important;
        margin-bottom: 50px !important;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    body .hero-slider .hero-content.right-aligned {
        left: auto !important;
        right: 5% !important;
        width: 90% !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        text-align: right !important;
        padding: 0 !important;
    }

    body .hero-slider .slide[style*="menu-hero.jpg"] {
        background-position: right center !important;
    }

    body .hero-slider .slide.bg-velo-bianco::after {
        background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 60%, transparent 100%) !important;
        width: 100% !important;
    }

    body .hero-slider .hero-content.right-aligned h1 {
        font-size: 2.2rem !important;
        color: var(--text-color) !important;
        text-shadow: 0 0 15px rgba(255,255,255,1) !important;
        margin-bottom: 5px !important;
    }

    body .hero-slider .hero-content.right-aligned p {
        font-size: 0.9rem !important;
        color: var(--text-color) !important;
        text-shadow: 0 0 15px rgba(255,255,255,1) !important;
        letter-spacing: 0.5px !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        padding: 0 !important;
    }

    .text-cols,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .offset-top {
        padding-top: 0 !important;
    }

    #storia,
    #storia.offset-top {
        padding: 75px 20px 30px 20px !important;
    }

    #storia .text-cols {
        grid-template-columns: 1fr !important;
        margin-top: 20px;
    }

    #storia h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    #storia .storia-text p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }

    #storia .historia-img-column {
        margin-top: 20px;
        transition-delay: 0.5s !important;
    }

    #storia .historia-img-column img {
        margin-bottom: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    }

    .percorsi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .percorso-card {
        height: 350px;
    }

    .prenota-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        margin-bottom: 40px !important;
    }

    .prenota-buttons .btn {
        justify-content: center !important;
        width: 100% !important;
    }

    .menu-tabs {
        gap: 15px;
    }

    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .tab-item span {
        font-size: 0.7rem;
    }

    .wine-section {
        padding: 0 6px;
        margin-bottom: 55px;
    }

    .wine-section h3 {
        font-size: 1.55rem;
        margin-bottom: 32px;
    }

    .wine-producer {
        font-size: 1.25rem;
        margin: 32px 0 12px;
        text-align: left;
    }

    .wine-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding: 13px 0;
        text-align: left;
    }

    .wine-item strong {
        font-size: 1rem;
        line-height: 1.25;
    }

    .wine-item p {
        font-size: 0.78rem;
        line-height: 1.35;
        margin-top: 3px;
    }

    .wine-item span {
        font-size: 0.88rem;
        padding-top: 2px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        bottom: -120%;
        border-radius: 15px;
        width: 92%;
        gap: 15px;
    }

    .cookie-banner.show {
        bottom: 15px;
    }

    .cookie-banner p {
        font-size: 0.8rem;
    }

    .cookie-btns {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
}