/* =====================================================
   FETTA STREET — SHARED STYLES
   =====================================================
   Pizza al Taglio | Castiglione delle Stiviere
   ===================================================== */

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
    --red: #C41E24;
    --red-dark: #B71C1C;
    --red-light: #E8444A;
    --gold: #DAA520;
    --gold-amber: #C8963E;
    --gold-light: #F5C33B;
    --gold-pale: #FFF0C8;
    --green: #1B5E20;
    --green-light: #2E7D32;
    --brown: #3E2723;
    --brown-light: #5D4037;
    --cream: #FFF8F0;
    --cream-dark: #FAF3E8;
    --cream-darker: #F0E6D6;
    --white: #FFFFFF;
    --text-dark: #2C1810;
    --text-body: #4A3728;
    --text-light: #8B7355;
    --orange-warm: #E65100;
    --shadow-sm: 0 2px 8px rgba(62,39,35,0.08);
    --shadow-md: 0 4px 20px rgba(62,39,35,0.12);
    --shadow-lg: 0 8px 40px rgba(62,39,35,0.18);
    --shadow-xl: 0 16px 60px rgba(62,39,35,0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
    --transition-smooth: 0.4s cubic-bezier(0.4,0,0.2,1);
    --transition-bounce: 0.5s cubic-bezier(0.34,1.56,0.64,1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-height: 80px;
    --header-height-scrolled: 64px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height-scrolled);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

/* =====================================================
   ANIMATIONS - Scroll Reveals
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255,248,240,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: height var(--transition-smooth),
                box-shadow var(--transition-smooth),
                background var(--transition-smooth);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    background: rgba(255,248,240,0.97);
    box-shadow: var(--shadow-md);
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    @keyframes header-shrink {
        to {
            height: var(--header-height-scrolled);
            box-shadow: var(--shadow-md);
            background: rgba(255,248,240,0.97);
        }
    }
    .header {
        animation: header-shrink auto linear both;
        animation-timeline: scroll(block root);
        animation-range: 0px 150px;
        transition: none;
    }
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo img {
    height: 60px;
    width: auto;
    border-radius: 0;
    border: none;
    background: none;
    transition: height var(--transition-smooth);
    object-fit: contain;
}

.header.scrolled .header-logo img {
    height: 48px;
}

.header-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.02em;
}

.nav-desktop {
    display: none;
}

.nav-desktop ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-desktop a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding: 4px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
    transition: width var(--transition-smooth);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after,
.nav-desktop a.active::after {
    width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--red);
}

.header-cta {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.header-cta:hover {
    background: var(--green-light);
    transform: scale(1.05);
}

.header-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform var(--transition-smooth), opacity var(--transition-fast);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    z-index: 999;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}

.nav-mobile.open {
    transform: translateX(0);
}

.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44,24,16,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.nav-mobile-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-mobile a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 14px 0;
    border-bottom: 1px solid rgba(62,39,35,0.08);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.nav-mobile a:hover,
.nav-mobile a.active {
    color: var(--red);
    padding-left: 10px;
}

.nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    margin-top: 24px;
    transition: background var(--transition-fast), transform var(--transition-fast);
    min-height: 44px;
}

.nav-mobile-cta:hover {
    background: var(--green-light);
    transform: scale(1.03);
}

.nav-mobile-cta svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(62,39,35,0.55) 0%,
            rgba(44,24,16,0.3) 40%,
            rgba(196,30,36,0.2) 70%,
            rgba(62,39,35,0.75) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 800px;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    border: 4px solid rgba(255,255,255,0.3);
    animation: hero-float 4s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo { animation: none; }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-slogan {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    min-height: 44px;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(196,30,36,0.4);
}

.btn-primary:hover {
    background: var(--red-light);
    box-shadow: 0 6px 28px rgba(196,30,36,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-amber));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(218,165,32,0.4);
}

.btn-gold:hover {
    box-shadow: 0 6px 28px rgba(218,165,32,0.5);
}

.btn-green {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(27,94,32,0.3);
}

.btn-green:hover {
    background: var(--green-light);
    box-shadow: 0 6px 28px rgba(27,94,32,0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll { animation: none; }
}

.hero-scroll svg {
    width: 32px;
    height: 32px;
    color: rgba(255,255,255,0.7);
}

/* =====================================================
   SECTIONS - SHARED
   ===================================================== */
.section {
    padding: 80px 24px;
}

.section-lg {
    padding: 100px 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red);
    margin-bottom: 12px;
}

.section-badge::before,
.section-badge::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 2px;
    margin: 20px auto 0;
}

/* Page Header Banner (for sub-pages) */
.page-hero {
    position: relative;
    padding: 140px 24px 80px;
    background: var(--brown);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(62,39,35,0.5) 0%, rgba(93,64,55,0.45) 50%, rgba(62,39,35,0.5) 100%);
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-hero p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gold-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: var(--gold);
}

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

