/* ==========================================================================
   1. IMPORTAZIONI, VARIABILI E RESET GLOBALE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #1A93EC;          /* Blu Chiosco Chiaro */
    --secondary: #2180F1;        /* Blu Medio */
    --accent: #003A9F;           /* Blu Oceano Scuro (Dettagli, Titoli e Prezzi) */
    --bg-color: #FFFFFF;         /* Bianco Puro per i riquadri */
    --bg-light: #F4F9FF;         /* Sfondo pagina azzurrato leggerissimo */
    --text-dark: #2c2c2c;        /* Colore testo principale */
    --text-muted: #666666;       /* Colore testo descrizioni e inglese */
    --note-bg: #FEF9E7;          /* Giallo tenue per i riquadri delle note/supplementi */
    --note-border: #F9E79F;      /* Bordo giallo per le note */
    --note-text: #B7950B;        /* Testo dorato/giallo scuro per le note */

    /* --- Palette Estiva/Mediterranea (nuovi accenti colorati) --- */
    --turchese: #0FC2C0;         /* Turchese acqua di mare */
    --corallo: #FF6B5B;          /* Corallo caldo */
    --sole: #FFC24B;             /* Giallo sole / sabbia dorata */
    --menta: #2FE0B0;            /* Verde acqua per tocchi extra */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(160deg, rgba(234,248,255,0.88) 0%, rgba(223,246,244,0.85) 28%, rgba(210,242,238,0.82) 45%, rgba(234,249,240,0.85) 65%, rgba(255,246,228,0.88) 100%), url('img/sfondo-torregrande.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ==========================================================================
   2. HEADER E NAVIGAZIONE (Sticky)
   ========================================================================== */
header {
    background: linear-gradient(to right, var(--accent), var(--primary), var(--turchese));
    padding: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 58, 159, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.35s ease;
}

/* Header dinamico: si nasconde scorrendo verso il basso, riappare risalendo */
header.header-hide {
    transform: translateY(-100%);
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-family: 'Cinzel', serif;
    color: var(--bg-color);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

nav a {
    color: var(--bg-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--sole);
    border-bottom: 2px solid var(--sole);
}

/* ==========================================================================
   3. CONTENITORI GENERALI E SEZIONE HERO (Home Page)
   ========================================================================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero {
    background: linear-gradient(rgba(0, 58, 159, 0.85), rgba(26, 147, 236, 0.85)), url("img/sfondo.png");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 7rem 3rem;
    text-align: center;
    margin-bottom: 4rem;
    border-top: 6px solid var(--bg-color);
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0, 58, 159, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover {
    transform: translateY(-6px); 
    box-shadow: 0 15px 35px rgba(0, 58, 159, 0.4);
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. STRUTTURA HUB (Rettangoli Lunghi con Testo SOPRA l'Immagine)
   ========================================================================== */
.menu-hub {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 950px;
    margin: 0 auto;
}

.hub-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px; /* Altezza del rettangolo lungo */
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left: 6px solid var(--accent); /* Mantiene il richiamo del bordo sardo a sinistra */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* L'immagine di sfondo vera e propria con la sfumatura scura per la leggibilità */
.hub-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 58, 159, 0.8) 25%, rgba(15, 194, 192, 0.35) 100%), var(--img-url);
    background-size: cover;
    background-position: var(--bg-pos, center); /* <-- MODIFICA QUESTA RIGA */
    transition: transform 0.6s ease;
    z-index: 1;
}

/* Contenitore del testo posizionato sopra l'immagine */
.hub-text {
    position: relative;
    z-index: 2; /* Forza il testo a stare sopra la foto */
    padding: 3rem;
    max-width: 70%;
    text-align: left;
}

