/* ==========================================================================
   CONFIGURAZIONE GENERALE E VARIABILI
   ========================================================================== */
:root {
    --color-bordeaux: #800020;
    --color-bg-white: #ffffff; 
    --color-bg-section: #cccccc; 
    --color-text: #140f0f; 
    --color-champagne: #d4b996;
    --font-main: 'Playfair Display', Georgia, serif; /* Font elegante per titoli */
    --font-sans: 'Montserrat', sans-serif;           /* Font leggibile per testi e prezzi */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: var(--color-bg-white);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: var(--font-main);
    color: var(--color-bordeaux);
    letter-spacing: 1px;
}
a {
    color: var(--color-champagne);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-bordeaux);
}
/* ==========================================================================
   SEZIONE CSS DI "COMODO"
   ========================================================================== */
.testo-colore-nero {
    color: #000000;
}
.testo-colore-bianco {
    color: #ffffff;
}
.testo-colore-bordeaux {
    color: #800020;
}
.testo-colore-champagne {
    color: #d4b996;
}
.link-da-nero-a-champagne {
    color: #000000;
}
.link-da-nero-a-champagne:hover {
    color: #d4b996;
}
/* ==========================================================================
   STRUTTURA HERO SECTION CON EFFETTO KEN BURNS & OVERLAY
   ========================================================================== */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Slider di background */
.ken-burns-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.kb-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    animation: kenBurnsFade 12s infinite ease-in-out;
}
/* Gestione dei tempi per l'effetto Slide/Fade tra le immagini */
.kb-slide:nth-child(1) {
    animation-delay: 0s;
}
.kb-slide:nth-child(2) {
    animation-delay: 4s;
}
.kb-slide:nth-child(3) {
    animation-delay: 8s;
}
.kb-slide:nth-child(4) {
    animation-delay: 12s;
}
.kb-slide:nth-child(5) {
    animation-delay: 16s;
}
.kb-slide:nth-child(6) {
    animation-delay: 20s;
}
.kb-slide:nth-child(7) {
    animation-delay: 24s;
}
.kb-slide:nth-child(8) {
    animation-delay: 28s;
}
/* L'Overlay scuro che unifica i colori delle foto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.30) 0%, rgba(20, 15, 15, 0.9) 100%);
    z-index: 2;
}
/* Contenuto testuale sopra la foto */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}
/* ==========================================================================
   ELEMENTI GRAFICI E PULSANTI (CTA)
   ========================================================================== */
.btn-champagne {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--color-champagne);
    color: var(--color-bordeaux);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
}
.btn-champagne:hover {
    background-color: var(--color-bordeaux);
    color: var(--color-champagne);
    box-shadow: 0 0 15px rgba(255, 204, 51, 0.4);
}
.btn-bordeaux {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--color-bordeaux);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
}
.btn-bordeaux:hover {
    background-color: var(--color-champagne);
    color: var(--color-bordeaux);
    box-shadow: 0 0 15px rgba(255, 204, 51, 0.4);
}
/* ==========================================================================
   ANIMAZIONI CSS3 (Ken Burns + Dissolvenza)
   ========================================================================== */
@keyframes kenBurnsFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1; /* Entra in dissolvenza */
    }
    33.33% {
        opacity: 1;
    }
    43.33% {
        opacity: 0; /* Esce in dissolvenza */
        transform: scale(1.08); /* Raggiunge lo zoom massimo */
    }
    100% {
        opacity: 0;
    }
}
/* Ottimizzazione Mobile */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .btn-champagne { padding: 10px 25px; font-size: 0.8rem; }
}
/* ==========================================================================
   ELEMENTI SPECIFICI DELLA HOMEPAGE
   ========================================================================== */
