﻿/* ==========================================================================
   VARIABLES & RESET - RESPONSIVE UPDATE
   ========================================================================== */

:root {
    /* Color Palette 2025 - Dark Theme */
    --primary: #E74C3C;
    --primary-dark: #D45A2C;
    --primary-light: #FF8B5C;
    --secondary: #2EC4B6;
    --accent: #FF9F1C;
    --dark: #0A0A0A;
    --dark-light: #1A1A1A;
    --surface: #242424;
    --surface-light: #333333;
    --text: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #888888;
    --border: #444444;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #F44336;
    --info: #2196F3;
    /* Typography */
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', Monaco, monospace;
    /* Spacing - Mobile First */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.6);
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    /* Container Widths - Responsive */
    --container-sm: 100%;
    --container-md: 640px;
    --container-lg: 768px;
    --container-xl: 1024px;
    --container-2xl: 1280px;
}

/* Responsive Variables */
@media (max-width: 640px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 3rem;
    }
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-padding-top: 80px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
        scroll-padding-top: 60px;
    }
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   TYPOGRAPHY - RESPONSIVE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

    a:hover {
        color: var(--primary-light);
    }

/* ==========================================================================
   LAYOUT & CONTAINER - FULLY RESPONSIVE
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
}

/* Responsive container padding */
@media (max-width: 640px) {
    .container {
    }
}

/* Grid System - Responsive */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex Container */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* ==========================================================================
   COMPONENTS: BUTTONS - RESPONSIVE
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Touch-friendly minimum */
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.75rem;
    }
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }
@media (max-width: 768px) {
    .btn-map {
        display: flex;
        width: fit-content;
        margin: 0 auto;
    }
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 56px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Button Group for mobile */
.btn-group {
    display: flex;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
}

/* ==========================================================================
   COMPONENTS: HEADER - RESPONSIVE
   ========================================================================== */
/* ===== SITE HEADER - OTTIMIZZATO PER EVITARE TRONCAMENTI ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1030;
    display: flex;
    align-items: center;
}

    .site-header .container {
        width: 100%;
        max-width: var(--container-2xl);
        margin: 0 auto;
        padding: 0 var(--space-lg);
        height: 100%;
    }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: var(--space-md); /* Gap base ridotto per flessibilità */
}

/* ===== LOGO ===== */
.logo {
    flex-shrink: 0;
}

    .logo a {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        text-decoration: none;
        color: var(--text);
    }

.logo-icon {
    width: 100%;
    max-width: 64px;
    aspect-ratio: 1 / 1;
    background: var(--text);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
    flex-shrink: 0;
}

    .logo-icon img.logo-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

.logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== MAIN NAVIGATION ===== */
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 auto; /* Centra la navigazione nello spazio disponibile */
    padding: 0 var(--space-sm);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-xs);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    border: 1px solid transparent;
}

/* ===== HEADER INFO DESKTOP ===== */
.header-info-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-shrink: 0; /* Impedisce che venga compresso */
}

.header-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

    .contact-item i {
        color: var(--primary);
        font-size: 1rem;
        width: 20px; /* Larghezza fissa per allineamento */
        text-align: center;
    }

.btn-prenota {
    min-height: 44px;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}


/* ===== RESPONSIVE BREAKPOINTS OTTIMIZZATI ===== */

/* Laptop grandi - tutto visibile */
@media (min-width: 1200px) {
    .header-content {
        gap: var(--space-xl);
    }

    .nav-link {
        padding: var(--space-sm) var(--space-lg);
    }
}

/* Laptop medi - riduciamo gli spazi */
@media (max-width: 1199px) and (min-width: 1025px) {
    .header-content {
        gap: var(--space-md);
    }

    .logo-title {
        font-size: 1.35rem;
    }

    .logo-subtitle {
        display: none; /* Nascondiamo il subtitle su schermi medi */
    }

    .nav-link {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.95rem;
    }

        .nav-link span {
            display: none; /* Nascondiamo il testo, mostriamo solo icone */
        }

        .nav-link i {
            font-size: 1.25rem;
            width: auto;
            margin: 0;
        }

    .header-info-desktop {
        gap: var(--space-lg);
    }

    .header-contact {
        gap: var(--space-md);
    }

    .contact-item span {
        font-size: 0.9rem;
    }

    .btn-prenota {
        padding: 0.5rem 1.25rem;
        font-size: 0.95rem;
    }

        .btn-prenota span {
            display: none; /* Nascondiamo "Prenota ora", mostriamo solo icona */
        }

        .btn-prenota i {
            margin: 0;
            font-size: 1.25rem;
        }
}