.hub-box h3 {
    font-family: 'Playfair Display', serif;
    color: #FFFFFF !important; /* Testo rigorosamente bianco brillante sopra la foto */
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.hub-box p {
    color: rgba(255, 255, 255, 0.85) !important; /* Testo inglese/descrizione bianco opaco */
    font-size: 1rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ================= COMPORTAMENTO AL PASSAGGIO DEL MOUSE (HOVER) ================= */
.hub-box:hover {
    transform: translateX(10px); /* Slitta elegantemente a destra */
    box-shadow: 0 15px 35px rgba(0, 58, 159, 0.3);
    border-left-color: var(--primary);
}

/* Un tocco di colore diverso per ciascun riquadro del menu (cucina, pizzeria, dessert) */
.menu-hub .hub-box:nth-child(1) { border-left-color: var(--corallo); }
.menu-hub .hub-box:nth-child(2) { border-left-color: var(--sole); }
.menu-hub .hub-box:nth-child(3) { border-left-color: var(--turchese); }
.menu-hub .hub-box:nth-child(1):hover { border-left-color: var(--corallo); }
.menu-hub .hub-box:nth-child(2):hover { border-left-color: var(--sole); }
.menu-hub .hub-box:nth-child(3):hover { border-left-color: var(--turchese); }
.menu-hub .hub-box:nth-child(1):hover h3 { color: var(--corallo) !important; }
.menu-hub .hub-box:nth-child(2):hover h3 { color: var(--sole) !important; }
.menu-hub .hub-box:nth-child(3):hover h3 { color: var(--turchese) !important; }

/* Effetto zoom cinematico sulla foto di sfondo quando ci passi sopra */
.hub-box:hover .hub-bg-overlay {
    transform: scale(1.04);
}

.hub-box:hover h3 {
    color: var(--primary) !important; /* Il titolo si illumina del blu del chiosco al passaggio */
}

/* Adattamento perfetto per i telefoni */
@media (max-width: 768px) {
    .hub-box {
        min-height: 150px;
    }
    .hub-text {
        padding: 2rem;
        max-width: 100%;
    }
    .hub-box h3 {
        font-size: 1.8rem;
    }
    .hub-box p {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   5. SISTEMA DEI MENÙ (Cucina, Pizzeria, Dessert, Bevande)
   ========================================================================== */
.menu-section {
    background: var(--bg-color);
    padding: 3.5rem 3rem;
    margin-bottom: 3.5rem;
    border-radius: 15px; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #eef5fc;
    padding-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.menu-subtitle {
    color: var(--accent);
    font-size: 1.4rem;
    margin: 2.5rem 0 1.2rem 0;
    border-bottom: 1px dashed var(--primary);
    padding-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
    gap: 2rem;
}

/* Card Prodotto Standard */
.menu-item {
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary);
    background: #fafafa;
    border-radius: 0 15px 15px 0; 
    transition: all 0.3s ease;
    box-shadow: 0 2px 8 rgba(0,0,0,0.02);
}

/* Leggera variazione cromatica a rotazione tra i piatti, per un effetto più allegro */
.menu-item:nth-child(3n+2) { border-left-color: var(--turchese); }
.menu-item:nth-child(3n+3) { border-left-color: var(--corallo); }

.menu-item:hover {
    background: var(--bg-color);
    transform: translateX(6px);
    box-shadow: 0 10px 25px rgba(0, 58, 159, 0.1);
    border-left-color: var(--accent);
}

.title-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.menu-item h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.menu-item:hover h3 {
    color: var(--accent);
}

/* Tutti i prezzi standard del sito */
.menu-item .price {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Descrizioni in Italiano */
.menu-item .desc-it {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

/* Descrizioni in Inglese */
.menu-item .desc-en {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

/* Compatibilità con i vecchi tag p generici */
.menu-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================================================
   6. LAYOUT SPECIALE FOCACCE (Prezzi incolonnati a destra)
   ========================================================================== */
.focaccia-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.focaccia-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border-radius: 15px; 
}

.focaccia-info {
    flex: 1;
}

.focaccia-info h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.focaccia-prices {
    display: flex;
    gap: 1.5rem;
    text-align: center;
    border-left: 1px solid #eef5fc;
    padding-left: 1.5rem;
    min-width: 140px;
    justify-content: flex-end;
}

.price-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.size-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999999;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.price-value {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.focaccia-item:hover .price-value {
    color: var(--primary);
}

/* ==========================================================================
   7. SEZIONE SUPPLEMETI PIZZA & NOTE A FONDO PAGINA
   ========================================================================== */
.menu-notes {
    background-color: var(--note-bg);
    border: 1px solid var(--note-border);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.menu-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 1rem;
}

.menu-notes li {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--note-text);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   8. NOTA SERVIZIO AL TAVOLO
   ========================================================================== */
.nota-servizio {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--corallo);
    font-weight: 700;
    margin-top: 2.5rem;
    letter-spacing: 1px;
    padding: 1.5rem;
    border-top: 1px dashed var(--sole);
}

/* ==========================================================================
   9. RESPONSIVE / DESIGN ADATTIVO MOBILE
   ========================================================================== */
/* ==========================================================================
   10. PULSANTE DI RITORNO ALL'HUB (Effetto Hover Fluido e Trasparente)
   ========================================================================== */
.btn-ritorno {
    background-color: transparent; /* Sfondo trasparente di partenza */
    color: var(--bg-color) !important; /* Testo bianco */
    padding: 0.5rem 1.2rem !important;
    border-radius: 25px; 
    border: 2px solid var(--bg-color) !important; /* Elegante bordo bianco */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-ritorno:hover {
    background-color: rgba(255, 255, 255, 0.2) !important; /* Bagliore bianco/azzurro semitrasparente */
    color: var(--bg-color) !important; /* Il testo resta rigorosamente bianco */
    border-color: var(--bg-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 58, 159, 0.4); /* Ombra profonda marina */
}
/* ==========================================================================
   11. STILI SPECIFICI PER LA HOME PAGE E MAPPA
   ========================================================================== */

/* Prevenzione dello scorrimento orizzontale (Evita che il sito si "storca" da telefono) */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero-home {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 58, 159, 0.2);
    margin-bottom: 3rem;
}

.hero-home h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.5);
    color: white;
}

.hero-home p {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    font-weight: 300;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
}

.btn-prenota-hero {
    display: inline-block;
    background: linear-gradient(120deg, var(--corallo), var(--sole));
    color: #fff !important;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 18px rgba(255, 107, 91, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-prenota-hero:hover {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Riquadri Hub affiancati in Home */
.home-menu-hub {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.home-menu-hub .hub-box {
    flex: 1;
    min-width: 300px;
    border-left-color: var(--primary);
    min-height: 140px;
}

.home-menu-hub .hub-box:nth-child(1) { border-left-color: var(--corallo) !important; }
.home-menu-hub .hub-box:nth-child(2) { border-left-color: var(--turchese) !important; }
.home-menu-hub .hub-box:nth-child(1):hover { border-left-color: var(--corallo) !important; }
.home-menu-hub .hub-box:nth-child(2):hover { border-left-color: var(--turchese) !important; }

/* Banner Prenotazione (Semplificato) */
.booking-banner {
    background: linear-gradient(120deg, var(--accent), var(--primary) 60%, var(--turchese));
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem 0;
    box-shadow: 0 10px 25px rgba(0, 58, 159, 0.15);
}

.booking-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

.booking-banner p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-prenota-white {
    display: inline-block;
    background-color: #fff;
    color: var(--accent) !important;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-prenota-white:hover {
    background: linear-gradient(120deg, var(--corallo), var(--sole));
    color: white !important;
    transform: translateY(-3px);
}

/* Griglia Contatti e Mappa */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent);
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.info-list li strong {
    color: var(--primary);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.info-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
}

.map-container {
    width: 100%;
    min-height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN GLOBALE (Ottimizzazione Smartphone)
   ========================================================================== */
@media (max-width: 900px) {
    /* Header e Navigazione su Mobile */
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-content nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.9rem 1.4rem;
    }
    
    nav a, .btn-ritorno {
        margin: 0 !important;
        font-size: 0.9rem;
    }

    /* Adattamento Home */
    .hero-home {
        padding: 5rem 1.5rem;
    }

    .hero-home h2 {
        font-size: 2.8rem;
    }

    .hero-home p {
        font-size: 1.2rem;
    }

    .booking-banner h3 {
        font-size: 2rem;
    }

    .contact-section {
        grid-template-columns: 1fr; /* Mette mappa e info una sotto l'altra */
    }

    .map-container {
        min-height: 300px;
    }

    /* Adattamento Sezioni Menù (Cucina, Pizze, Bevande) */
    .menu-section {
        padding: 2rem 1.5rem;
    }

    .menu-section h2 {
        font-size: 2rem;
    }

    /* Focacce e Prezzi in colonna per non sbordare */
    .focaccia-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .focaccia-prices {
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
        border-left: none;
        border-top: 1px dashed #ccc;
        padding-top: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr; /* Una singola colonna per i piatti su schermi piccoli */
    }

    .title-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .btn-prenota-hero, .btn-prenota-white {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
/* ==========================================================================
   13. STILE RIQUADRI BIANCHI HOME (Menu e Contatti)
   ========================================================================== */

/* Classe per i riquadri bianchi con bordo blu a sinistra */
.white-box {
    background-color: white !important;
    border: 1px solid #e0e9f5 !important; /* Bordo leggero per definire il riquadro */
    border-left: 6px solid var(--accent) !important; /* Bordo blu a sinistra */
    color: var(--accent) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Ombra leggera di base */
}

/* Effetto Hover Ombreggiato */
.white-box:hover {
    background-color: #ffffff !important;
    transform: translateY(-5px); /* Si solleva */
    box-shadow: 0 15px 30px rgba(0, 58, 159, 0.15); /* Ombra intensa */
    border-left-color: var(--primary) !important; /* Il bordo diventa azzurro al passaggio */
}

/* Assicura che scritte all'interno mantengano il colore blu */
.white-box h3 {
    color: var(--accent) !important;
    margin-bottom: 0.5rem;
}

.white-box p {
    color: var(--text-muted) !important;
}

/* Aggiornamento specifico per il box Contatti (già bianco) */
.contact-info.white-box {
    border-left: 6px solid var(--accent) !important;
}
/* ==========================================================================
   14. FOOTER
   ========================================================================== */
footer {
    background: linear-gradient(to right, var(--accent), var(--primary), var(--turchese));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem !important;
}

.footer-content p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-content a {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    margin-top: 1.5rem;
    opacity: 0.9;
    letter-spacing: 4px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}
/* --- MENU RAPIDO FLOTTANTE --- */
.jump-menu-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
}

/* Icona 3 righe (Hamburger) */
.hamburger { width: 25px; height: 3px; background: white; position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 25px; height: 3px; background: white; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Overlay del Menu */
.jump-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,58,159,0.95);
    display: none; flex-direction: column; justify-content: center; align-items: center;
    z-index: 2500;
}
.jump-menu-overlay.active { display: flex; }
.jump-menu-overlay a { color: white; font-size: 1.5rem; margin: 1rem; text-decoration: none; font-family: 'Cinzel', serif; }

/* Scroll fluido per tutto il sito */
html { scroll-behavior: smooth; }

/* ==========================================================================
   14. MENU DI NAVIGAZIONE RAPIDA (Jump Menu)
   ========================================================================== */
.jump-menu-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
}

.hamburger { width: 25px; height: 3px; background: white; position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 25px; height: 3px; background: white; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.jump-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,58,159,0.98);
    display: none; flex-direction: column; justify-content: center; align-items: center;
    z-index: 9998;
}
.jump-menu-overlay.active { display: flex; }
.jump-menu-overlay a { color: white; font-size: 2rem; margin: 1.5rem; text-decoration: none; font-family: 'Cinzel', serif; }

html { 
    scroll-behavior: smooth; 
}


/* ==========================================================================
   15. TOCCHI EXTRA: PIÙ ALLEGRIA E COLORE (aggiunte pure, nulla di esistente
   è stato rimosso o alterato — solo elementi decorativi in più)
   ========================================================================== */

/* --- Striscia "ombrellone da spiaggia" (corallo/sole/turchese/bianco) --- */
.menu-section, .white-box, .contact-info {
    position: relative;
}

.menu-section::before,
.white-box::before,
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(
        110deg,
        var(--corallo) 0px, var(--corallo) 18px,
        var(--sole) 18px, var(--sole) 36px,
        var(--turchese) 36px, var(--turchese) 54px,
        #ffffff 54px, #ffffff 72px
    );
    z-index: 3;
}

.menu-section {
    overflow: hidden;
}

.menu-section::before,
.white-box::before,
.contact-info::before {
    border-radius: 15px 15px 0 0;
}

/* --- Titoli di sezione con sottolineatura sfumata invece del bordo piatto --- */
.menu-section h2 {
    border-bottom: none;
    position: relative;
    padding-bottom: 1.4rem;
}

.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--corallo), var(--sole), var(--turchese));
}