.logo-hero-wrapper {
    margin-bottom: 15px;
}
.hero-logo {
    max-width: 180px; /* Regola la larghezza del logo a piacimento */
    height: auto;
    display: inline-block;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 5px;
    color: var(--color-bordeaux);
}
.hero-subtitle {
    font-family: var(--font-main);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--color-champagne);
    margin-bottom: 15px;
}
.hero-tagline {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--color-bg-white);
}
/* Stile per il Manifesto centrale */
.manifesto-container {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}
.manifesto-container h2 {
    font-size: 2.2rem;
    margin: 25px 0;
    color: var(--color-champagne);
}
.manifesto-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
}
.decor-line {
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-bordeaux);
    margin: 0 auto;
}
/* ==========================================================================
   NAVBAR DINAMICA (TRASPARENTE -> BORDEAUX VELLUTATO ALLO SCROLL)
   ========================================================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Parte con una leggera trasparenza bordeaux calda ed elegante all'inizio */
    background-color: rgba(204, 153, 102, 0.05); 
    border-bottom: 1px solid rgba(204, 153, 102, 0); /* Linea champagne invisibile all'inizio */
    z-index: 9999;
    padding: 25px 0; /* Un po' più larga all'inizio per dare respiro */
    transition: all 0.4s ease-in-out; /* Transizione fluida ed elegante */
}
/* Questa classe viene attivata dal tuo script quando l'utente scorre la pagina */
.main-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.60); /* Incrementata l'intensità del bordeaux per maggiore compattezza */
    backdrop-filter: blur(12px); /* Aumentata la sfocatura per un effetto vetro ancora più vellutato */
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(204, 153, 102, 0.22); /* Rinforzato il contrasto della linea champagne */
    padding: 15px 0; 
    box-shadow: 0 6px 30px rgba(0,0,0,0.7); /* Ombra più profonda per garantire un distacco netto */
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row; /* Sforza l'allineamento orizzontale sulla stessa linea */
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}
.nav-brand a {
    font-family: var(--font-main);
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--color-champagne);
    font-weight: 700;
}
/* Correzione del Menu: Forza la lista ad andare in Orizzontale */
.nav-links {
	font-weight: bold;
	display: flex !important; /* Forza il motore del browser a usare il box orizzontale */
    flex-direction: row !important; /* Dispone le voci da sinistra a destra */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px; /* Spazio generoso tra una voce e l'altra */
}
.nav-links li {
	font-weight: bold;
    display: inline-block; /* Sicurezza ulteriore per i vecchi motori di rendering */
}
.nav-links a {
    font-family: var(--font-sans);
	font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-bg-white);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
/* Effetto raffinato al passaggio del mouse: linea champagne che appare da sotto */
.nav-links a::after {
	font-weight: bold;
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--color-chapagne);
    transition: width 0.3s ease;
}
.nav-links a:hover {
	font-weight: bold;
    color: var(--color-champagne);
}
.nav-links a:hover::after {
	font-weight: bold;
    width: 100%; /* La linea si espande al 100% della parola */
}
/* ==========================================================================
   STILI PER IL FOOTER (CORREZIONE ALLINEAMENTO ORIZZONTALE)
   ========================================================================== */
.main-footer {
	background-color: var(--color-text);  
	border-top: 1px solid var(--color-bordeauxe); 
    padding: 60px 20px 40px 20px;
    margin-top: 0;
    width: 100%;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;       /* Forza il motore Flexbox */
    flex-direction: row !important; /* Dispone le colonne da sinistra a destra */
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;                /* Permette di andare a capo MA SOLO sui telefoni */
    gap: 40px;
}
.footer-col {
    flex: 1;                        /* Distribuisce lo spazio in parti uguali */
    min-width: 250px;               /* Dimensione minima per non schiacciare il testo */
}
.footer-col h3 {
    font-size: 1.1rem;
	color: var(--color-champagne);  					
    margin-bottom: 20px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col p {
    font-size: 0.9rem;
	color: var(--color-champagne);  				
    margin-bottom: 8px;
    font-family: var(--font-sans);
}
.footer-col a {
	color: var(--color-champagne);  					
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--color-champagne);
}
.privacy-link {
    font-size: 0.85rem;
	color: var(--color-bordeaux);  			
}
.privacy-link:hover {
    color: var(--color-champagne) !important;
}
/* Ottimizzazione Mobile: solo sotto i 768px le colonne si impilano in verticale */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column !important; /* Diventa verticale solo sui telefoni */
        gap: 30px;
    }
}
/* ==========================================================================
   BLOCCO BACKOFFICE AMMINISTRATIVO (Bordeaux/Oro) - AGGIORNATO
   ========================================================================== */
