/**
 * Fratelli Masini — Design System v2.0
 * Updated: 2026
 * Premium, modern, immersive Italian butcher shop website
 */

/* ===========================
   IMPORTS & FONTS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;900&display=swap');

/* ===========================
   CSS VARIABLES
=========================== */
:root {
    --red: #c8271e;
    --red-dark: #a01e16;
    --red-light: #e83229;
    --red-glow: rgba(200, 39, 30, 0.35);
    --gold: #e8b84b;
    --gold-light: #f5d07a;
    --cream: #faf8f4;
    --cream-dark: #f2ede4;
    --dark: #0f0d0b;
    --dark-2: #1a1714;
    --dark-3: #252220;
    --charcoal: #2e2b28;
    --text-main: #111111;
    --text-muted: #6b6560;
    --text-light: #a09890;
    --white: #ffffff;
    --green: #25d366;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --trans: all 0.4s var(--ease);

    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 2rem;
    --radius-xl: 3rem;

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-red: 0 8px 32px var(--red-glow);
}

/* ===========================
   RESET & BASE
=========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.display-font {
    font-family: var(--font-display);
}

.title-font {
    font-family: var(--font-head);
}

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

/* ===========================
   UTILITY OVERRIDES
=========================== */
.text-primary {
    color: var(--red) !important;
}

.bg-primary {
    background-color: var(--red) !important;
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.bg-dark-2 {
    background-color: var(--dark-2);
}

.bg-cream {
    background-color: var(--cream);
}

/* ===========================
   NAVBAR — ANCHOR GLOBAL RESET
   Override Bootstrap blue links in all menu states
=========================== */
#masthead a,
#masthead a:link,
#masthead a:visited {
    text-decoration: none;
}

/* Transparent header (home hero) — links white */
#masthead.header-transparent a,
#masthead.header-transparent a:visited,
#masthead.header-transparent .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
}

#masthead.header-transparent a:hover,
#masthead.header-transparent .nav-link:hover {
    color: #fff !important;
}

/* Scrolled header — links dark */
#masthead.header-scrolled a,
#masthead.header-scrolled a:visited,
#masthead.header-scrolled .nav-link {
    color: var(--dark) !important;
    text-decoration: none !important;
}

#masthead.header-scrolled a:hover,
#masthead.header-scrolled .nav-link:hover {
    color: var(--red) !important;
}

/* Inner pages (non-home) — always dark */
body:not(.home) #masthead a,
body:not(.home) #masthead a:visited,
body:not(.home) #masthead .nav-link {
    color: var(--dark) !important;
    text-decoration: none !important;
}

body:not(.home) #masthead a:hover,
body:not(.home) #masthead .nav-link:hover {
    color: var(--red) !important;
}

/* Preserve CTA button style (override above for .btn-nav-cta) */
#masthead .btn-nav-cta,
#masthead .btn-nav-cta:link,
#masthead .btn-nav-cta:visited {
    color: var(--white) !important;
    text-decoration: none !important;
}

#masthead .btn-nav-cta:hover {
    color: var(--white) !important;
}

/* Preserve cart icon */
#masthead .cart-contents {
    text-decoration: none !important;
}


/* ===========================
   BUTTONS
=========================== */
.btn {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--trans);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--red-glow);
    color: var(--white);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-primary {
    color: var(--red);
    border-color: var(--red);
}

.btn-outline-primary:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    box-shadow: 0 8px 24px rgba(232, 184, 75, 0.35);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(232, 184, 75, 0.5);
    color: var(--dark);
}

/* ===========================
   HEADER / NAVBAR
=========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
    padding: 0;
}

.site-header .navbar {
    padding: 1.4rem 0;
    transition: all 0.5s var(--ease-out);
}

/* Transparent state (top of page / hero) */
.header-transparent {
    background: transparent;
}

.header-transparent .navbar-brand .site-title a,
.header-transparent .nav-link,
.header-transparent .cart-contents {
    color: rgba(255, 255, 255, 0.95) !important;
}

.header-transparent .navbar-toggler-icon {
    filter: invert(1);
}

/* Scrolled state */
.header-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-bottom: 1px solid rgba(200, 39, 30, 0.08);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(200, 39, 30, 0.06);
}

.header-scrolled .navbar {
    padding: 0.6rem 0;
}

.header-scrolled .nav-link {
    color: var(--text-main) !important;
}