.breadcrumb span {
    color: rgba(255,255,255,0.7);
}

/* =====================================================
   CHI SIAMO (ABOUT)
   ===================================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(218,165,32,0.3);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--red);
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 44px;
}

.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.about-feature-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.about-feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* =====================================================
   FEATURED PIZZAS (Homepage teaser)
   ===================================================== */
.featured {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    position: relative;
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.featured-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.featured-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.featured-card:hover .featured-card-img img {
    transform: scale(1.08);
}

.featured-card-body {
    padding: 24px;
}

.featured-card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.featured-card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.featured-cta {
    text-align: center;
}

/* =====================================================
   MENU SECTION (Full page)
   ===================================================== */
.menu-section {
    background: var(--cream);
    position: relative;
}

.menu-tagline {
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 48px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
    border: 1px solid rgba(62,39,35,0.06);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--red), var(--gold));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.menu-card-emoji {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
}

.menu-card-content {
    flex: 1;
    min-width: 0;
}

.menu-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.menu-card-ingredients {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    font-style: italic;
}

.menu-card.highlight {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF0C8 100%);
    border-color: rgba(218,165,32,0.2);
}

.menu-card.highlight .menu-card-name {
    color: var(--red);
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-section {
    background: var(--brown);
    color: var(--white);
    overflow: hidden;
}

.gallery-section .section-badge { color: var(--gold-light); }
.gallery-section .section-title { color: var(--white); }
.gallery-section .section-subtitle { color: rgba(255,255,255,0.6); }

/* Light gallery for gallery page */
.gallery-page-section {
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(44,24,16,0.6) 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

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

.gallery-item-overlay span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =====================================================
   CONTATTI / DOVE SIAMO
   ===================================================== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 44px;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.contact-card-icon.red {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: var(--white);
}

.contact-card-icon.green {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: var(--white);
}

.contact-card-icon.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
}

.contact-card-icon.blue {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    color: var(--white);
}

.contact-card-text h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-card-text p,
.contact-card-text a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.contact-card-text a:hover { color: var(--red); }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--brown);
    color: rgba(255,255,255,0.8);
    padding: 60px 24px 24px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
    min-width: 44px;
    min-height: 44px;
}

.footer-social a:hover {
    background: var(--red);
    transform: scale(1.1);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

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

.footer-flag {
    display: flex;
    height: 3px;
    margin-bottom: 20px;
}

.footer-flag span { flex: 1; }
.footer-flag span:nth-child(1) { background: var(--green); }
.footer-flag span:nth-child(2) { background: var(--white); }
.footer-flag span:nth-child(3) { background: var(--red); }

/* =====================================================
   WHATSAPP CHAT WIDGET
   ===================================================== */

/* Chat Box */
.wa-chat-box {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 340px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99999;
}

.wa-chat-box.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.wa-chat-header {
    background: #25D366;
    padding: 15px;
    display: flex;
    align-items: center;
    color: white;
    gap: 15px;
}

.wa-chat-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

.wa-chat-title h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: white;
}

.wa-chat-title span {
    font-size: 0.75rem;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
}

.wa-chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

.wa-chat-body {
    padding: 20px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23d3cac1' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    min-height: 100px;
}

.wa-chat-message {
    background: white;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #303030;
    position: relative;
    max-width: 85%;
    line-height: 1.4;
}

.wa-chat-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid white;
    border-left: 10px solid transparent;
}

.wa-chat-footer {
    padding: 12px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#wa-chat-input {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    border-radius: 24px;
    resize: none;
    height: 44px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    outline: none;
    line-height: 1.2;
}

.wa-send-btn {
    width: 44px;
    height: 44px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.wa-send-btn:hover {
    background: #128C7E;
}

@media (max-width: 640px) {
    .wa-chat-box {
        width: calc(100vw - 30px);
        right: 15px;
        bottom: 90px;
    }
}

/* Float Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
    animation: none;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    z-index: 899;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition-smooth),
                visibility var(--transition-smooth),
                transform var(--transition-smooth),
                background var(--transition-fast);
    cursor: pointer;
    border: none;
    min-width: 44px;
    min-height: 44px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

/* Tablets */
@media (min-width: 640px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .section { padding: 100px 48px; }
    .section-lg { padding: 120px 48px; }

    .hamburger { display: none; }
    .nav-desktop { display: flex; }
    .header-cta { display: inline-flex; }

    .hero-logo {
        width: 180px;
        height: 180px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .menu-card { padding: 28px; }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .footer { padding: 80px 48px 32px; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .featured-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }

    .page-hero {
        padding: 160px 48px 100px;
    }
}
