/* =============================================
   TRATTORIA MODERNA — Style System
   Mobile-First | Flexbox & Grid
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Color Palette — warm & earthy */
    --clr-dark: #2C1810;
    /* testa di moro */
    --clr-dark-alt: #3D2519;
    --clr-brown: #6B4226;
    --clr-sage: #4A5E3B;
    /* verde salvia scuro */
    --clr-sage-light: #6B7F5C;
    --clr-cream: #F5F0E8;
    --clr-cream-dark: #E8E0D2;
    --clr-white: #FFFDF9;
    --clr-gold: #C9A96E;
    --clr-gold-light: #DBBF8A;
    --clr-text: #3A2A1E;
    --clr-text-light: #7A6A5E;

    /* Typography */
    --ff-heading: 'Playfair Display', 'Georgia', serif;
    --ff-body: 'Lato', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Transitions */
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    font-weight: 300;
    color: var(--clr-text);
    background-color: var(--clr-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: background-color var(--transition),
        padding var(--transition),
        box-shadow var(--transition);
}

.navbar.scrolled {
    background-color: rgba(44, 24, 16, 0.95);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--ff-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--clr-white);
    letter-spacing: 0.02em;
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-family: var(--ff-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-gold);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--clr-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.55rem 1.4rem !important;
    border: 1px solid var(--clr-gold);
    border-radius: 2px;
    color: var(--clr-gold) !important;
    transition: background-color var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
    background-color: var(--clr-gold);
    color: var(--clr-dark) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--clr-white);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('hero.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(44, 24, 16, 0.55) 0%,
            rgba(44, 24, 16, 0.4) 40%,
            rgba(44, 24, 16, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--space-md);
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--clr-gold-light);
    margin-bottom: var(--space-sm);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--ff-heading);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}


/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 1rem 2.4rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-dark);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-primary:hover {
    background-color: var(--clr-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-secondary {
    background: none;
    color: var(--clr-sage);
    border: 1px solid var(--clr-sage);
    padding: 0.85rem 2rem;
}

.btn-secondary:hover {
    background-color: var(--clr-sage);
    color: var(--clr-white);
    transform: translateY(-2px);
}


/* =============================================
   LA NOSTRA STORIA
   ============================================= */
.storia {
    padding: var(--space-2xl) var(--space-md);
    background-color: var(--clr-white);
}

.storia-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.section-label {
    font-family: var(--ff-body);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--clr-gold);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--clr-dark);
    line-height: 1.2;
}

.storia-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-gold), transparent);
    margin: var(--space-md) 0;
}

.storia-paragraph {
    font-size: 1rem;
    color: var(--clr-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
}

.storia-paragraph:last-of-type {
    margin-bottom: var(--space-lg);
}

.storia-image {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.storia-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.storia-image:hover img {
    transform: scale(1.03);
}

/* Scroll reveal */
.storia-text,
.storia-image {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow),
        transform var(--transition-slow);
}

.storia-text.revealed,
.storia-image.revealed {
    opacity: 1;
    transform: translateY(0);
}

.storia-image.revealed {
    transition-delay: 0.15s;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: var(--clr-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) var(--space-md) 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--ff-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.footer h4 {
    font-family: var(--ff-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-gold);
    margin-bottom: var(--space-sm);
}

.footer ul li {
    font-size: 0.9rem;
    line-height: 2;
}

.footer a {
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--clr-gold-light);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: border-color var(--transition),
        background-color var(--transition),
        transform var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    border-color: var(--clr-gold);
    background-color: rgba(201, 169, 110, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: var(--space-md) 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}


/* =============================================
   MENU PAGE
   ============================================= */
.menu-hero {
    padding: 10rem var(--space-md) var(--space-xl);
    background-color: var(--clr-dark);
    text-align: center;
}

.menu-page-title {
    color: var(--clr-white) !important;
    margin-bottom: 0;
}

.menu-hero-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: var(--space-xs);
}

/* Category sticky nav */
.menu-category-nav {
    position: sticky;
    top: 52px;
    z-index: 100;
    background-color: var(--clr-white);
    border-bottom: 1px solid var(--clr-cream-dark);
}

.menu-category-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    overflow-x: auto;
}

.menu-cat-link {
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-text-light);
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.menu-cat-link:hover {
    color: var(--clr-sage);
    border-bottom-color: var(--clr-sage);
}

/* Menu content */
.menu-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.menu-section {
    margin-bottom: var(--space-2xl);
}

.menu-section-title {
    font-family: var(--ff-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600;
    color: var(--clr-dark);
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.menu-section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-gold), transparent);
    margin: var(--space-sm) auto 0;
}

/* Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Item card */
.menu-item {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--clr-white);
    border: 1px solid var(--clr-cream-dark);
    border-radius: 4px;
    /* reveal animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow),
        transform var(--transition-slow),
        box-shadow var(--transition);
}

.menu-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.menu-item:hover {
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: 0.4rem;
}

.menu-item-name {
    font-family: var(--ff-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-dark);
    line-height: 1.35;
}

.menu-item-price {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-sage);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-desc {
    font-family: var(--ff-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--clr-text-light);
    line-height: 1.7;
}

/* Badges */
.badge {
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 0.3rem;
}

.active-link {
    color: var(--clr-gold) !important;
}

/* Legend */
.menu-legend {
    text-align: center;
    padding: 0 var(--space-md) var(--space-xl);
    font-size: 0.85rem;
    color: var(--clr-text-light);
}


/* =============================================
   WINE LIST PAGE
   ============================================= */