/* Struttura Centrata per il Login */
.body-admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--color-bordeaux);  			
}
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-top: 5px solid #800020; /* Bordeaux */
    max-width: 400px;
    width: 100%;
}
.login-box h2 {
    color: #800020;
    margin-bottom: 20px;
    text-align: center;
    font-family: serif;
}
/* Gestione dei Loghi (Login e Dashboard) */
.login-logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.login-logo-container img {
    max-width: 150px; /* Dimensione bilanciata per il form di login */
    height: auto;
}
.admin-logo-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}
.admin-logo-brand img {
    max-height: 60px; /* Dimensione elegante per l'intestazione superiore */
    height: auto;
}
/* Componenti dei Form dell'Admin */
.admin-form-group {
    margin-bottom: 20px;
}
.admin-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}
.admin-form-group input, 
.admin-form-group select, 
.admin-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.admin-form-group input:focus, 
.admin-form-group select:focus, 
.admin-form-group textarea:focus {
    border-color: #d4b996; /* Champagne */
    outline: none;
}
/* Pulsanti Operativi */
.btn-admin-action {
    background-color: #800020;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}
.btn-admin-action:hover {
    background-color: #d4b996; /* Champagne */
    color: #1a0205;
}
/* Layout Dashboard */
.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #800020;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.admin-header h1 {
    color: #800020;
    margin: 0;
    font-family: serif;
}
/* Tabella CRUD e Contrasti Ottimizzati (Nero Puro) */
.crud-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.crud-table th, .crud-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.crud-table th {
    background-color: #f8f9fa;
    color: #800020;
    font-weight: bold;
}
.crud-table td {
    color: #000000; /* Testo nero puro per categoria, prezzi e valori */
}
.crud-table td strong {
    color: #000000; /* Nome del piatto in nero puro per massima leggibilità */
}
.crud-table tr:hover {
    background-color: #f1f1f1;
}
/* Utility Class per forzare il testo nero */
.text-black {
    color: #000000 !important;
}
/* Badge e Messaggi */
.admin-alert {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}
.admin-alert-error {
    background-color: #f8d7da;
    color: #721c24;
}
.admin-alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}
.badge-allergeni {
    background: #f4f4f4;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 11px;
    color: #333;
    border: 1px solid #ddd;
}
/* Bottoni compatti per la tabella */
.btn-table {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
}
.btn-table-edit {
    background-color: #d4b996;
    color: #1a0205;
}
.btn-table-delete {
    background-color: #d9534f;
    color: #fff;
}
.btn-table-delete:hover {
    background-color: #c9302c;
}
/* ==========================================================================
   MODULO PRENOTAZIONE TAVOLI (Bordeaux #800020 - Oro #d4b996 - Nero #000000)
   ========================================================================== */