.menu-subtitle {
    border-bottom: none;
    position: relative;
    display: inline-block;
}

.menu-subtitle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--turchese) 0 6px, transparent 6px 12px);
}

/* --- Prezzi come pillole colorate invece di semplice testo --- */
.menu-item .price {
    display: inline-block;
    background: linear-gradient(120deg, rgba(255,107,91,0.12), rgba(255,194,75,0.18));
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(255,194,75,0.5);
    font-size: 1.05rem;
    line-height: 1.6;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.menu-item:hover .price {
    background: linear-gradient(120deg, rgba(15,194,192,0.15), rgba(26,147,236,0.15));
    border-color: var(--turchese);
}

/* --- Bottone flottante "menu rapido": gradiente + alone pulsante --- */
.jump-menu-btn {
    background: linear-gradient(135deg, var(--corallo), var(--sole));
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 91, 0.4), 0 0 0 0 rgba(255, 194, 75, 0.5); }
    50% { box-shadow: 0 4px 20px rgba(255, 107, 91, 0.6), 0 0 0 10px rgba(255, 194, 75, 0); }
}

.jump-menu-overlay {
    background: linear-gradient(160deg, rgba(0,58,159,0.96), rgba(15,194,192,0.94));
}

.jump-menu-overlay a {
    transition: color 0.3s ease, transform 0.3s ease;
}

