/* ==========================================================================
   BOX DOWNTOWN - DESIGN SYSTEM & STYLESHEET
   Colors: Charcoal #1A1A1A / #231F20, Warm Copper #D98D4F, Off-White #F9F9F9
   Fonts: Montserrat (Headers) & Open Sans (Body)
   ========================================================================== */

:root {
    --bg-dark: #1a1a1a;
    --bg-dark-card: #231f20;
    --bg-dark-elevated: #2a2527;
    --accent-gold: #d98d4f;
    --accent-gold-hover: #c57b3e;
    --accent-gold-light: rgba(217, 141, 79, 0.15);
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --text-light: #f9f9f9;
    --text-light-muted: #b0b0b0;
    --border-light: #e6e6e6;
    --border-dark: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold-hover);
}

ul {
    list-style: none;
}

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

/* Container & Grid Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

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

.grid {
    display: grid;
    gap: 30px;
}

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

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .grid-2-cols, .grid-3-cols {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border-color: var(--accent-gold);
}

.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 141, 79, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--bg-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-dark-card);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #1eb956;
    color: #ffffff;
}

/* ==========================================================================
   INTRO SPLASH SCREEN & CINEMATIC SLOW DISSOLVE LOGO TRANSITION
   ========================================================================== */
body.intro-active {
    overflow: hidden !important;
}

.intro-splash {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111111;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 3.0s cubic-bezier(0.25, 1, 0.35, 1);
    pointer-events: all;
}

.intro-splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    transition: transform 3.5s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.8s ease;
    z-index: 100000;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.splash-logo {
    width: min(650px, 86vw);
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
    animation: splashGrandEntrance 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashGrandEntrance {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.header-logo-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Header & Glassmorphism Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(26, 26, 26, 0.96);
    box-shadow: var(--shadow-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.header-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 44px;
    box-sizing: border-box;
    background-color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(217, 141, 79, 0.25);
    text-decoration: none;
    color: #1A1A1A !important;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-align: center;
}

.header-cta .btn:hover {
    background-color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 141, 79, 0.35);
}

.header-cta .btn i {
    color: #1A1A1A !important;
    font-size: 0.88rem;
    margin-right: 6px;
}

.brand-logo img {
    height: 42px;
    max-height: 44px;
    max-width: 200px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/hero_bg.jpg?v=2026_4') no-repeat 44% 28% / cover;
    color: var(--text-light);
    padding: 140px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.2) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.hero-content {
    display: none;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 141, 79, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 0;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(35, 31, 32, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dark);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.feature-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-item span {
    font-size: 0.8rem;
    color: var(--text-light-muted);
}

.feature-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Philosophy Section */
.philosophy-section {
    background-color: var(--bg-light);
}

.philosophy-grid {
    align-items: center;
}

.philosophy-text p {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.lead-text {
    font-size: 1.2rem !important;
    color: var(--text-dark) !important;
    font-weight: 500;
}

.philosophy-stats {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 600;
}

.philosophy-media {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--accent-gold);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Dynamic Menu Section (Modalità 2: Bistrot Tipografico Integrato) */
.menu-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
}

.menu-section .section-title {
    color: var(--text-light);
}

.menu-section .section-subtitle {
    color: var(--text-light-muted);
}

.menu-controls {
    margin-bottom: 45px;
}

.search-box {
    position: relative;
    max-width: 480px;
    margin: 0 auto 30px;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 13px 20px 13px 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    outline: none;
    transition: var(--transition);
    background-color: var(--bg-dark-card);
    color: var(--text-light);
}

.search-box input:focus {
    border-color: var(--accent-gold);
    background-color: #2a2527;
    box-shadow: 0 0 15px rgba(217, 141, 79, 0.25);
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: var(--bg-dark-card);
    color: var(--text-light-muted);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--accent-gold);
    color: #111111;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(217, 141, 79, 0.35);
    font-weight: 700;
}

/* Bistrot Tipografico Menu Layout */
.menu-bistrot-container {
    max-width: 1100px;
    margin: 0 auto;
}

.menu-category-group {
    margin-bottom: 50px;
    animation: fadeInMenu 0.35s ease-out forwards;
}

.menu-category-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(217, 141, 79, 0.35);
}

.menu-cat-title-it {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.menu-cat-title-en {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-light-muted);
    font-style: italic;
    letter-spacing: 0.5px;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 50px;
}

