/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colori Casa Morra - Colore ufficiale aziendale */
    --primary-color: #029ac6; /* Azzurro Casa Morra */
    --secondary-color: #027da3; /* Azzurro più scuro */
    --accent-color: #4dc3e8; /* Azzurro chiaro per accenti */
    --dark-blue: #014d66; /* Blu scuro */
    --light-blue: #b8e6f5; /* Azzurro molto chiaro */
    --cream: #f8fbfc; /* Crema azzurrognola */
    --text-color: #2C3E50; /* Testo scuro */
    --text-light: #607D8B; /* Testo chiaro blu-grigio */
    --background: #FFFFFF;
    --background-light: #f8fbfc;
    --border-color: #b8e6f5;
    --gradient: linear-gradient(rgb(41, 46, 78) 0%, rgb(2, 154, 199) 100%);
    --shadow: 0 2px 10px rgba(2, 154, 198, 0.15);
    --shadow-hover: 0 4px 20px rgba(2, 154, 198, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    transition: transform 0.3s ease;
    overflow-x: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: var(--gradient);
    color: white;
    padding: 8px 0; /* Ridotto di due terzi da 24px */
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 100px; /* Ridotto per header più piccolo */
    width: auto;
    filter: brightness(1.1);
}

.logo-text h1 {
    font-size: 1.5rem; /* Ridotto per header più piccolo */
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 2px 2px 4px rgba(41, 46, 78, 0.6); /* Ombra più scura */
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.75rem; /* Ridotto per header più piccolo */
    opacity: 0.9;
    font-weight: 300;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flags {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flag-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
    color:white;
}

/* Google Translate - Nascondi widget */
#google_translate_element {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-frame {
    max-height: 400px !important;
    overflow-y: auto !important;
}

/* Rimuovi il banner di Google Translate */
body {
    top: 0 !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.header-content h1.logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.header-content .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation Tabs - Menu scorrevole orizzontale */
.nav-tabs {
    background: var(--background);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 103px; /* Ridotto per header più piccolo */
    z-index: 99;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(2, 154, 198, 0.1);
}

@media (max-width: 768px) {
    .nav-tabs {
        top: 48px; /* Ancora più piccolo per mobile */
        padding: 12px 0;
    }
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 20px;
}

.menu-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    backdrop-filter: blur(10px);
}

.menu-burger:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.menu-burger.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.menu-burger i {
    transition: transform 0.3s ease;
}

.menu-burger.active i {
    transform: rotate(90deg);
}

.nav-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 20px;
    gap: 12px;
    cursor: grab;
    user-select: none;
}

.nav-scroll:active {
    cursor: grabbing;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    flex: 0 0 auto;
    background: var(--light-blue);
    border: 2px solid var(--primary-color);
    padding: 14px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    min-width: fit-content;
}

.nav-tab:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 154, 198, 0.3);
}

.nav-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(2, 154, 198, 0.3);
}

.nav-tab i {
    font-size: 1.1rem;
}

.nav-tab span {
    font-weight: 600;
}

/* Menu Burger Laterale - Stile App */
.burger-menu {
    position: fixed;
    top: 0;
    left: -280px; /* Ridotto da 300px */
    width: 280px; /* Ridotto da 300px */
    height: 100vh;
    background: var(--gradient);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

.burger-menu.active {
    left: 0; /* Scorre dentro */
}

/* Overlay per chiudere il menu */
.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Rimuoviamo il movimento del body */
body.menu-open {
    overflow: hidden; /* Solo impedisce lo scroll */
}

.burger-item {
    display: block;
    width: 100%;
    padding: 18px 30px;
    border: none;
    background: none;
    text-align: left;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
}

.burger-item:last-child {
    border-bottom: none;
}

.burger-item:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 40px;
}

.burger-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid white;
    padding-left: 36px;
    color: white;
}

.burger-item i {
    margin-right: 8px;
    width: 20px;
}

/* Menu Items */

/* Main Content */
.main-content {
    padding: 24px 0 80px;
    min-height: calc(100vh - 200px);
    background: var(--background-light);
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px 0 60px; /* Riduci padding su mobile */
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Menu List (per vini e bibite) */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.menu-item-list {
    background: white;
    border-radius: var(--border-radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.menu-item-list:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.item-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 16px;
}

.item-list-content .item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    flex: 1;
}

.item-list-content .item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.item-list-content .item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Subcategories Grid */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.subcategory-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-align: center;
}

.subcategory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.subcategory-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.5rem;
}

.subcategory-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.subcategory-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Sezioni sottocategorie raggruppate */
.subcategory-section {
    margin-bottom: 40px;
}