/* Tablet - ridefinizione completa */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-content {
        gap: var(--space-sm);
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        display: none;
    }

    /* Menu compatto con solo icone */
    .nav-link {
        padding: var(--space-sm);
    }

        .nav-link span {
            display: none;
        }

        .nav-link i {
            font-size: 1.25rem;
            width: auto;
            margin: 0;
        }

    /* Header info compatto */
    .header-info-desktop {
        gap: var(--space-md);
    }

    .header-contact {
        gap: var(--space-sm);
    }

    .contact-item i {
        font-size: 1.125rem;
    }

    .contact-item span {
        font-size: 0.85rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-prenota {
        padding: 0.5rem 1rem;
        min-width: auto;
    }

        .btn-prenota span {
            display: none;
        }

        .btn-prenota i {
            margin: 0;
            font-size: 1.25rem;
        }
}

/* Tablet piccoli / Landscape mobile - ATTIVIAMO IL MENU MOBILE */
@media (max-width: 900px) and (min-width: 769px) {
    /* Forziamo il passaggio al menu mobile prima */
    .main-navigation {
        display: none; /* Nascondiamo nav desktop */
    }

    .mobile-menu-btn {
        display: flex; /* Mostriamo hamburger */
    }

    .header-info-desktop {
        gap: var(--space-sm);
    }

    .contact-item span {
        display: none; /* Nascondiamo testo contatti */
    }

    .contact-item i {
        font-size: 1.25rem;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--surface);
        border-radius: 50%;
        padding: 0;
    }

    .btn-prenota {
        padding: 0.5rem;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .btn-prenota i {
            font-size: 1.25rem;
        }
}

/* Mobile standard */
@media (max-width: 768px) {
    .site-header {
        height: 60px;
    }

        .site-header .container {
            padding: 0 var(--space-md);
        }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .logo-title {
        font-size: 1.125rem;
    }

    .logo-subtitle {
        display: none;
    }

    .main-navigation {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--dark-light);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1020;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        display: block;
        height: auto;
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }

        .main-navigation.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .main-navigation .container {
            flex-direction: column;
            padding: var(--space-md) 0;
            min-height: 100%;
            padding-bottom: var(--space-xl);
        }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: var(--space-sm);
        flex: 1;
    }

    .nav-link {
        padding: var(--space-lg) var(--space-xl);
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        justify-content: center;
        font-size: 1.1rem;
        width: 100%;
    }

        .nav-link span {
            display: inline-block; /* Mostriamo testo su mobile */
        }

        .nav-link i {
            font-size: 1.2rem;
            width: 24px;
        }

    .header-info-desktop {
        display: none; /* Nascondiamo info desktop su mobile */
    }

    .mobile-menu-btn {
        display: flex; /* Mostriamo hamburger */
    }

    .nav-contact-mobile {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-xl) var(--space-md);
        margin-top: auto;
        border-top: 1px solid var(--border);
        width: 100%;
        background: var(--surface);
        flex-wrap: wrap;
        margin-bottom: var(--space-md);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

        .nav-contact-mobile .btn {
            flex: 1;
            min-width: 140px;
            max-width: 200px;
            min-height: 48px;
            font-size: 0.95rem;
            padding: var(--space-md) var(--space-lg);
        }
}

/* Mobile piccoli */
@media (max-width: 480px) {
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .logo-title {
        font-size: 1rem;
    }

    .nav-contact-mobile {
        flex-direction: column;
        gap: var(--space-sm);
    }

        .nav-contact-mobile .btn {
            width: 100%;
            max-width: 100%;
        }
}

/* iPhone SE e dispositivi molto piccoli */
@media (max-width: 375px) {
    .logo-title {
        font-size: 0.9rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
}

/* ===== MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1019;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* ===== NOTCH SUPPORT ===== */
@supports (padding: max(0px)) {
    .site-header .container {
        padding-left: max(var(--space-lg), env(safe-area-inset-left));
        padding-right: max(var(--space-lg), env(safe-area-inset-right));
    }

    @media (max-width: 768px) {
        .site-header .container {
            padding-left: max(var(--space-md), env(safe-area-inset-left));
            padding-right: max(var(--space-md), env(safe-area-inset-right));
        }

        .main-navigation {
            padding-bottom: max(env(safe-area-inset-bottom), 20px);
        }
    }
}

/* ===== ACCESSIBILITÀ ===== */
.nav-link:focus-visible,
.mobile-menu-btn:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===== TRANSIZIONI ===== */
.nav-link, .btn, .contact-item, .mobile-menu-btn {
    transition: all 0.2s ease;
}


.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   HEADER & NAVIGATION - STRUTTURA UNIFICATA
   ========================================================================== */

/* Variabili */
:root {
    --header-height-desktop: 80px;
    --header-height-mobile: 60px;
    --header-bg: rgba(10, 10, 10, 0.98);
}

/* ===== SITE HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height-desktop);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1030;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .site-header {
        height: var(--header-height-mobile);
    }
}

.site-header .container {
    width: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
}

@media (max-width: 768px) {
    .site-header .container {
        padding: 0 var(--space-md);
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}



@media (max-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .logo-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.125rem;
    }
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .logo-subtitle {
        display: none;
    }
}

/* ===== HEADER INFO DESKTOP ===== */
.header-info-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-left: auto;
    margin-right: var(--space-lg);
}