@media (max-width: 850px) {
    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

.menu-bistrot-row {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.menu-bistrot-row:hover {
    border-bottom-color: rgba(217, 141, 79, 0.6);
    transform: translateX(4px);
}

.bistrot-row-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.dish-title-it {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.dish-dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    margin: 0 8px;
    transform: translateY(-4px);
}

.dish-price-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
    white-space: nowrap;
}

.bistrot-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    gap: 10px;
}

.dish-title-en {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    font-style: italic;
}

.dish-allergen-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #a8a8a8;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-footer-action {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-footer-action p {
    margin-bottom: 15px;
    color: var(--text-light-muted);
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.gallery-section .section-title {
    color: var(--text-light);
}

.gallery-section .section-subtitle {
    color: var(--text-light-muted);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.gallery-tabs .tab-btn {
    background-color: var(--bg-dark-card);
    border-color: var(--border-dark);
    color: var(--text-light-muted);
}

.gallery-tabs .tab-btn:hover, .gallery-tabs .tab-btn.active {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    border-color: var(--accent-gold);
}

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

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-overlay h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    color: var(--text-light-muted);
    font-size: 0.85rem;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-height: 75vh;
    margin: 0 auto 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-dark);
}

.lightbox-caption h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.lightbox-caption p {
    color: var(--text-light-muted);
}

/* Booking Section */
.booking-section {
    background-color: var(--bg-light);
}

.booking-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.booking-grid {
    align-items: stretch;
}

.booking-info {
    padding: 60px 40px;
    background-color: var(--bg-dark);
    color: var(--text-light);

}

.booking-info .section-title {
    color: var(--text-light);
}

.booking-benefits {
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-light-muted);
}

.benefit-item i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.direct-contact-box {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.direct-contact-box p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-white);
}

.booking-form-wrapper {
    padding: 60px 40px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label i {
    color: var(--accent-gold);
    margin-right: 4px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    background-color: var(--bg-white);
    box-shadow: 0 0 10px rgba(217, 141, 79, 0.2);
}

.grid-2-cols-sm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-3-cols-sm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 600px) {
    .grid-2-cols-sm, .grid-3-cols-sm {
        grid-template-columns: 1fr;
    }
}

/* Booking Confirmation Modal */
.booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background-color: var(--bg-white);
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-dark);
    animation: modalPop 0.3s ease;
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 3.5rem;
    color: #25d366;
    margin-bottom: 15px;
}

.modal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.modal-summary {
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin: 20px 0;
    text-align: left;

}

.modal-summary p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.modal-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Contact & Map Section */
.contact-section {
    background-color: var(--bg-white);
}

.info-cards-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
}

