/* ═══════════════════════════════════════════════════
   VERSAMI — Wine, Food and Cocktails
   Public stylesheet — style.css
   Palette: #18320b (verde scuro) + #c9a96e (oro) + #faf7f2 (crema)
═══════════════════════════════════════════════════ */

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

:root {
    --green:        #18320b;
    --green-deep:   #0d1c06;
    --green-light:  #254f10;
    --green-mid:    #2e6314;
    --gold:         #c9a96e;
    --gold-light:   #e0c898;
    --gold-dim:     #a8855040;
    --cream:        #faf7f2;
    --cream-dim:    rgba(250,247,242,0.7);
    --dark:         #080f05;
    --dark-2:       #0d180a;
    --muted:        #6a7a65;
    --border:       rgba(24,50,11,0.55);
    --border-gold:  rgba(201,169,110,0.22);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;

    --section-pad: clamp(4rem, 8vw, 8rem);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--dark);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Typography helpers ── */
.serif { font-family: var(--font-serif); }

.section-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1rem;
    color: var(--cream-dim);
    max-width: 560px;
    line-height: 1.75;
}

/* ────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: 70px;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background: rgba(8,15,5,0.92);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(24,50,11,0.5);
}

.navbar-logo {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.65);
    transition: color 0.2s;
}
.navbar-links a:hover { color: var(--gold-light); }

.navbar-cta {
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    border: 1px solid rgba(46,99,20,0.6);
    border-radius: 6px;
    color: var(--gold-light) !important;
    padding: 0.45rem 1rem;
    font-size: 0.72rem !important;
    letter-spacing: 0.16em !important;
    transition: all 0.22s !important;
}
.navbar-cta:hover {
    background: linear-gradient(135deg, var(--green-light), var(--green)) !important;
    box-shadow: 0 4px 18px rgba(24,50,11,0.5);
    transform: translateY(-1px);
}

/* ────────────────────────────────────────────
   HERO
──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem clamp(1.5rem, 5vw, 4rem) 8rem;
    overflow: hidden;
}

/* Background layering */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-grad {
    background:
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(24,50,11,0.55) 0%, transparent 65%),
        radial-gradient(ellipse 60% 60% at 20% 10%, rgba(201,169,110,0.07) 0%, transparent 60%),
        linear-gradient(180deg, #050a03 0%, #080f05 50%, #0b180a 100%);
}
.hero-bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 1;
}
.hero-bg-lines {
    background-image: repeating-linear-gradient(
        -48deg,
        transparent,
        transparent 80px,
        rgba(201,169,110,0.012) 80px,
        rgba(201,169,110,0.012) 81px
    );
}

/* Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(24,50,11,0.5) 0%, transparent 70%);
    bottom: -300px; left: -200px;
    animation: orbDrift1 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: orbDrift2 12s ease-in-out infinite alternate;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(24,50,11,0.3) 0%, transparent 70%);
    top: 40%; left: 60%;
    animation: orbDrift2 18s ease-in-out infinite alternate;
}
@keyframes orbDrift1 { to { transform: translate(40px, -50px); } }
@keyframes orbDrift2 { to { transform: translate(-30px, 30px); } }

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 780px;
}

.hero-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
}
.hero-pretitle::before,
.hero-pretitle::after {
    content: '';
    width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-pretitle::after { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-logo {
    width: clamp(260px, 40vw, 440px);
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 8px 40px rgba(0,0,0,0.6));
    animation: heroFadeIn 1s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--cream-dim);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 300;
    animation: heroFadeIn 1s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* Hero CTA */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1s 0.4s cubic-bezier(0.22,1,0.36,1) both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    border: 1px solid rgba(46,99,20,0.7);
    border-radius: 8px;
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--green-light), var(--green));
    opacity: 0;
    transition: opacity 0.25s;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(24,50,11,0.6), 0 0 0 1px rgba(201,169,110,0.3);
    color: var(--gold-light);
}
.btn-hero-primary:hover::before { opacity: 1; }
.btn-hero-primary span { position: relative; z-index: 1; }
.btn-hero-primary i  { position: relative; z-index: 1; }

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 8px;
    color: var(--cream-dim);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    padding: 1rem 1.75rem;
    transition: all 0.22s;
}
.btn-hero-ghost:hover {
    border-color: rgba(201,169,110,0.65);
    color: var(--gold-light);
    background: rgba(201,169,110,0.05);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: scrollFadeIn 1s 0.8s ease both;
}
@keyframes scrollFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 0.5; transform: none; }
}
.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, var(--gold), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* Gold rule */
.gold-rule {
    width: clamp(40px, 6vw, 80px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
}

/* ────────────────────────────────────────────
   SECTION WRAPPER
──────────────────────────────────────────── */
.section {
    padding: var(--section-pad) clamp(1.5rem, 5vw, 4rem);
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-head .gold-rule { margin-top: 1.25rem; }

/* ────────────────────────────────────────────
   MENU CTA SECTION (placeholder)
──────────────────────────────────────────── */
#menu {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(24,50,11,0.35) 0%, transparent 70%),
        var(--dark-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.menu-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}
.menu-placeholder p {
    color: var(--cream-dim);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    max-width: 440px;
}
.menu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(24,50,11,0.4);
    border: 1px dashed rgba(24,50,11,0.8);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

/* ────────────────────────────────────────────
   INSTAGRAM FEED
──────────────────────────────────────────── */
#instagram { background: var(--dark); }

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.5rem, 1.5vw, 1rem);
}