.header-scrolled .site-title a {
    color: var(--red) !important;
}

.header-scrolled .cart-contents {
    color: var(--text-main) !important;
}

/* Logo / Brand */
.site-title a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: var(--trans);
}

/* ===========================
   LOGO SWAP
=========================== */
.site-logo-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 130px;
    min-height: 40px;
}

.site-logo {
    display: block;
    height: 40px;
    width: auto;
    transition: opacity 0.5s ease;
    flex-shrink: 0;
}

.site-logo-white {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.site-logo-red {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
}

/* Scrolled → red logo */
.header-scrolled .site-logo-white {
    opacity: 0;
}

.header-scrolled .site-logo-red {
    opacity: 1;
}

/* Inner pages → always red logo */
body:not(.home) .site-logo-white {
    opacity: 0;
}

body:not(.home) .site-logo-red {
    opacity: 1;
}

/* Legacy text title */
.site-title a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: var(--trans);
    color: var(--white);
}

.header-scrolled .site-title a {
    color: var(--red);
}

/* ===========================
   NAVBAR — Transparent (home/hero)
=========================== */
.header-transparent .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

.header-transparent .navbar-nav .nav-link:hover,
.header-transparent .navbar-nav .current-menu-item .nav-link {
    color: #fff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.header-transparent .cart-contents {
    color: rgba(255, 255, 255, 0.88) !important;
}

.header-transparent .toggler-bar {
    background: rgba(255, 255, 255, 0.9);
}

/* ===========================
   NAVBAR — Scrolled (solid)
=========================== */
.header-scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(200, 39, 30, 0.06);
    border-bottom: 1px solid rgba(200, 39, 30, 0.08);
}

.header-scrolled .navbar-nav .nav-link {
    color: var(--dark) !important;
}

.header-scrolled .navbar-nav .nav-link:hover,
.header-scrolled .navbar-nav .current-menu-item .nav-link {
    color: var(--red) !important;
}

.header-scrolled .cart-contents {
    color: var(--dark) !important;
}

.header-scrolled .toggler-bar {
    background: var(--dark);
}

/* ===========================
   NAVBAR — Inner pages (always solid)
=========================== */
body:not(.home) .site-header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(200, 39, 30, 0.06);
    border-bottom: 1px solid rgba(200, 39, 30, 0.08);
}

body:not(.home) .navbar-nav .nav-link {
    color: var(--dark) !important;
}

body:not(.home) .navbar-nav .nav-link:hover {
    color: var(--red) !important;
}

body:not(.home) .cart-contents {
    color: var(--dark) !important;
}

body:not(.home) .toggler-bar {
    background: var(--dark);
}

/* ===========================
   NAV LINKS — Base (Premium)
=========================== */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item .nav-link {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.55rem 1.1rem !important;
    position: relative;
    text-decoration: none;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
    white-space: nowrap;
}

/* Animated gradient underline */
.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 4px;
    transition: transform 0.35s var(--ease-spring), width 0.35s var(--ease);
    transform-origin: center;
}

/* Gold dot above active/hover items */
.navbar-nav .nav-item .nav-link::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    transition: transform 0.35s var(--ease-spring);
}

.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item.current-menu-item .nav-link::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-item .nav-link:hover::before,
.navbar-nav .nav-item.current-menu-item .nav-link::before {
    transform: translateX(-50%) scale(1);
}

.navbar-nav .nav-item:hover .nav-link {
    color: var(--red) !important;
    transform: translateY(-1px);
}

/* Active current page */
.navbar-nav .current-menu-item>.nav-link::after {
    transform: translateX(-50%) scaleX(1) !important;
}

.navbar-nav .current-menu-item>.nav-link::before {
    transform: translateX(-50%) scale(1) !important;
}

/* Cart Icon */
.cart-contents {
    text-decoration: none;
    transition: all 0.3s var(--ease);
    position: relative;
}

.cart-contents:hover {
    color: var(--red) !important;
    transform: scale(1.15) rotate(-5deg);
}

.cart-contents:hover .bi-bag2 {
    filter: drop-shadow(0 2px 8px var(--red-glow));
}

/* CTA in nav — Premium pill button with glow */
.btn-nav-cta {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white) !important;
    padding: 0.55rem 1.6rem !important;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