.info-card {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.closed-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

.closed-tag i {
    font-size: 0.5rem;
}

.map-container {
    height: 100%;
    min-height: 380px;
}

.map-card {
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.map-placeholder {
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-light);
    text-align: center;
    padding: 40px;
}

.map-bg-icon {
    position: absolute;
    font-size: 14rem;
    color: rgba(255, 255, 255, 0.03);
}

.map-overlay-content {
    position: relative;
    z-index: 2;
}

.map-overlay-content h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.map-overlay-content p {
    color: var(--text-light-muted);
    margin-bottom: 25px;
}

/* Footer Slim Luxury */
.site-footer {
    background-color: var(--bg-dark-card);
    color: var(--text-light-muted);
    padding: 24px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-slim-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

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

.footer-logo-slim {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-company-info {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--text-light-muted);
}

.footer-company-info .company-name {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-company-info .copyright-line {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social-slim {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-slim a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(217, 141, 79, 0.25);
}

.footer-social-slim a:hover {
    background-color: var(--accent-gold);
    color: #111111;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 141, 79, 0.35);
}

.footer-legal-slim {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
}

.footer-legal-slim a {
    color: var(--text-light-muted);
    transition: var(--transition);
    text-decoration: none;
}

.footer-legal-slim a:hover {
    color: var(--accent-gold);
}

.footer-legal-slim .legal-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.footer-legal-slim .gestore-link {
    color: var(--accent-gold);
    font-weight: 600;
    margin-left: 4px;
}

@media (max-width: 992px) {
    .footer-slim-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .footer-brand-slim {
        flex-direction: column;
        gap: 10px;
    }
}

/* Legal Modal (GDPR Privacy & Cookie Policy) */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.legal-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-modal-content {
    position: relative;
    z-index: 2;
    background: #1e1e1e;
    border: 1px solid rgba(217, 141, 79, 0.3);
    border-radius: var(--radius-md);
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-light-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.legal-close-btn:hover {
    color: var(--accent-gold);
}

.legal-modal-body {
    padding: 24px;
    overflow-y: auto;
    color: var(--text-light-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.legal-modal-body h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 6px;
}

.legal-modal-body p {
    margin-bottom: 12px;
}

.legal-modal-body ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.legal-modal-body ul li {
    margin-bottom: 4px;
}

.footer-legal a {
    color: var(--text-light-muted);
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

/* Mobile Nav Styles */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        padding: 30px;
        border-bottom: 1px solid var(--border-dark);
        display: none;
        box-shadow: var(--shadow-dark);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

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

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature-divider {
        width: 100%;
        height: 1px;
    }

    .booking-info, .booking-form-wrapper {
        padding: 35px 25px;
    }
}

/* ==========================================================================
   MOBILE & SMARTPHONE OPTIMIZATIONS (iOS / Android Ergonomics & Anti-Zoom)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Prevent Viewport Blowout & White Stripe */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: clip !important;
        position: relative !important;
        background-color: var(--bg-dark) !important;
    }

    .container {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* 2. Clean, Perfectly Aligned Top Header */
    .site-header {
        padding: 12px 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    /* Hide redundant top button on mobile (action delegated to bottom bar) */
    .header-cta .btn {
        display: none !important;
    }

    .brand-logo {
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .brand-logo img {
        height: 42px !important;
        width: auto !important;
        max-width: 175px !important;
        display: block !important;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin-left: 0 !important;
        font-size: 1.6rem !important;
        color: var(--accent-gold) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: var(--radius-sm) !important;
        border: 1px solid rgba(217, 141, 79, 0.2) !important;
    }

    /* 3. Form Anti-Zoom & Scroll Lock */
    .form-group input,
    .form-group select,
    .form-group textarea,
    .search-box input {
        font-size: 16px !important;
    }

    body.no-scroll {
        overflow: hidden !important;
        touch-action: none;
    }

    /* 4. Menu Tabs Horizontal Scroll (Isolated swipe without shifting page) */
    .menu-controls {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        margin-bottom: 30px !important;
    }

    .menu-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain !important;
        padding: 8px 5px 12px !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        scrollbar-width: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .tab-btn {
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        white-space: nowrap !important;
        padding: 8px 16px !important;
        font-size: 0.82rem !important;
    }

    /* Dish layout resiliency on small displays */
    .dish-title-it {
        font-size: 1.02rem !important;
        line-height: 1.35;
    }

    .dish-price-val {
        font-size: 1.05rem !important;
        flex-shrink: 0;
    }

    .dish-dots {
        min-width: 15px;
    }

    /* Extra bottom padding on body for the sticky bottom bar */
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* 5. Sticky Bottom Navigation Bar (Centered 3-Column Grid) */
    .mobile-bottom-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        height: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
        background: rgba(26, 26, 26, 0.95) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-top: 1px solid rgba(217, 141, 79, 0.3) !important;
        display: grid !important;
        grid-template-columns: 1fr 1.3fr 1fr !important;
        align-items: center !important;
        justify-items: center !important;
        z-index: 999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
    }

    .mobile-bar-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        color: var(--text-light-muted) !important;
        font-family: var(--font-heading) !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        width: 100% !important;
        text-align: center !important;
        transition: var(--transition) !important;
    }

    .mobile-bar-btn i {
        font-size: 1.15rem !important;
        color: var(--accent-gold) !important;
    }

    .mobile-bar-btn.mobile-bar-primary {
        background: var(--accent-gold) !important;
        color: #111111 !important;
        padding: 7px 14px !important;
        border-radius: 25px !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 12px rgba(217, 141, 79, 0.4) !important;
        width: auto !important;
        min-width: 110px !important;
    }

    .mobile-bar-btn.mobile-bar-primary i {
        color: #111111 !important;
        font-size: 1rem !important;
    }

    .mobile-bar-btn:active {
        transform: scale(0.95) !important;
    }
}

@media (min-width: 769px) {
    .mobile-bottom-bar {
        display: none !important;
    }
}