/* Card con immagine reale da Instagram */
.insta-card-real {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    display: block;
}
.insta-card-real:hover {
    transform: scale(1.03);
    border-color: rgba(24,50,11,0.85);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.insta-card-real img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.insta-card-real .insta-overlay {
    opacity: 0;
    transition: opacity 0.25s;
}
.insta-card-real:hover .insta-overlay { opacity: 1; }
.insta-video-badge {
    position: absolute;
    top: 0.5rem; right: 0.5rem;
    background: rgba(0,0,0,0.6);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    color: #fff;
}

/* Menu CTA section (link alla pagina menu) */
.menu-cta-section {
    text-align: center;
    padding: 3.5rem 0 1rem;
}
.menu-cta-desc {
    font-size: 1rem;
    color: var(--cream-dim);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.btn-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    border: 1px solid rgba(46,99,20,0.7);
    border-radius: 10px;
    color: var(--gold-light);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 1.1rem 2.5rem;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.btn-menu-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--green-light), var(--green));
    opacity: 0;
    transition: opacity 0.25s;
}
.btn-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(24,50,11,0.6), 0 0 0 1px rgba(201,169,110,0.3);
    color: var(--gold-light);
}
.btn-menu-cta:hover::before { opacity: 1; }
.btn-menu-cta span, .btn-menu-cta i { position: relative; z-index: 1; }