.wine-hero {
    padding: 10rem var(--space-md) var(--space-xl);
    background-color: var(--clr-dark);
    text-align: center;
}

.wine-page-title {
    color: var(--clr-white) !important;
    margin-bottom: 0;
}

.wine-hero-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    margin-top: var(--space-sm);
    line-height: 1.8;
}

/* Wine content */
.wine-page {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.wine-section {
    margin-bottom: var(--space-2xl);
}

.wine-section-title {
    font-family: var(--ff-heading);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    color: var(--clr-dark);
    text-align: center;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.wine-section-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-gold), transparent);
    margin: var(--space-sm) auto 0;
}

/* Wine list */
.wine-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wine-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--clr-cream-dark);
    /* reveal animation */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition-slow),
        transform var(--transition-slow);
}

.wine-row.revealed {
    opacity: 1;
    transform: translateY(0);
}

.wine-row:last-child {
    border-bottom: none;
}

.wine-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.wine-name {
    font-family: var(--ff-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-dark);
    line-height: 1.35;
}

.wine-origin {
    font-family: var(--ff-body);
    font-size: 0.85rem;
    font-weight: 300;
    font-style: italic;
    color: var(--clr-text-light);
}

/* Dotted separator between name and price */
.wine-separator {
    flex: 1;
    border-bottom: 1px dotted rgba(44, 24, 16, 0.2);
    min-width: 20px;
    margin-bottom: 0.35em;
}

.wine-price {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-sage);
    white-space: nowrap;
    flex-shrink: 0;
}


/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-hero {
    padding: 10rem var(--space-md) var(--space-xl);
    background-color: var(--clr-dark);
    text-align: center;
}

.gallery-page-title {
    color: var(--clr-white) !important;
    margin-bottom: 0;
}

.gallery-hero-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    margin-top: var(--space-sm);
    line-height: 1.8;
}

/* Gallery grid */
.gallery-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    /* reveal animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.08);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-md) var(--space-sm);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: var(--clr-white);
    font-family: var(--ff-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--tall,
    .gallery-item--wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .gallery-item img {
        aspect-ratio: 4 / 3;
    }

    .gallery-item figcaption {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =============================================
   PRENOTA (RESERVATION) PAGE
   ============================================= */
.prenota-hero {
    padding: 10rem var(--space-md) var(--space-xl);
    background-color: var(--clr-dark);
    text-align: center;
}

.prenota-page-title {
    color: var(--clr-white) !important;
    margin-bottom: 0;
}

.prenota-hero-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    margin-top: var(--space-sm);
    line-height: 1.8;
}

/* Two-column layout */
.prenota-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
}

.prenota-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Form styling */
.prenota-form-wrapper {
    background: var(--clr-white);
    border-radius: 16px;
    padding: var(--space-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.prenota-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--ff-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: var(--clr-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--ff-body);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--clr-cream-dark);
    border-radius: 10px;
    background: var(--clr-cream);
    color: var(--clr-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(191, 163, 117, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.btn-prenota {
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    background: var(--clr-dark);
    color: var(--clr-gold);
    border: 2px solid var(--clr-gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    text-decoration: none;
}

.btn-prenota:hover {
    background: var(--clr-gold);
    color: var(--clr-dark);
    box-shadow: 0 8px 20px rgba(191, 163, 117, 0.3);
}

/* Success state */
.prenota-success {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.prenota-success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: var(--clr-sage);
    color: var(--clr-white);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.prenota-success h3 {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    color: var(--clr-dark);
    margin-bottom: var(--space-sm);
}

.prenota-success p {
    color: var(--clr-text-light);
    line-height: 1.7;
}

.prenota-success a {
    color: var(--clr-sage);
    font-weight: 700;
}

/* Sidebar */
.prenota-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.prenota-contact-card {
    background: var(--clr-white);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.prenota-contact-card h3 {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    color: var(--clr-dark);
    margin-bottom: var(--space-md);
}

.prenota-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.prenota-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-text);
    font-size: 0.9rem;
}

.prenota-contact-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--clr-gold);
}

.prenota-contact-list li a {
    color: var(--clr-text);
    text-decoration: none;
    transition: color var(--transition);
}

.prenota-contact-list li a:hover {
    color: var(--clr-gold);
}

.prenota-hours {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--clr-cream-dark);
}

.prenota-hours h4 {
    font-family: var(--ff-heading);
    font-size: 1rem;
    color: var(--clr-dark);
    margin-bottom: var(--space-xs);
}

.prenota-hours p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* Map */
.prenota-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .prenota-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.3;
    }
}


/* =============================================
   RESPONSIVE — Tablet (768px+)
   ============================================= */
@media (min-width: 768px) {
    .storia-container {
        flex-direction: row;
        align-items: center;
    }

    .storia-text {
        flex: 1;
        padding-right: var(--space-xl);
    }

    .storia-image {
        flex: 1;
    }

    .storia-image img {
        height: 500px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    /* Menu — 2 columns on tablet+ */
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =============================================
   RESPONSIVE — Mobile (<768px)
   ============================================= */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(44, 24, 16, 0.97);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        padding: var(--space-xl);
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .storia {
        padding: var(--space-xl) var(--space-md);
    }

    .storia-image img {
        height: 300px;
    }
}


/* =============================================
   RESPONSIVE — Large Desktop (1200px+)
   ============================================= */
@media (min-width: 1200px) {
    .hero-content {
        max-width: 800px;
    }

    .storia {
        padding: var(--space-2xl) var(--space-lg);
    }
}