.subcategory-section:last-child {
    margin-bottom: 0;
}

.subcategory-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.subcategory-title::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -2px;
    left: 0;
}

/* Menù completo - sezioni per categoria principale */
.category-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--border-color);
}

.category-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.main-category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 25px;
    padding: 15px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--light-blue), var(--cream));
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    position: relative;
}

.main-category-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 2px;
}

.main-category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Menu Item Card */
.menu-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.item-image {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.item-image img.lazy {
    opacity: 0;
    filter: blur(5px);
}

.item-image img.loaded {
    opacity: 1;
    filter: blur(0);
}

.menu-item:hover .item-image img {
    transform: scale(1.08);
}

.item-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
}

.item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    flex: 1;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    padding: 8px 16px;
    background: rgba(2, 154, 198, 0.1);
    border-radius: 20px;
    border: 2px solid var(--light-blue);
}

.item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.item-allergens {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.allergen-badge {
    background: var(--primary-color);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.allergen-badge i {
    font-size: 0.7rem;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.item-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.featured {
    background: var(--accent-color);
    color: white;
}

.badge.vegetarian {
    background: #27ae60;
    color: white;
}

.badge.vegan {
    background: #2ecc71;
    color: white;
}

.badge.gluten-free {
    background: #9b59b6;
    color: white;
}

.allergens-info {
    color: var(--text-light);
    font-size: 0.8rem;
    cursor: help;
}

/* Category Title */
.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Footer */
.footer {
    background: var(--gradient);
    color: white;
    padding: 12px 0 8px; /* Ridotto di due terzi da 40px 0 20px */
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px; /* Ridotto per footer più piccolo */
    text-align: center;
}

.footer-info h3 {
    font-size: 1rem; /* Ridotto per footer più piccolo */
    margin-bottom: 4px;
    font-weight: 600;
}

.footer-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-info p a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-info p a:hover {
    color: white;
}

.footer-info .subtitle {
    font-style: italic;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.footer-info i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-allergens {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-allergens:hover {
    background: #d68910;
    transform: translateY(-1px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary-color);
    background: rgba(231, 76, 60, 0.1);
}

.modal-body {
    padding: 20px;
}

.allergens-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.allergens-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.allergens-list li:last-child {
    border-bottom: none;
}

/* Search Bar */
.search-bar {
    margin-bottom: 24px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--border-color);
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        justify-content: space-between; /* Mantieni distribuzione orizzontale */
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .logo {
        flex: 1;
        justify-content: center; /* Centro il logo */
    }
    
    .header-info {
        align-items: flex-end;
        text-align: right;
    }
    
    .language-flags {
        gap: 6px;
        padding: 4px;
    }
    
    .lang-btn {
        min-width: 32px;
        height: 32px;
        padding: 4px 6px;
    }
    
    .flag-icon {
        font-size: 1rem;
    }
    
    /* Menu scorrevole SEMPRE visibile */
    .nav-scroll {
        display: flex !important;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 8px 20px;
        gap: 12px;
    }
    
    .nav-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tab {
        flex: 0 0 auto;
        min-width: fit-content;
        white-space: nowrap;
        border-radius: 25px; /* Mantieni il design originale */
        justify-content: center;
    }
    
    /* Grid con margini corretti */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 24px 0; /* Aggiungi margini top/bottom */
        padding: 0 16px; /* Aggiungi padding laterale */
    }
    
    .item-image {
        height: auto;
    }
    
    
    .container {
        padding: 0 16px; /* Assicura padding consistente */
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.65rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .header-info .language-flags {
        gap: 4px;
        padding: 3px;
    }
    
    .lang-btn {
        min-width: 28px;
        height: 28px;
        padding: 3px 4px;
    }
    
    .flag-icon {
        font-size: 0.9rem;
    }
    
    .menu-grid {
        padding: 0 12px;
        gap: 16px;
    }
    
    .nav-scroll {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .nav-tab {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .logo-text h1 {
        font-size: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 28px;
    }
    
    .item-image {
        height: 280px;
    }
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .main-content {
        padding: 32px 0 80px;
    }
    
    .item-content {
        padding: 24px;
    }
}

/* Animation for menu items */
.menu-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide scrollbar for mobile nav */
.nav-scroll {
    -webkit-overflow-scrolling: touch;
}

/* Touch improvements */
@media (hover: none) {
    .menu-item:hover {
        transform: none;
    }
    
    .nav-tab:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .header, .nav-tabs, .footer {
        display: none;
    }
    
    .main-content {
        padding: 0;
    }
    
    .menu-item {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}