@media (max-width: 1024px) {
    .header-info-desktop {
        gap: var(--space-lg);
        margin-right: var(--space-md);
    }
}

@media (max-width: 768px) {
    .header-info-desktop {
        display: none;
    }
}

.header-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

    .contact-item:hover {
        color: var(--primary);
    }

    .contact-item i {
        color: var(--primary);
        font-size: 1rem;
    }

.btn-prenota {
    min-height: 44px;
    padding: 0.5rem 1.5rem;
}

/* ===== MAIN NAVIGATION - DENTRO HEADER ===== */
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

@media (max-width: 768px) {
    .main-navigation {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        right: 0;
        background: var(--dark-light);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1020;
        max-height: calc(100vh - var(--header-height-mobile));
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        display: block;
        height: auto;
    }

        .main-navigation.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
}

.main-navigation .container {
    display: flex;
    align-items: center;
    padding: 0;
    height: 100%;
}

@media (max-width: 768px) {
    .main-navigation .container {
        flex-direction: column;
        padding: var(--space-md) 0;
    }
}

/* ===== NAV MENU ===== */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-xs);
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    border: 1px solid transparent;
}

@media (min-width: 769px) {
    .nav-link {
        padding: var(--space-sm) var(--space-lg);
    }

        .nav-link:hover {
            color: var(--text);
            background: var(--surface);
            border-color: var(--border);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .nav-link.active {
            color: var(--primary);
            background: rgba(255, 107, 53, 0.1);
            border-color: rgba(255, 107, 53, 0.3);
            font-weight: 600;
        }

            .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 50%;
                transform: translateX(-50%);
                width: 6px;
                height: 6px;
                background: var(--primary);
                border-radius: var(--radius-full);
            }
}

@media (max-width: 768px) {
    .nav-link {
        padding: var(--space-lg) var(--space-xl);
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        justify-content: center;
        font-size: 1.1rem;
        width: 100%;
    }

        .nav-link:hover,
        .nav-link.active {
            background: var(--surface);
            color: var(--primary);
        }

        .nav-link.active {
            background: rgba(255, 107, 53, 0.15);
            border-left: 4px solid var(--primary);
        }

            .nav-link.active::after {
                display: none;
            }
}

.nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.nav-link:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-link i {
        font-size: 1.2rem;
        width: 24px;
    }
}

/* ===== NAV CONTACT MOBILE ===== */
.nav-contact-mobile {
    display: none;
}

@media (max-width: 768px) {
    .nav-contact-mobile {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-xl);
        margin-top: var(--space-md);
        border-top: 1px solid var(--border);
        width: 100%;
        background: var(--surface);
        flex-wrap: wrap;
    }

        .nav-contact-mobile .btn {
            flex: 1;
            min-width: 180px;
            max-width: 220px;
            min-height: 48px;
            font-size: 0.95rem;
        }
}

@media (max-width: 480px) {
    .nav-contact-mobile {
        flex-direction: column;
        padding: var(--space-lg);
    }

        .nav-contact-mobile .btn {
            width: 100%;
            max-width: 100%;
        }
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

.menu-line {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--primary);
}

/* ===== OVERLAY MOBILE ===== */
.nav-overlay {
    display: none;
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1019;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

@media (min-width: 769px) {
    .nav-overlay {
        display: none !important;
    }
}

/* ===== MAIN CONTENT OFFSET ===== */
.main-content {
    padding-top: var(--header-height-desktop);
    min-height: calc(100vh - 300px);
}

@media (max-width: 768px) {
    .main-content {
        padding-top: var(--header-height-mobile);
    }
}

/* ===== ACCESSIBILITÀ ===== */
.nav-link:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   COMPONENTS: HERO - RESPONSIVE
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9));
    padding: var(--space-3xl) 0;
    margin-top: 0px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
        padding: var(--space-xl) 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/jomapub.webp') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-md);
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeIn 0.8s ease-out;
}