/* Animated shine sweep on CTA */
.btn-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-nav-cta:hover::before {
    left: 100%;
}

.btn-nav-cta::after {
    display: none;
}

.btn-nav-cta:hover {
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%) !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px var(--red-glow), 0 0 0 3px rgba(200, 39, 30, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    animation: heroZoom 12s var(--ease) forwards;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 8, 6, 0.85) 0%,
            rgba(10, 8, 6, 0.55) 60%,
            rgba(200, 39, 30, 0.2) 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    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.9' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.75rem;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-stat-item {
    text-align: center;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-top: 0.3rem;
    display: block;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
}

/* ===========================
   SECTION — STORIA RIBBON
=========================== */
.storia-ribbon {
    background: var(--red);
    padding: 1.5rem 0;
    overflow: hidden;
}

.ribbon-track {
    display: flex;
    gap: 3rem;
    animation: ribbonMove 18s linear infinite;
    white-space: nowrap;
    width: max-content;
}

@keyframes ribbonMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ribbon-item {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ribbon-item::after {
    content: '✦';
    color: var(--gold);
    font-size: 0.6rem;
}

/* ===========================
   SECTION — SERVIZI
=========================== */
.services-section {
    background: var(--cream);
    padding: 7rem 0;
    position: relative;
}

.section-label {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--red);
    display: inline-block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--dark);
    letter-spacing: -0.03em;
}

.section-title .highlight {
    color: var(--red);
    font-style: italic;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--trans);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-card-body * {
    color: var(--white) !important;
}

.service-card:hover .service-arrow {
    color: var(--white) !important;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.15) !important;
}

.service-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 2rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.service-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: var(--cream-dark);
    line-height: 1;
    margin-bottom: -1rem;
    transition: var(--trans);
}

.service-name {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    transition: var(--trans);
}

.service-card:hover .service-name {
    color: var(--gold) !important;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 0.75rem;
    transition: var(--trans);
}

.service-arrow {
    font-size: 1.5rem;
    color: var(--red);
    transition: var(--trans);
}

.service-card:hover .service-arrow {
    transform: translate(4px, -4px);
}

/* ===========================
   SECTION — STORIA
=========================== */
.storia-section {
    background: var(--dark-2);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.storia-section::before {
    content: '1920';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.storia-img-wrap {
    position: relative;
}

.storia-img-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.storia-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: var(--red);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-red);
    min-width: 160px;
    text-align: center;
}

.storia-badge-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.storia-badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 0.25rem;
}

.storia-content {
    color: var(--white);
}

.storia-content .section-label {
    color: var(--gold);
}

.storia-content .section-label::before {
    background: var(--gold);
}

.storia-content .section-title {
    color: var(--white);
}

.storia-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.storia-feature {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--trans);
}

.storia-feature:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(200, 39, 30, 0.4);
}

.storia-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.storia-feature-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
    font-family: var(--font-head);
}

.storia-feature-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

/* ===========================
   SECTION — MACELLERIA
=========================== */
.market-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.market-slider { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--cream); }
.market-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.market-slider-track::-webkit-scrollbar { display: none; }
.market-slider-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.market-slider-slide img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.market-slider-controls { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.market-slider-controls[hidden] { display: none; }
.market-slider-controls button { width: 44px; height: 44px; border: 1px solid var(--red); border-radius: 50%; background: transparent; color: var(--red); font-size: 1.4rem; cursor: pointer; }
.market-slider-controls button:focus-visible, .market-slider-track:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }

.market-images {
    position: relative;
}

.market-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.market-img-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease);
}

.market-img-main:hover img {
    transform: scale(1.04);
}

.market-img-float {
    position: absolute;
    right: -2rem;
    bottom: 3rem;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.market-img-float img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* ===========================
   SECTION — CARBURANTE
=========================== */
.carburante-section {
    padding: 8rem 0;
    background: var(--cream);
}

.fuel-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--trans);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.fuel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 39, 30, 0.15);
}

.fuel-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-red);
}

.fuel-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.fuel-card h4 {
    font-size: 1.1rem;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.fuel-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===========================
   SECTION — BAR
=========================== */
.bar-section {
    padding: 8rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.bar-section-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/bar-service.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: grayscale(1);
}

.bar-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.bar-content .section-label {
    color: var(--gold);
}

.bar-content .section-label::before {
    background: var(--gold);
}

.bar-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.bar-img img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.bar-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.bar-feature-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(232, 184, 75, 0.15);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.bar-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.2rem;
    font-family: var(--font-head);
}