.container-prenotazione {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-top: 5px solid #800020;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.container-prenotazione h1 {
    color: #800020;
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group-booking {
    margin-bottom: 20px;
}
.form-group-booking label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
}
.form-group-booking input[type="text"],
.form-group-booking input[type="email"],
.form-group-booking input[type="date"],
.form-group-booking input[type="number"],
.form-group-booking select,
.form-group-booking textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    color: #000000;
}
.form-group-booking input:focus, 
.form-group-booking select:focus, 
.form-group-booking textarea:focus {
    outline: none;
    border-color: #800020;
    box-shadow: 0 0 5px rgba(128, 0, 32, 0.2);
}
.btn-booking {
    width: 100%;
    background-color: #800020;
    color: #ffffff;
    border: 2px solid #d4b996;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.btn-booking:hover {
    background-color: #800020;
}
.alert-booking {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-weight: 500;
}
.alert-booking-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}
.alert-booking-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
    text-align: center;
}
.form-row-booking {
    display: flex;
    gap: 15px;
}
.form-row-booking .form-group-booking {
    flex: 1;
}
@media (max-width: 480px) {
    .form-row-booking { flex-direction: column; gap: 0; }
}
/* ==========================================================================
   BACKOFFICE: DASHBOARD PRENOTAZIONI (Bordeaux/Oro/Nero Puro)
   ========================================================================== */