@media (max-width: 768px) {
    .hero-badge {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.75rem;
        margin-bottom: var(--space-lg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: var(--space-lg);
    color: var(--text);
    position: relative;
    display: inline-block;
    animation: fadeIn 1s ease-out 0.2s both;
}
.hero-title .highlight {
    color: transparent;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientText 3s ease infinite;
    /* Rimuovi background-size: non compatibile con text clipping */
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    animation: fadeIn 1s ease-out 0.6s both;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: -70px; /* Aumenta questo valore per posizionarlo più in basso */
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: -70px;
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   COMPONENTS: CARDS - RESPONSIVE
   ========================================================================== */

.feature-card {
    background: var(--surface);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .feature-card:hover {
        transform: translateY(-8px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

@media (max-width: 768px) {
    .feature-card {
        padding: var(--space-lg);
    }
}

.feature-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

/* Menu Items - Responsive */
.menu-item {
    background: var(--surface);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
    break-inside: avoid;
}

    .menu-item:hover {
        border-color: var(--primary);
        transform: translateX(4px);
    }

    .menu-item.highlight {
        border: 2px solid var(--primary);
        background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 107, 53, 0.1) 100%);
        position: relative;
        overflow: hidden;
    }

        .menu-item.highlight::before {
            content: '★';
            position: absolute;
            top: 10px;
            right: 10px;
            color: var(--accent);
            font-size: 1.5rem;
        }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.item-name-price {
    flex: 1;
    min-width: 200px;
}

    .item-name-price h4 {
        margin: 0;
        font-size: clamp(1.125rem, 2vw, 1.25rem);
        color: var(--text);
        line-height: 1.3;
    }

.item-price {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.item-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: var(--space-sm);
    white-space: nowrap;
}

.item-description {
    color: var(--text-secondary);
    font-size: clamp(0.875rem, 2vw, 0.9rem);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.item-tags {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.tag {
    background: var(--surface-light);
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
}

/* ==========================================================================
   COMPONENTS: SECTIONS - RESPONSIVE
   ========================================================================== */

section {
    padding: var(--space-3xl) 0;
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-2xl) 0;
        scroll-margin-top: 60px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-lg);
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
        margin: var(--space-md) auto;
        border-radius: var(--radius-full);
    }

@media (max-width: 768px) {
    .section-title {
        margin-bottom: var(--space-lg);
        padding-bottom: var(--space-md);
    }
}

/* Features Section */
.features-section {
    background: var(--dark-light);
}

/* Menu Preview */
.menu-preview-section {
    background: var(--dark);
}

.tab-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    overflow-x: auto;
    padding: var(--space-sm) 0;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .tab-buttons {
        justify-content: flex-start;
        margin: 0 calc(-1 * var(--space-md)) var(--space-lg);
        padding: var(--space-sm) var(--space-md);
    }
}

.tab-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
}

    .tab-btn:hover,
    .tab-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* Tab Content */
.tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .tab-pane.active {
        display: block;
    }

/* Events Section */
.events-section {
    background: var(--dark-light);
}

.events-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .events-slider {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.event-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.event-date {
    background: var(--primary);
    color: white;
    padding: var(--space-lg);
    text-align: center;
    text-transform: uppercase;
    flex-shrink: 0;
}

    .event-date.highlight {
        background: var(--accent);
    }

    .event-date .day {
        display: block;
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        font-weight: 700;
        letter-spacing: 2px;
    }

    .event-date .weekday {
        font-size: 0.875rem;
        opacity: 0.9;
    }

.event-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .event-content h3 {
        margin-top: 0;
        margin-bottom: var(--space-sm);
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

.event-price {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

/* Testimonials */
.testimonials-section {
    background: var(--dark);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--surface);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: var(--space-lg);
    }
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: var(--space-lg);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    position: relative;
    flex: 1;
}

    .testimonial-text::before {
        content: '"';
        font-size: 4rem;
        color: var(--primary);
        opacity: 0.3;
        position: absolute;
        top: -20px;
        left: -10px;
        font-family: Georgia, serif;
        line-height: 1;
    }

@media (max-width: 768px) {
    .testimonial-text::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.author-name {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.author-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/jomapub.webp') center/cover;
        opacity: 0.1;
        pointer-events: none;
    }

.cta-card {
    background: linear-gradient(135deg, rgba(36, 36, 36, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .cta-card {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .cta-card {
        padding: var(--space-xl);
    }
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
    color: transparent;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.2;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .cta-actions .btn {
            width: 100%;
        }
}

.cta-image {
    position: relative;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cta-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/jomapub.webp') center/cover no-repeat;
        opacity: 0.8;
        mix-blend-mode: multiply;
    }

/* ==========================================================================
   FOOTER - FULL WIDTH A 3 COLONNE
   ========================================================================== */

.site-footer.full-width {
    width: 100%;
    background: var(--dark-light);
    border-top: 1px solid var(--border);
    padding: 0;
    margin: 0;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Main Footer Grid - 3 Colonne */
.footer-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    padding: var(--space-3xl) var(--space-xl);
    max-width: 1800px;
    margin: 0 auto;
}

/* Colonne */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Brand / Logo Section */
.footer-brand {
    margin-bottom: var(--space-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

    .footer-logo i {
        font-size: 2rem;
        color: var(--primary);
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .footer-logo h3 {
        font-size: 1.5rem;
        margin: 0;
        color: var(--text);
        font-family: var(--font-heading);
    }

.footer-tagline {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}
.logo-img {
    width: 50px; /* Ridimensiona a 50px di larghezza */
    height: auto; /* Mantiene le proporzioni */
    display: block;
}

/* Se vuoi ancora più piccolo */
.logo-img-small {
    width: 40px;
    height: auto;
}

/* Se vuoi un logo circolare */
.logo-img-rounded {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}
/* Social Section */
.social-title {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

    .social-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

/* Footer Titles */
.footer-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border);
}

    .footer-title i {
        color: var(--primary);
        font-size: 1.25rem;
    }

/* Hours List */
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md) 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

    .hours-item:last-child {
        border-bottom: none;
    }

    .hours-item.highlight {
        color: var(--primary);
        font-weight: 500;
    }

        .hours-item.highlight .hours {
            background: var(--primary);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

    .hours-item.special {
        background: rgba(255, 107, 53, 0.05);
        border-radius: var(--radius-md);
        padding: var(--space-sm);
        margin-top: var(--space-xs);
    }

        .hours-item.special .days i {
            color: var(--primary);
            margin-right: var(--space-xs);
        }

.days {
    font-weight: 500;
}

.hours {
    font-weight: 600;
}

.hours-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    color: var(--text);
    font-size: 0.9rem;
}

    .hours-note i {
        color: var(--primary);
    }

/* Address / Contact */
.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.address-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    color: var(--text-secondary);
}

/* Mobile */
@media (max-width: 768px) {
    .footer-address {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}olor: var(--text-secondary);
}

    .address-item i {
        color: var(--primary);
        font-size: 1.1rem;
        width: 24px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .address-item > div {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .address-item strong {
        color: var(--text);
        font-weight: 600;
        margin-bottom: 2px;
    }

    .address-item a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: color var(--transition-fast);
        font-weight: 500;
    }

        .address-item a:hover {
            color: var(--primary);
        }

    .address-item small {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

/* Map Link */
.map-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
}

    .map-link:hover {
        background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 107, 53, 0.1) 100%);
        border-color: var(--primary);
        transform: translateX(5px);
    }

    .map-link i:first-child {
        color: var(--primary);
        font-size: 1.25rem;
    }

    .map-link span {
        flex: 1;
        margin-left: var(--space-sm);
        font-weight: 500;
    }

    .map-link i:last-child {
        color: var(--text-muted);
        font-size: 0.9rem;
        transition: transform var(--transition-fast);
    }

    .map-link:hover i:last-child {
        transform: translateX(5px);
        color: var(--primary);
    }

/* Footer Bottom */
.footer-bottom {
    width: 100%;
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: var(--space-xl) var(--space-xl);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

    .footer-copyright p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin: 0;
    }

    .footer-copyright .vat {
        color: var(--text-muted);
        font-size: 0.85rem;
        padding-left: var(--space-lg);
        border-left: 1px solid var(--border);
    }

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    padding: var(--space-xs) 0;
}

    .footer-link:hover {
        color: var(--primary);
    }

.separator {
    color: var(--border);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */

/* Large Desktop */
@media (min-width: 1800px) {
    .footer-grid-3col {
        padding: var(--space-4xl) var(--space-2xl);
    }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
    .footer-grid-3col {
        gap: var(--space-xl);
        padding: var(--space-2xl) var(--space-lg);
    }

    .footer-logo h3 {
        font-size: 1.35rem;
    }
}

/* Tablet Portrait */
@media (max-width: 992px) {
    .footer-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-col:last-child {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-copyright {
        justify-content: center;
    }

        .footer-copyright .vat {
            border-left: none;
            padding-left: 0;
        }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .footer-grid-3col {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl) var(--space-md);
    }

    .footer-col:last-child {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-title {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

        .hours-item.highlight .hours {
            align-self: flex-start;
        }

    .address-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .address-item > div {
            align-items: center;
        }

    .map-link {
        justify-content: center;
        gap: var(--space-sm);
    }

    .footer-bottom {
        padding: var(--space-lg) var(--space-md);
    }

    .footer-links {
        justify-content: center;
        gap: var(--space-sm);
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .footer-grid-3col {
        gap: var(--space-lg);
    }

    .footer-logo h3 {
        font-size: 1.25rem;
    }

    .social-links {
        gap: var(--space-xs);
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-copyright {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .separator {
        display: none;
    }

    .footer-link {
        padding: var(--space-xs) 0;
    }
}

/* Notch support */
@supports (padding: max(0px)) {
    .footer-grid-3col {
        padding-left: max(var(--space-xl), env(safe-area-inset-left));
        padding-right: max(var(--space-xl), env(safe-area-inset-right));
    }

    .footer-bottom {
        padding-left: max(var(--space-xl), env(safe-area-inset-left));
        padding-right: max(var(--space-xl), env(safe-area-inset-right));
        padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
    }
}

/* Dark mode optimization */
@media (prefers-color-scheme: dark) {
    .footer-bottom {
        background: var(--dark);
    }
}

/* Print styles */
@media print {
    .site-footer {
        display: none;
    }
}

/* Animations */
.footer-col {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

    .footer-col:nth-child(1) {
        animation-delay: 0.1s;
    }

    .footer-col:nth-child(2) {
        animation-delay: 0.2s;
    }

    .footer-col:nth-child(3) {
        animation-delay: 0.3s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
.footer-link:focus-visible,
.social-link:focus-visible,
.map-link:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Hover effects for touch devices */
@media (hover: none) and (pointer: coarse) {
    .social-link:hover,
    .footer-link:hover,
    .map-link:hover {
        transform: none;
    }

    .social-link:active {
        transform: scale(0.95);
        background: var(--primary);
        color: white;
    }
}
/* ==========================================================================
   MENU PAGE SPECIFIC - RESPONSIVE
   ========================================================================== */

/* Page Header */
.page-header {
    padding: var(--space-3xl) 0;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)), url('/images/menu-bg.jpg') center/cover no-repeat;
    color: white;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 60px;
        padding: var(--space-2xl) 0;
    }
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    color: var(--text-secondary);
}

.allergens-alert {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 155, 28, 0.1);
    border: 1px solid var(--accent);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

    .allergens-alert i {
        color: var(--accent);
        font-size: 1.25rem;
        flex-shrink: 0;
    }

@media (max-width: 768px) {
    .allergens-alert {
        flex-direction: column;
        text-align: center;
        margin: 0 var(--space-md);
    }
}

/* Menu Categories Navigation */
.menu-categories-nav {
    position: sticky;
    top: 80px;
    background: var(--dark-light);
    z-index: 100;
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .menu-categories-nav {
        top: 60px;
        padding: var(--space-xs) 0;
    }
}

.menu-categories {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-xs) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface);
}

    .menu-categories::-webkit-scrollbar {
        height: 4px;
    }

    .menu-categories::-webkit-scrollbar-track {
        background: var(--surface);
    }

    .menu-categories::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: var(--radius-full);
    }

@media (max-width: 768px) {
    .menu-categories {
        margin: 0 calc(-1 * var(--space-md));
        padding: var(--space-xs) var(--space-md);
    }
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    min-width: 80px;
    min-height: 70px;
    color: var(--text-secondary);
}

    .category-btn.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .category-btn i {
        font-size: 1.25rem;
        margin-bottom: 2px;
    }

    .category-btn span {
        font-size: 0.75rem;
        font-weight: 500;
    }

/* Menu Sections */
.menu-container {
    padding: var(--space-xl) 0;
}

.menu-section {
    padding: var(--space-2xl) 0;
    display: none;
    animation: fadeIn 0.5s ease;
}

    .menu-section.active {
        display: block;
    }

@media (max-width: 768px) {
    .menu-section {
        padding: var(--space-xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

    .section-header .section-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.menu-subsection {
    margin-bottom: var(--space-2xl);
}

    .menu-subsection:last-child {
        margin-bottom: 0;
    }

.subsection-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border);
    color: var(--text);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
}

/* Item Details */
.item-details {
    display: flex;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.item-sides {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px dashed var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Menu Actions */
.menu-actions {
    padding: var(--space-3xl) 0;
    background: var(--dark-light);
}

.menu-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.action-card {
    background: var(--surface);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .action-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

    .action-card i {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: var(--space-lg);
    }

    .action-card h3 {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        margin-bottom: var(--space-sm);
        color: var(--text);
    }

    .action-card p {
        color: var(--text-secondary);
        margin-bottom: var(--space-lg);
        flex: 1;
    }

.qrcode-placeholder {
    width: 150px;
    height: 150px;
    background: var(--surface-light);
    border-radius: var(--radius-md);
    margin: var(--space-md) auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    border: 2px dashed var(--border);
}

    .qrcode-placeholder::before {
        content: 'QR Code';
        font-size: 0.875rem;
    }

/* ==========================================================================
   UTILITY CLASSES - RESPONSIVE
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-xs);
}

.mt-2 {
    margin-top: var(--space-sm);
}

.mt-3 {
    margin-top: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-lg);
}

.mt-5 {
    margin-top: var(--space-xl);
}

.mt-6 {
    margin-top: var(--space-2xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-xs);
}

.mb-2 {
    margin-bottom: var(--space-sm);
}

.mb-3 {
    margin-bottom: var(--space-md);
}

.mb-4 {
    margin-bottom: var(--space-lg);
}

.mb-5 {
    margin-bottom: var(--space-xl);
}

.mb-6 {
    margin-bottom: var(--space-2xl);
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--space-xs);
}

.p-2 {
    padding: var(--space-sm);
}

.p-3 {
    padding: var(--space-md);
}

.p-4 {
    padding: var(--space-lg);
}

.p-5 {
    padding: var(--space-xl);
}

.p-6 {
    padding: var(--space-2xl);
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-stretch {
    align-items: stretch;
}

.gap-1 {
    gap: var(--space-xs);
}

.gap-2 {
    gap: var(--space-sm);
}

.gap-3 {
    gap: var(--space-md);
}

.gap-4 {
    gap: var(--space-lg);
}

.gap-5 {
    gap: var(--space-xl);
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-100 {
    height: 100%;
}

.h-auto {
    height: auto;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.position-sticky {
    position: sticky;
}

/* Responsive Display Classes */
@media (max-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-flex {
        display: flex !important;
    }

    .d-md-grid {
        display: grid !important;
    }
}

@media (min-width: 769px) {
    .d-lg-none {
        display: none !important;
    }

    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .d-lg-grid {
        display: grid !important;
    }
}

/* Responsive Text Alignment */
@media (max-width: 768px) {
    .text-md-center {
        text-align: center;
    }

    .text-md-left {
        text-align: left;
    }

    .text-md-right {
        text-align: right;
    }
}

/* Responsive Margin/Padding */
@media (max-width: 768px) {
    .mt-md-0 {
        margin-top: 0;
    }

    .mt-md-1 {
        margin-top: var(--space-xs);
    }

    .mt-md-2 {
        margin-top: var(--space-sm);
    }

    .mt-md-3 {
        margin-top: var(--space-md);
    }

    .mb-md-0 {
        margin-bottom: 0;
    }

    .mb-md-1 {
        margin-bottom: var(--space-xs);
    }

    .mb-md-2 {
        margin-bottom: var(--space-sm);
    }

    .mb-md-3 {
        margin-bottom: var(--space-md);
    }

    .p-md-0 {
        padding: 0;
    }

    .p-md-1 {
        padding: var(--space-xs);
    }

    .p-md-2 {
        padding: var(--space-sm);
    }

    .p-md-3 {
        padding: var(--space-md);
    }
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}




/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .header-info-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: var(--space-md) var(--space-xl);
        border-bottom: 1px solid var(--border);
        justify-content: center;
    }

        .nav-link.active::after {
            display: none;
        }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .tab-buttons {
        justify-content: flex-start;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 var(--space-xl);
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        padding: var(--space-2xl);
    }
}

/* Large desktop adjustments */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .feature-card:hover,
    .event-card:hover,
    .action-card:hover,
    .menu-item:hover {
        transform: none;
    }

    .btn:active,
    .feature-card:active,
    .event-card:active,
    .action-card:active,
    .menu-item:active {
        transform: scale(0.98);
    }

    /* Increase touch targets */
    .nav-link,
    .tab-btn,
    .category-btn {
        min-height: 44px;
        padding: 12px 16px;
    }

    .contact-item {
        padding: 8px;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .btn::after {
        display: none;
    }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
    :root {
        --text: #FFFFFF;
        --text-secondary: #B0B0B0;
        --text-muted: #888888;
        --dark: #0A0A0A;
        --dark-light: #1A1A1A;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #FF4500;
        --secondary: #00CED1;
        --accent: #FFD700;
        --text: #FFFFFF;
        --text-secondary: #CCCCCC;
        --border: #666666;
    }

    .btn-primary {
        border: 2px solid var(--text);
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .main-navigation,
    .site-footer,
    .btn,
    .cta-section,
    .mobile-menu-btn,
    .hero-actions,
    .scroll-indicator,
    .footer-social,
    .newsletter-form,
    .action-card .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }

    .container {
        max-width: 100% !important;
        margin: 0 !important;
    }

    section {
        padding: 1rem 0 !important;
        margin: 0 !important;
        break-inside: avoid;
    }

    .hero-section {
        min-height: auto !important;
        margin-top: 0 !important;
        background: white !important;
        color: black !important;
    }

        .hero-section::before {
            display: none !important;
        }

    .hero-title,
    .section-title,
    .page-title,
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }

        .hero-title .highlight {
            color: black !important;
            background: none !important;
            -webkit-text-fill-color: black !important;
        }

    .feature-card,
    .testimonial-card,
    .action-card,
    .menu-item,
    .event-card {
        background: white !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        color: black !important;
        break-inside: avoid;
    }

        .feature-card:hover,
        .menu-item:hover,
        .event-card:hover,
        .action-card:hover {
            transform: none !important;
        }

    .item-price,
    .event-price,
    .price {
        color: black !important;
        font-weight: bold !important;
    }

    .item-description,
    .testimonial-text,
    .footer-description,
    p {
        color: #333 !important;
    }

    a {
        color: black !important;
        text-decoration: underline !important;
    }

        /* Show URLs after links */
        a[href]::after {
            content: " (" attr(href) ")";
            font-size: 0.8em;
            font-weight: normal;
        }

        /* Don't show URLs for these */
        a[href^="#"]::after,
        a[href^="javascript:"]::after {
            content: "";
        }

    /* Page breaks */
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }

    .menu-section {
        page-break-inside: avoid;
    }

    /* Remove animations and transitions */
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-light);
    }

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-light);
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.loading {
    position: relative;
    overflow: hidden;
}

    .loading::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.1), transparent );
        animation: loading 1.5s infinite;
    }

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   FOCUS STYLES FOR ACCESSIBILITY
   ========================================================================== */

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Fallback for older browsers */
:focus:not(:focus-visible) {
    outline: none;
}

/* Skip link focus styles */
.skip-to-content:focus {
    top: 0;
    left: 0;
    right: auto;
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ==========================================================================
   COOKIE BANNER - IMPROVED
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 2px solid var(--primary);
    z-index: 9999;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none; /* Nascondi inizialmente, mostrato via JS */
}

    .cookie-banner.active {
        transform: translateY(0);
        display: block;
    }

    .cookie-banner.blocking {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none;
        border-top: none;
        animation: fadeIn 0.5s ease;
    }

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-banner.blocking .cookie-content {
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s ease;
}

.cookie-banner p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

    .cookie-banner a:hover {
        color: var(--primary-light);
    }

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: var(--space-md);
    }

        .cookie-banner.blocking .cookie-content {
            margin: var(--space-lg);
            padding: var(--space-xl);
        }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

        .cookie-buttons .btn {
            width: 100%;
            max-width: 300px;
        }
}