/* Badge "Esaurito" per prodotti disabilitati */
.badge-esaurito {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f4a0a8;
    background: rgba(110,20,20,0.3);
    border: 1px solid rgba(150,40,40,0.4);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Prodotto disabilitato — aspetto attenuato */
.menu-item.disabled {
    opacity: 0.55;
    cursor: default;
}
.menu-item.disabled .menu-item-name { color: var(--muted); }
.menu-item.disabled .menu-item-price { color: var(--muted); }
.menu-item.disabled.has-image { cursor: default; }
.menu-item.disabled.has-image:hover { background: transparent; }

/* Navbar pagina menu — breadcrumb */
.menu-page-back {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}
.menu-page-back:hover { color: var(--gold); }

.insta-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: var(--dark-2);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.insta-card:hover {
    transform: scale(1.03);
    border-color: rgba(24,50,11,0.85);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.insta-card:hover .insta-overlay { opacity: 1; }
.insta-card:hover .insta-icon    { transform: scale(1.1); }

/* Gradient shimmer background per placeholder */
.insta-card:nth-child(1) { background: linear-gradient(135deg, #0a1407 0%, #18320b44 100%); }
.insta-card:nth-child(2) { background: linear-gradient(135deg, #111b0e 0%, #0d1c0644 100%); }
.insta-card:nth-child(3) { background: linear-gradient(135deg, #0d1c06 0%, #254f1033 100%); }
.insta-card:nth-child(4) { background: linear-gradient(135deg, #101808 0%, #18320b33 100%); }
.insta-card:nth-child(5) { background: linear-gradient(135deg, #0a1407 0%, #2e631455 100%); }

.insta-icon {
    font-size: 2rem;
    color: rgba(201,169,110,0.3);
    transition: transform 0.25s;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24,50,11,0.7), rgba(13,28,6,0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    opacity: 0;
    transition: opacity 0.25s;
}
.insta-overlay i { font-size: 1.5rem; color: var(--gold-light); }
.insta-overlay span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.insta-follow {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
.btn-insta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    transition: all 0.22s;
    background: rgba(201,169,110,0.04);
}
.btn-insta:hover {
    border-color: rgba(201,169,110,0.55);
    background: rgba(201,169,110,0.08);
    color: var(--gold-light);
    transform: translateY(-1px);
}

/* ────────────────────────────────────────────
   CONTACTS & ORARI
──────────────────────────────────────────── */
#contatti {
    background:
        radial-gradient(ellipse 80% 60% at 0% 100%, rgba(24,50,11,0.3) 0%, transparent 60%),
        var(--dark-2);
    border-top: 1px solid var(--border);
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

/* Card generica ── */
.info-card {
    background: rgba(24,50,11,0.12);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}
.info-card:hover { border-color: rgba(24,50,11,0.8); transform: translateY(-3px); }

.info-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(24,50,11,0.5);
    border: 1px solid rgba(24,50,11,0.9);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--gold-light);
    margin-bottom: 1rem;
}
.info-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.75rem;
}
.info-text {
    font-size: 0.85rem;
    color: var(--cream-dim);
    line-height: 1.8;
}
.info-text strong { color: var(--cream); font-weight: 500; }

/* Orari */
.orari-table { width: 100%; border-collapse: collapse; }
.orari-table tr td {
    padding: 0.35rem 0;
    font-size: 0.83rem;
    color: var(--cream-dim);
    border-bottom: 1px solid rgba(24,50,11,0.3);
    vertical-align: top;
}
.orari-table tr:last-child td { border-bottom: none; }
.orari-table td:first-child {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 42%;
    padding-right: 0.75rem;
}
.orari-closed { color: var(--muted) !important; font-style: italic; }
.orari-badge {
    display: inline-block;
    background: rgba(24,50,11,0.6);
    border: 1px solid rgba(24,50,11,0.9);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    font-size: 0.65rem;
    color: var(--gold);
    margin-left: 0.3rem;
    vertical-align: middle;
}

/* WhatsApp button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #1a5c2a, #0e3318);
    border: 1px solid rgba(37,120,56,0.5);
    border-radius: 9px;
    color: #6ddb90;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    transition: all 0.22s;
    margin-top: 1.25rem;
    width: 100%;
    justify-content: center;
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #235c30, #153d1e);
    border-color: rgba(37,120,56,0.8);
    box-shadow: 0 6px 24px rgba(37,120,56,0.3);
    transform: translateY(-1px);
    color: #8aeaa8;
}
.btn-whatsapp i { font-size: 1.15rem; }

/* Address map link */
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--gold);
    margin-top: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
    opacity: 0.75;
}
.map-link:hover { opacity: 1; color: var(--gold-light); }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-logo { height: 28px; width: auto; opacity: 0.75; }
.footer-text {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.footer-admin {
    font-size: 0.68rem;
    color: rgba(106,122,101,0.45);
    letter-spacing: 0.08em;
    transition: color 0.2s;
}
.footer-admin:hover { color: var(--muted); }

/* ────────────────────────────────────────────
   UTILITIES
──────────────────────────────────────────── */
.divider-gold {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.25), transparent);
}

/* Scroll-reveal animation (via JS IntersectionObserver) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ────────────────────────────────────────────
   MENU DINAMICO
──────────────────────────────────────────── */

/* ── Tab pills filtro categorie ── */
.menu-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    margin-bottom: 3rem;
    padding-bottom: 0.25rem;
    /* padding laterale per non far sparire l'ultima tab */
    padding-left: 0.25rem;
    padding-right: 1.5rem;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
    background: rgba(24,50,11,0.15);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--cream-dim);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
    flex-shrink: 0;
    white-space: nowrap;
}
.menu-tab:hover {
    border-color: rgba(24,50,11,0.8);
    background: rgba(24,50,11,0.3);
    color: var(--cream);
}
.menu-tab.active {
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    border-color: rgba(46,99,20,0.7);
    color: var(--gold-light);
    box-shadow: 0 4px 16px rgba(24,50,11,0.4);
}

/* ── Blocco categoria ── */
.menu-block {
    margin-bottom: 3.5rem;
}
.menu-block:last-child { margin-bottom: 0; }

.menu-block-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.menu-block-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    color: var(--cream);
    white-space: nowrap;
    margin: 0;
}
.menu-block-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201,169,110,0.3), transparent);
}