.admin-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #800020;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.admin-header-row h1 {
    color: #800020;
    margin: 0;
    font-size: 26px;
    text-transform: uppercase;
}
.btn-admin-secondary {
    background-color: #ffffff;
    color: #800020;
    border: 2px solid #800020;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.btn-admin-secondary:hover {
    background-color: #800020;
    color: #ffffff;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.admin-table th, .admin-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    color: #000000; /* Nero puro per contrasto perfetto */
    font-size: 14px;
}
.admin-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    border-bottom: 2px solid #800020;
}
.text-muted {
    color: #555555; /* Grigio scuro per rimanere leggibile e a contrasto */
    font-size: 12px;
}
.cell-note {
    max-width: 200px;
    word-wrap: break-word;
}
.badge-persone {
    background: #000000;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: bold;
}
.badge-stato {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}
.badge-stato.stato-confermata { background-color: #d4e6f1; color: #1b4f72; }
.badge-stato.stato-completata { background-color: #d4edda; color: #155724; }
.badge-stato.stato-annullata { background-color: #f8d7da; color: #721c24; }
.select-admin-azione {
    padding: 6px;
    border: 1px solid #800020;
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}
.select-admin-azione:focus {
    outline: none;
    border-color: #d4b996;
}
.admin-alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
}
.admin-alert-success { background-color: #d4edda; color: #155724; border-left: 5px solid #28a745; }
.admin-alert-danger { background-color: #f8d7da; color: #721c24; border-left: 5px solid #dc3545; }
.table-responsive { overflow-x: auto; }
/* ==========================================================================
   DASHBOARD GRID E WIDGETS LAYOUT
   ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.card-widget {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    border-left: 6px solid #ccc;
}
.card-widget h3 {
    margin: 0 0 10px 0;
    color: #000000;
    font-size: 18px;
    text-transform: uppercase;
}
.card-widget p {
    color: #555555;
    font-size: 14px;
    margin: 10px 0 20px 0;
}
.widget-number {
    font-size: 36px;
    font-weight: bold;
    color: #000000;
    margin: 15px 0;
}
.btn-widget {
    display: inline-block;
    background-color: #800020;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
    transition: background 0.2s ease;
}
.btn-widget:hover {
    background-color: #800020;
}
/* Varianti cromatiche dei bordi */
.border-piatti { border-left-color: #d4b996; } /* Oro */
.border-prenotazioni { border-left-color: #800020; } /* Bordeaux */
.border-richieste { border-left-color: #b35c00; } /* Arancio Scuro per attenzione */
.text-danger-pulse {
    color: #b35c00;
    animation: dashboard-pulse 2s infinite;
}
@keyframes dashboard-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
/* ==========================================================================
   ANIMAZIONE CSS PER IL MOVIMENTO CONTINUO DEL TESTO IN OBLIQUO
   ========================================================================== */
@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
/* ==========================================================================
   SEZIONE NUOVA: STILI PAGINA PUBBLICA MENU GOURMET
   ========================================================================== */
.menu-hero-section {
    position: relative;
    background-image: linear-gradient(rgba(20, 15, 15, 0.6), rgba(20, 15, 15, 0.7)), url('../immagini/sfondi-effetti/sfondo-menu-firenze.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    margin-bottom: 60px;
}
.menu-hero-content h1 {
    color: var(--color-champagne) !important;
    font-family: var(--font-main);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.menu-hero-content p {
    font-family: var(--font-main);
    font-style: italic;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.menu-wrapper-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}
.menu-section-title {
    text-align: center;
    font-family: var(--font-main);
    font-size: 2.2rem;
    color: var(--color-bordeaux);
    font-weight: 400;
    margin: 60px 0 40px 0;
    position: relative;
    padding-bottom: 15px;
    text-transform: capitalize;
}
.menu-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-champagne);
}
.menu-grid-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.menu-item-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    background: var(--color-bg-white);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-item-card:hover {
    transform: translateY(-2px);
}
.menu-item-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #eaeaea;
    flex-shrink: 0;
}
.menu-item-details {
    flex-grow: 1;
}
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    border-bottom: 1px dotted #e0e0e0;
    padding-bottom: 4px;
}
.menu-item-header h3 {
    margin: 0;
    font-family: var(--font-main);
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.menu-item-price {
    font-family: var(--font-sans);
    color: var(--color-bordeaux);
    font-weight: 700;
    font-size: 1.15rem;
    white-space: nowrap;
    margin-left: 15px;
}
.menu-item-description {
    font-family: var(--font-sans);
    color: #555555;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 6px;
    font-weight: 300;
}
.menu-item-allergens {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: #b35c00;
    font-style: italic;
    font-weight: 400;
}
.menu-error-box {
    text-align: center;
    padding: 40px;
    background: #fff5f5;
    color: var(--color-bordeaux);
    font-family: var(--font-sans);
    border-radius: 4px;
}
.btn-menu-booking-wrapper {
    text-align: center;
    margin: 80px 0 60px 0;
}
.btn-menu-booking {
    display: inline-block;
    background-color: var(--color-bordeaux);
    color: #ffffff !important;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.95rem;
    padding: 16px 40px;
    border-radius: 0px;
    border: 1px solid var(--color-bordeaux);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(153, 0, 0, 0.15);
}
.btn-menu-booking:hover {
    background-color: var(--color-bg-white);
    color: var(--color-bordeaux) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(153, 0, 0, 0.25);
}
/* MEDIA QUERIES - OTTIMIZZAZIONE RIGIDA PER MOBILE (SMARTPHONE) */
@media (max-width: 768px) {
    .menu-hero-section {
        height: 35vh;
        background-attachment: scroll; /* Ottimizza la fluidità dello scrolling su smartphone */
    }
    .menu-hero-content h1 {
        font-size: 2.2rem;
    }
    .menu-hero-content p {
        font-size: 1.05rem;
    }
    .menu-grid-columns {
        grid-template-columns: 1fr; /* Una sola colonna forzata sui dispositivi mobili */
        gap: 25px;
    }
    .menu-item-card {
        padding: 5px;
    }
    .menu-section-title {
        font-size: 1.8rem;
    }
}
/* Animazione continua senza stacchi */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 40px));
  }
}

/* Contenitore principale bordeaux */
.section-bordeaux {
  background-color: #800020;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  clear: both;
  width: 100%;
  box-sizing: border-box;
}

/* Nastro di sfondo inclinato */
.marquee-background {
  position: absolute;
  top: 50%;
  left: -10%;
  transform: translateY(-50%) rotate(-2deg);
  width: 120%;
  display: flex;
  white-space: nowrap;
  gap: 40px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.marquee-text-flow {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 7rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 10px;
  display: flex;
  gap: 50px;
  flex-shrink: 0;
  animation: marqueeScroll 25s linear infinite;
}

/* Contenuto centrale */
.manifesto-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.decor-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4b996, transparent);
  margin: 0 auto;
}

.manifesto-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #d4b996;
  margin: 30px 0 20px 0;
  letter-spacing: 2px;
  text-transform: capitalize;
  line-height: 1.2;
}

