/**
 * GARDA MENU - TEMA MODERNO ELEGANTE
 * Stile ristorante premium con design moderno e responsive
 * 
 * Colori principali:
 * - Nero/Grigio scuro: #1a1a1a, #2d2d2d
 * - Oro/Giallo: #d4a574, #c99d4f
 * - Bianco: #ffffff, #f5f5f5
 * - Accenti: #8b7355 (marrone)
 */

:root {
    --primary-dark: #1a1a1a;
    --primary-light: #2d2d2d;
    --accent-gold: #d4a574;
    --accent-gold-dark: #c99d4f;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

/* ═══════════════════════════════════════════════════════════════ */
/* HEADER & NAVIGATION */
/* ═══════════════════════════════════════════════════════════════ */

header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: var(--accent-gold-dark);
    transition: color 0.3s ease;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--accent-gold);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO SECTION */
/* ═══════════════════════════════════════════════════════════════ */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0,50 Q25,25 50,50 T100,50" fill="none" stroke="rgba(212,165,116,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 30px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* BUTTONS */
/* ═══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-block;
    padding: 14px 38px;
    background: var(--accent-gold);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(212, 165, 116, 0.3);
}

.btn:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

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

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

/* ═══════════════════════════════════════════════════════════════ */
/* MENU LIST - CARD LAYOUT */
/* ═══════════════════════════════════════════════════════════════ */

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

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

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.section-title-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto 20px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 300;
}

.menus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.menu-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

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

.menu-card-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.menu-card-header::before {
    content: '🍽️';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

.menu-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.menu-card-meta {
    font-size: 13px;
    opacity: 0.85;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.menu-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.menu-card-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.menu-card-footer a {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu-view {
    background: var(--accent-gold);
    color: var(--white);
}

.menu-view:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
}

.menu-qr {
    background: var(--light-bg);
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.menu-qr:hover {
    background: var(--accent-gold);
    color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════ */
/* DISH CATEGORIES & ITEMS */
/* ═══════════════════════════════════════════════════════════════ */

.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-gold);
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.dish-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.dish-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.dish-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8e8e8 100%);
    overflow: hidden;
    position: relative;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.dish-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.dish-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    flex: 1;
}

.dish-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    white-space: nowrap;
    margin-left: 10px;
}

.dish-description {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
    flex-grow: 1;
}

.dish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--light-bg);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-veg {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-vegan {
    background: #f3e5f5;
    color: #6a1b9a;
}

.tag-allergen {
    background: #ffebee;
    color: #c62828;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER */
/* ═══════════════════════════════════════════════════════════════ */

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--accent-gold);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    color: var(--text-light);
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .navbar-brand {
        font-size: 22px;
    }
    
    .navbar-menu {
        gap: 15px;
        width: 100%;
        margin-top: 15px;
    }
    
    .navbar-menu a {
        font-size: 12px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .menu-container,
    .menus-grid {
        padding: 40px 20px;
    }
    
    .menus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .dishes-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .navbar-menu {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .menu-card-footer {
        flex-direction: column;
    }
    
    .menu-card-footer a {
        flex: none;
    }
}