/* Blocco dello scroll quando il banner è attivo */
body.blocked-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Blocco dell'interazione con il resto del sito */
.site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.8);
    z-index: 9998;
    display: none;
}

    .site-overlay.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

/* Stili per quando il banner è in modalità bloccante */
body.has-cookie-banner .site-header,
body.has-cookie-banner .main-navigation,
body.has-cookie-banner .main-content,
body.has-cookie-banner .site-footer {
    transition: filter 0.3s ease;
}

body.has-cookie-banner .cookie-banner.blocking + .site-overlay {
    display: block;
}

/* Alternative per coloro che usano screen reader */
.cookie-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles per accessibilità */
.cookie-banner:focus-within {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ==========================================================================
   ANIMATIONS FOR COOKIE BANNER
   ========================================================================== */

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-banner.slide-up {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cookie-banner.slide-down {
    animation: slideDown 0.3s ease forwards;
}

.cookie-banner.fade-in-scale {
    animation: fadeInScale 0.3s ease forwards;
}

/* ==========================================================================
   COOKIE OPTIONS STYLES
   ========================================================================== */

.cookie-title {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    text-align: center;
}

.cookie-options {
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: left;
    max-height: 300px;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

    .cookie-option:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .cookie-option input[type="checkbox"] {
        margin-right: var(--space-sm);
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
    }

    .cookie-option label {
        color: var(--text);
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        margin-bottom: var(--space-xs);
    }

.cookie-required {
    color: var(--accent);
    font-size: 0.8rem;
    margin-left: var(--space-xs);
    font-weight: normal;
}

.cookie-option-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 26px; /* Allinea con il checkbox */
    line-height: 1.4;
}

.cookie-option input[type="checkbox"]:disabled + label {
    color: var(--text-muted);
    cursor: not-allowed;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-option input[type="checkbox"]:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Scrollbar per le opzioni cookie */
.cookie-options::-webkit-scrollbar {
    width: 8px;
}

.cookie-options::-webkit-scrollbar-track {
    background: var(--surface);
    border-radius: var(--radius-full);
}

.cookie-options::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

    .cookie-options::-webkit-scrollbar-thumb:hover {
        background: var(--primary-light);
    }

/* Pulsante chiudi (solo in modalità non bloccante) */
.btn-close-cookie {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

    .btn-close-cookie:hover {
        background: var(--surface-light);
        color: var(--text);
    }

    .btn-close-cookie:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

/* Modalità scura per il banner */
@media (prefers-color-scheme: dark) {
    .cookie-banner.blocking .cookie-content {
        background: var(--dark-light);
        border-color: var(--primary-light);
    }

    .cookie-options {
        background: var(--surface);
    }
}

/* Responsive per le opzioni cookie */
@media (max-width: 768px) {
    .cookie-options {
        padding: var(--space-md);
        max-height: 250px;
    }

    .cookie-title {
        font-size: 1.25rem;
    }

    .cookie-banner p {
        font-size: 1rem;
    }
}

/* Animazione di ingresso per le opzioni */
.cookie-option {
    animation: slideIn 0.3s ease-out;
    animation-fill-mode: both;
}

    .cookie-option:nth-child(1) {
        animation-delay: 0.1s;
    }

    .cookie-option:nth-child(2) {
        animation-delay: 0.2s;
    }

    .cookie-option:nth-child(3) {
        animation-delay: 0.3s;
    }

/* Aggiungi questa regola CSS */
.main-content {
    padding-top: 0px; /* Altezza dell'header desktop */
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 0px; /* Altezza dell'header mobile */
    }
}

.external-content-placeholder {
    min-height: 280px;
    padding: var(--space-xl);
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-md);
}

.external-content-placeholder h3,
.external-content-placeholder p {
    margin-bottom: 0;
}

.external-content-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    width: 100%;
}

.external-content-actions .btn {
    max-width: none;
}

.footer-button-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.privacy-page h2 {
    margin-top: var(--space-xl);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.privacy-table th,
.privacy-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    color: var(--text);
    background: var(--dark-light);
    font-weight: 700;
}

.privacy-table td {
    color: var(--text-secondary);
}

.privacy-table tr:last-child td {
    border-bottom: 0;
}

/* Layout mobile */
@media (max-width: 600px) {
    .footer-hours .hours-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .footer-hours .days {
        flex: 1;
        text-align: left;
    }

    .footer-hours .hours {
        flex: 1;
        text-align: right;
        white-space: nowrap;
    }
}

.cta-image-content {
    position: relative;
}

    .cta-image-content::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45); /* scurisci lo sfondo */
        z-index: 1;
    }

.cta-image-text {
    position: relative;
    z-index: 2;
}