.bar-feature-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.55;
}

/* ===========================
   SECTION — ORARI
=========================== */
.orari-section {
    background: var(--red);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.orari-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.orari-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
}

.orari-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: var(--trans);
}

.orari-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.orari-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.orari-card-name {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
}

.orari-card-hours {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
}

.orari-card-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
}

/* ===========================
   SECTION — PRODOTTI (WooCommerce)
=========================== */
.home-shop {
    padding: 8rem 0;
    background: var(--white);
}

/* WooCommerce product list */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.woocommerce ul.products li.product {
    list-style: none;
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--trans);
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 39, 30, 0.2);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.06);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    padding: 1rem 1.25rem 0;
    margin-bottom: 0.4rem;
}

.woocommerce ul.products li.product .price {
    padding: 0 1.25rem;
    color: var(--red);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-head);
    display: block;
    margin-bottom: 1rem;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
    margin: 0 1.25rem 1.25rem;
    background: var(--red);
    color: var(--white);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-head);
    display: inline-block;
    text-decoration: none;
    transition: var(--trans);
    border: none;
    width: calc(100% - 2.5rem);
    text-align: center;
    box-shadow: var(--shadow-red);
}

.woocommerce ul.products li.product .button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--red-glow);
    color: var(--white);
}

/* ===========================
   SECTION — CONTATTI
=========================== */
.contacts-section {
    padding: 8rem 0;
    background: var(--cream);
    position: relative;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    font-size: 1.1rem;
    color: var(--white);
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-family: var(--font-head);
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    text-decoration: none;
}

.contact-value:hover {
    color: var(--red);
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 450px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ===========================
   FLOATING WHATSAPP
=========================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--trans);
    animation: waPop 0.6s var(--ease-spring) 1.5s both;
}

@keyframes waPop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.55);
}