/* ── Lista prodotti ── */
.menu-items {
    display: grid;
    gap: 0;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(24,50,11,0.3);
    transition: background 0.18s;
    border-radius: 4px;
}
.menu-item:first-child { border-top: 1px solid rgba(24,50,11,0.3); }

/* Prodotti con immagine — clickable */
.menu-item.has-image {
    cursor: pointer;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    border-radius: 8px;
    border-color: transparent;
    border-bottom: 1px solid rgba(24,50,11,0.3);
}
.menu-item.has-image:first-child { border-top: 1px solid rgba(24,50,11,0.3); }
.menu-item.has-image:hover {
    background: rgba(24,50,11,0.22);
}
.menu-item.has-image:hover .menu-cam {
    color: var(--gold-light);
    opacity: 1;
}

.menu-item-main { flex: 1; min-width: 0; }

.menu-item-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

/* Icona fotocamera */
.menu-cam {
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
    flex-shrink: 0;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    max-width: 600px;
}

/* Pillole allergeni */
.menu-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.4rem;
}
.allergen-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    padding: 0.18rem 0.55rem;
    border-radius: 20px;
    background: rgba(24,50,11,0.4);
    border: 1px solid rgba(24,50,11,0.75);
    color: var(--gold-light);
    white-space: nowrap;
    line-height: 1.4;
}
.allergen-tag span {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Prezzo */
.menu-item-price {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0.1rem;
    letter-spacing: 0.02em;
}

/* ────────────────────────────────────────────
   MODAL FOTO PRODOTTO
──────────────────────────────────────────── */
.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.photo-modal.open {
    opacity: 1;
    pointer-events: auto;
}

/* Overlay scuro semitrasparente */
.photo-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 2, 0.9);
    backdrop-filter: blur(10px) saturate(1.2);
    cursor: pointer;
}

/* Box contenuto */
.photo-modal-box {
    position: relative;
    z-index: 1;
    max-width: min(720px, 92vw);
    width: 100%;
    transform: scale(0.93) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.photo-modal.open .photo-modal-box {
    transform: scale(1) translateY(0);
}

/* Immagine */
.photo-modal-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(201,169,110,0.15),
        0 40px 100px rgba(0,0,0,0.8);
    display: block;
}

/* Caption */
.photo-modal-caption {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-top: 1rem;
    letter-spacing: 0.04em;
}

/* Tasto chiudi */
.photo-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(8,15,5,0.95);
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--gold-light);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}
.photo-modal-close:hover {
    background: rgba(24,50,11,0.9);
    border-color: rgba(201,169,110,0.65);
    transform: rotate(90deg);
}
.photo-modal-close:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 900px) {
    .contatti-grid { grid-template-columns: 1fr 1fr; }
    .insta-grid    { grid-template-columns: repeat(3, 1fr); }
    .insta-card:nth-child(n+4) { display: none; }
}

@media (max-width: 600px) {
    .navbar-links { display: none; }
    .contatti-grid { grid-template-columns: 1fr; }
    .insta-grid    { grid-template-columns: repeat(2, 1fr); }
    .insta-card:nth-child(n+3) { display: none; }
    .footer { flex-direction: column; text-align: center; }
    .hero-pretitle { display: none; }
}