.manifesto-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.9;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
}

.decor-spark {
  color: var(--color-champagne, #d4b996);
  font-size: 0.8rem;
  margin: 25px 0;
  letter-spacing: 6px;
  opacity: 0.85;
}

/* Ottimizzazione per Tablet e Smartphone */
@media (max-width: 768px) {
  .section-bordeaux {
    padding: 70px 15px;
  }

  .marquee-text-flow {
    font-size: 4rem;
    letter-spacing: 5px;
  }

  .manifesto-title {
    font-size: 2rem;
  }

  .manifesto-text {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* ==========================================================================
   MODULO PRENOTAZIONE TAVOLI (prenota.php) - TEMA WHITE (BORDEAUX & ORO)
   ========================================================================== */

.booking-section {
  background-color: #f8f7f4;
  padding: 90px 20px;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
}

.booking-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid rgba(153, 0, 0, 0.15);
  border-top: 4px solid #800020;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 50px 45px;
  position: relative;
  box-sizing: border-box;
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.booking-subtitle {
  color: #800020;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.booking-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin: 0 0 15px 0;
}

.booking-divider {
  width: 70px;
  height: 2px;
  background-color: #d4b996;
  margin: 0 auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.booking-group {
  display: flex;
  flex-direction: column;
}

.booking-group.full-width {
  grid-column: 1 / -1;
}

.booking-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #800020;
  margin-bottom: 8px;
  font-weight: 600;
}

.booking-input,
.booking-select,
.booking-textarea {
  background-color: #fafafa;
  border: 1px solid #dcd7d0;
  color: #1a1a1a;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #800020;
  box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.08);
}

.booking-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-top: 5px;
  cursor: pointer;
}

.booking-privacy input[type="checkbox"] {
  accent-color: #800020;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.btn-booking-submit {
  background-color: #800020;
  color: #ffffff;
  border: 1px solid #800020;
  padding: 16px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.btn-booking-submit:hover {
  background-color: #7a0000;
  color: #d4b996;
  border-color: #d4b996;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(153, 0, 0, 0.2);
}

/* Box Notifiche Esito (Tema Chiaro) */
.booking-alert {
  padding: 20px 25px;
  margin-bottom: 30px;
  border-left: 4px solid;
  line-height: 1.6;
}

.booking-alert.success {
  background-color: #f0f9f4;
  border-color: #28a745;
  color: #155724;
}

.booking-alert.warning {
  background-color: #fdf8ef;
  border-color: #c5a065;
  color: #6b5328;
}

.booking-alert.error {
  background-color: #fdf2f2;
  border-color: #800020;
  color: #721c24;
}

.booking-alert .alert-title {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #800020;
  margin-bottom: 6px;
}

/* Box Sala Bloccata (Tema Chiaro) */
.sala-bloccata-box {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(153, 0, 0, 0.25);
  background-color: #fdf6f6;
}

.sala-bloccata-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #800020;
  font-size: 1.6rem;
  margin: 0 0 15px 0;
}

.sala-bloccata-text {
  color: #333333;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto;
}

/* Honeypot invisibile anti-spam */
.hp-field {
  display: none !important;
  visibility: hidden;
}

/* Responsive Tablet & Mobile */
@media (max-width: 768px) {
  .booking-wrapper {
    padding: 35px 20px;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-title {
    font-size: 2rem;
  }
}
/* ==========================================================================
   HERO SLIDESHOW IN DISSOLVENZA (CROSS-FADE) - PAGINA PRENOTAZIONI
   ========================================================================== */

.booking-hero {
  position: relative;
  height: 440px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #800020;
}

.booking-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroCrossFade 18s infinite ease-in-out;
}

/* Sfasamento temporale delle 3 immagini (6 secondi ciascuna) */
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}
.hero-slide:nth-child(2) {
  animation-delay: 6s;
}
.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