.whatsapp-float i {
    font-size: 1.7rem;
    color: var(--white);
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--dark);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(8px);
    font-family: var(--font-head);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
    padding-top: 5rem;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--trans);
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--trans);
    font-size: 0.75rem;
}

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

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item i {
    color: var(--red);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-red-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
=========================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ===========================
   MISC UTILITIES
=========================== */
.rounded-4 {
    border-radius: var(--radius-lg) !important;
}

.rounded-3 {
    border-radius: var(--radius-md) !important;
}

.z-1 {
    z-index: 1;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 991px) {
    .storia-badge {
        left: 1rem;
        bottom: 1rem;
    }

    .market-img-float {
        position: static;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }

    .storia-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        position: static;
        padding: 2rem 1rem;
    }

    .hero-stat-item {
        padding: 1rem;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .storia-section::before {
        content: none;
    }

    .services-section,
    .storia-section,
    .market-section,
    .carburante-section,
    .bar-section,
    .home-shop,
    .contacts-section {
        padding: 5rem 0;
    }

    .storia-badge {
        position: static;
        margin-top: 1.5rem;
        display: inline-block;
    }
}

/* ===========================
   CUSTOM HAMBURGER (Premium)
=========================== */
.navbar-toggler {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 38px;
    height: 38px;
    padding: 4px;
    cursor: pointer;
    transition: transform 0.3s var(--ease);
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

.toggler-bar {
    display: block;
    height: 2.5px;
    background: currentColor;
    border-radius: 3px;
    transition: transform 0.4s var(--ease-spring), opacity 0.3s ease, width 0.4s var(--ease);
    transform-origin: center;
}

/* Staggered bar widths for visual interest */
.toggler-bar:nth-child(1) {
    width: 100%;
}

.toggler-bar:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.toggler-bar:nth-child(3) {
    width: 85%;
}

.header-transparent .toggler-bar {
    background: rgba(255, 255, 255, 0.95);
}

.header-scrolled .toggler-bar {
    background: var(--dark);
}

/* Open state → X shape */
.navbar-toggler.is-open .toggler-bar:nth-child(1) {
    width: 100%;
    transform: translateY(9px) rotate(45deg);
}

.navbar-toggler.is-open .toggler-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar-toggler.is-open .toggler-bar:nth-child(3) {
    width: 100%;
    transform: translateY(-9px) rotate(-45deg);
}

/* Active nav link via JS */
.navbar-nav .nav-link.active-section {
    color: var(--red) !important;
}

.navbar-nav .nav-link.active-section::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link.active-section::before {
    transform: translateX(-50%) scale(1);
}

/* Mobile nav collapse — Premium */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        border-radius: var(--radius-lg);
        padding: 1.75rem 1.5rem;
        margin-top: 1.2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(200, 39, 30, 0.06);
        border-top: 3px solid transparent;
        border-image: linear-gradient(90deg, var(--red), var(--gold)) 1;
        animation: mobileNavSlide 0.4s var(--ease-out) both;
    }

    @keyframes mobileNavSlide {
        from {
            opacity: 0;
            transform: translateY(-12px);
        }

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

    /* Remove the dot pseudo-element on mobile */
    .navbar-nav .nav-item .nav-link::before {
        display: none;
    }

    .navbar-nav .nav-item .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link {
        color: var(--dark) !important;
        padding: 0.85rem 0.75rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: var(--radius-sm);
        transition: all 0.3s var(--ease);
        font-size: 0.85rem !important;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(200, 39, 30, 0.04);
        padding-left: 1.25rem !important;
        color: var(--red) !important;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Staggered entrance for nav items */
    .navbar-nav .nav-item {
        animation: navItemSlide 0.5s var(--ease-out) both;
    }

    .navbar-nav .nav-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .navbar-nav .nav-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .navbar-nav .nav-item:nth-child(3) {
        animation-delay: 0.15s;
    }

    .navbar-nav .nav-item:nth-child(4) {
        animation-delay: 0.2s;
    }

    .navbar-nav .nav-item:nth-child(5) {
        animation-delay: 0.25s;
    }

    .navbar-nav .nav-item:nth-child(6) {
        animation-delay: 0.3s;
    }

    .navbar-nav .nav-item:nth-child(7) {
        animation-delay: 0.35s;
    }

    @keyframes navItemSlide {
        from {
            opacity: 0;
            transform: translateX(-16px);
        }

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

    .header-actions {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(200, 39, 30, 0.08);
    }

    .btn-nav-cta {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.6rem !important;
        font-size: 0.85rem !important;
    }
}
/* ===========================
   MENU UI OVERRIDES (Premium)
=========================== */
@media (min-width: 992px) {
    .navbar-nav {
        gap: 1.5rem !important;
    }
    .navbar-nav .nav-link {
        font-family: var(--font-head) !important;
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.1em !important;
        color: var(--dark) !important;
        padding: 0.5rem 0 !important;
        position: relative;
        transition: color 0.3s var(--ease);
    }
    
    .header-transparent .navbar-nav .nav-link {
        color: rgba(255,255,255,0.85) !important;
    }
    
    .header-transparent .navbar-nav .nav-link:hover,
    .header-transparent .navbar-nav .current-menu-item > .nav-link {
        color: var(--white) !important;
    }
    
    .header-scrolled .navbar-nav .nav-link:hover,
    .header-scrolled .navbar-nav .current-menu-item > .nav-link,
    body:not(.home) .navbar-nav .nav-link:hover,
    body:not(.home) .navbar-nav .current-menu-item > .nav-link {
        color: var(--red) !important;
    }
    
    /* Clean underline hover effect */
    .navbar-nav .nav-link::before,
    .navbar-nav .nav-link::after {
        display: none !important; /* Hide old effects */
    }
    
    .navbar-nav .nav-item {
        position: relative;
    }
    
    .navbar-nav .nav-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background: var(--red);
        transition: width 0.35s var(--ease-out);
        border-radius: 2px;
    }
    .header-transparent .navbar-nav .nav-item::after {
        background: var(--white);
    }
    
    .navbar-nav .nav-item:hover::after,
    .navbar-nav .current-menu-item::after {
        width: 100%;
    }
}

/* Shooting: preserve photo proportions and keep the hero readable. */
.storia-img-wrap img, .market-images img, .bar-img img {
    height: auto;
}
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-toggle {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 3;
    padding: .6rem 1rem;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 2rem;
    background: rgba(10,8,6,.7);
    color: #fff;
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
}
.hero-video-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    .hero-bg-img { animation: none; transform: none; }
}
/* Contain decorative offsets and reveal animations on narrow screens. */
.site { overflow-x: clip; }
.hero-content { padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); }