.jump-menu-overlay a:hover {
    color: var(--sole);
    transform: scale(1.08);
}

/* --- Selezione testo e scrollbar a tema mare --- */
::selection {
    background: var(--corallo);
    color: #fff;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--turchese), var(--primary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--corallo), var(--sole));
}

/* --- Bolle sfocate colorate come ambientazione leggera dietro le card --- */
.container {
    position: relative;
}

.container::before,
.container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

.container::before {
    width: 260px;
    height: 260px;
    background: var(--turchese);
    top: 5%;
    right: -60px;
}

.container::after {
    width: 220px;
    height: 220px;
    background: var(--sole);
    bottom: 10%;
    left: -60px;
}

/* --- Leggero bagliore colorato sulle card al passaggio del mouse --- */
.menu-item:hover, .hub-box:hover, .white-box:hover {
    filter: saturate(1.08);
}

/* --- Badge numerico animato non necessario: manteniamo leggerezza --- */
@media (max-width: 600px) {
    .container::before, .container::after {
        display: none; /* Le bolle sfocate si nascondono su schermi piccoli per non appesantire */
    }
}

/* ==========================================================================
   16. BANNER AVVISO ALLERGENI (portato da stile inline a classe, per
   renderlo adattabile da smartphone come il resto del sito)
   ========================================================================== */
.allergy-banner {
    background: linear-gradient(135deg, var(--corallo), var(--sole));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 950px;
    margin: 2rem auto 0 auto;
    box-shadow: 0 10px 20px rgba(255, 107, 91, 0.2);
}

.allergy-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.allergy-banner .allergy-it {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.allergy-banner .allergy-en {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .allergy-banner {
        margin: 1.5rem 1rem 0 1rem;
        padding: 1.5rem 1.2rem;
    }

    .allergy-banner h3 {
        font-size: 1.4rem;
    }

    .allergy-banner .allergy-it {
        font-size: 1rem;
    }

    .allergy-banner .allergy-en {
        font-size: 0.85rem;
    }
}