/* Animazione dissolvenza + leggero zoom cinematografico */
@keyframes heroCrossFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  8% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  41% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

/* Velatura bordeaux luminosa #800020 */
.booking-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(153, 0, 0, 0.35) 0%,
    rgba(153, 0, 0, 0.55) 60%,
    rgba(120, 0, 0, 0.70) 100%
  );
  z-index: 2;
}

.booking-hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding: 0 20px;
  margin-top: -30px;
}

.hero-eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #d4b996;
  margin-bottom: 12px;
}

.hero-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.hero-gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4b996, transparent);
  margin: 0 auto 18px auto;
}

.hero-lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #f5f5f5;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ==========================================================================
   MODULO PRENOTAZIONE TAVOLI (prenota.php) - TEMA WHITE (BORDEAUX #800020)
   ========================================================================== */

.booking-section {
  background-color: #f8f7f4;
  padding: 0 20px 90px 20px;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
}

.booking-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid rgba(153, 0, 0, 0.25);
  border-top: 5px solid #800020;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 50px 45px;
  position: relative;
  box-sizing: border-box;
}

.booking-wrapper-overlap {
  margin-top: -65px;
  z-index: 10;
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.booking-subtitle {
  color: #800020;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.booking-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin: 0 0 15px 0;
}

.booking-divider {
  width: 70px;
  height: 2px;
  background-color: #800020;
  margin: 0 auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.booking-group {
  display: flex;
  flex-direction: column;
}

.booking-group.full-width {
  grid-column: 1 / -1;
}

.booking-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #800020;
  margin-bottom: 8px;
  font-weight: 600;
}

.booking-input,
.booking-select,
.booking-textarea {
  background-color: #fafafa;
  border: 1px solid #dcd7d0;
  color: #1a1a1a;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #800020;
  box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.12);
}

.booking-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-top: 5px;
  cursor: pointer;
}

.booking-privacy input[type="checkbox"] {
  accent-color: #800020;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.btn-booking-submit {
  background-color: #800020;
  color: #ffffff;
  border: 1px solid #800020;
  padding: 16px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.btn-booking-submit:hover {
  background-color: #b30000;
  border-color: #d4b996;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(153, 0, 0, 0.3);
}

/* Box Notifiche Esito (Tema Chiaro) */
.booking-alert {
  padding: 20px 25px;
  margin-bottom: 30px;
  border-left: 4px solid;
  line-height: 1.6;
}

.booking-alert.success {
  background-color: #f0f9f4;
  border-color: #28a745;
  color: #155724;
}

.booking-alert.warning {
  background-color: #fdf8ef;
  border-color: #c5a065;
  color: #6b5328;
}

.booking-alert.error {
  background-color: #fdf2f2;
  border-color: #800020;
  color: #721c24;
}

.booking-alert .alert-title {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #800020;
  margin-bottom: 6px;
}

/* Box Sala Bloccata (Tema Chiaro) */
.sala-bloccata-box {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(153, 0, 0, 0.25);
  background-color: #fdf6f6;
}

.sala-bloccata-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #800020;
  font-size: 1.6rem;
  margin: 0 0 15px 0;
}

.sala-bloccata-text {
  color: #333333;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto;
}

/* Honeypot invisibile anti-spam */
.hp-field {
  display: none !important;
  visibility: hidden;
}

/* Responsive Tablet & Mobile */
@media (max-width: 768px) {
  .booking-hero {
    height: 360px;
  }
  .hero-main-title {
    font-size: 2.3rem;
  }
  .booking-wrapper {
    padding: 35px 20px;
  }
  .booking-wrapper-overlap {
    margin-top: -40px;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-title {
    font-size: 2rem;
  }
}
