@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Montserrat:wght@400;700&display=swap');

:root {
    --Background-color: #000000;
    /* Nero profondo per lo sfondo principale */
    --Primary-color: #FFFFFF;
    /* Bianco per il testo principale e i titoli */
    --Secondary-color: #4CAF50;
    /* Un verde vibrante simile al bordo e al basilico */
    --Titles-color: #FFFFFF;
    /* Bianco, come nel logo */
    --Subtitles-color: #E53935;
    /* Un rosso vivo per i dettagli, come i pomodori */
    --Text-color: #FFFFFF;
    /* Bianco per garantire leggibilità su sfondo scuro*/
    --Link-color: #4CAF50;
    /* Verde per i link e gli elementi interattivi */
    --Titles-font: 'Dancing Script', cursive;
    --Text-font: 'Montserrat', sans-serif;
}


html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--Text-font);
    scroll-behavior: smooth;
    height: 100%;
    cursor:pointer;
      -webkit-user-select: none; /* Safari */
  -ms-user-select: none;      /* IE 10 e Edge */
  user-select: none;  
}


/*---------------------------------------------------------------------------------------------------------------
---------------------------------------------------INIZIO PRELOADER STYLE-------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

/* ===================== PRELOADER ===================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Logo animato */
.preloader-logo {
    width: auto;
    height: 120px;
    margin-bottom: 40px;
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(76, 175, 80, 0.4));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Contenitore barra di caricamento */
.preloader-bar-container {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Barra di progresso */
.preloader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        var(--Secondary-color) 0%, 
        #66BB6A 50%, 
        var(--Secondary-color) 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: shimmer 1.5s ease-in-out infinite;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Testo percentuale */
.preloader-text {
    font-family: var(--Titles-font);
    font-size: 18px;
    color: var(--Primary-color);
    margin-top: 20px;
    opacity: 0.8;
    letter-spacing: 2px;
}

/* Animazione puntini */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Mobile */
@media (max-width: 768px) {
    .preloader-logo {
        width: auto;
        height: 100px;
    }
    
    .preloader-bar-container {
        width: 250px;
    }
    
    .preloader-text {
        font-size: 16px;
    }
}


/*---------------------------------------------------------------------------------------------------------------
-----------------------------------------------STILE BARRA NAVIGAZIONE ------------------------------------------
---------------------------------------------------------------------------------------------------------------*/


.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Rimuovi l'altezza fissa, usa il padding per centrare */
    min-height: 80px; 
    display: flex;
    align-items: center;
    justify-content: center; /* Centra orizzontalmente */
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0); /* Più scuro per leggibilità */
    z-index: 10;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.nav-container img {
    height: 40px; /* Meglio pixel fissi per il logo su mobile */
    width: auto;
    margin-bottom: 10px;
}

.nav-container ul {
    display: flex;
    gap: 15px; /* Riduci lo spazio tra i link su mobile */
    flex-direction: row;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; /* Fondamentale: permette ai link di andare a capo se non ci stanno */
}


.nav-container a {
    text-decoration: none;
    color: var(--Primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-container a:hover {
    color: var(--Secondary-color);
}

/*---------------------------------------------------------------------------------------------------------------
---------------------------------------------------INIZIO HEADER STYLE-------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

header {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.header-img {
    position: relative;
    background-image: url(Images/Header-photo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    width: 100%;

}

.msg-scorrimento {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    font-style: normal;
    font-family: var(--Titles-font);
    color: var(--Background-color);
    animation: bounce infinite 1s;
}

.msg-scorrimento h1 {
    text-shadow: 0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px var(--Link-color),
        /* Colore principale (es. verde acqua) */
        0 0 82px var(--Link-color),
        0 0 92px var(--Link-color);
}

.msg-scorrimento img {
    width: 50px;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px var(--Link-color),
        /* Colore principale (es. verde acqua) */
        0 0 82px var(--Link-color),
        0 0 92px var(--Link-color);
}

@media (max-width: 425px) {
    .header-img {
        /* 'scroll' è il valore corretto per annullare il parallasse */
        background-attachment: scroll !important;
        
        /* Opzionale: assicura che l'immagine sia ben visibile su schermi piccoli */
        background-position: center !important;
        background-size: cover !important;
    }
}


/*---------------------------------------------------------------------------------------------------------------
------------------------------------------------STILE DELLE SEZIONI----------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

section {
    scroll-snap-stop: always;
    scroll-snap-align: start;
    min-height: 100vh;
    height: auto;
    background-color: var(--Background-color);
    border-bottom: var(--Secondary-color) 1px solid;
}


#Titolo-Sezioni {
    color: var(--Text-color);
    font-family: var(--Titles-font);
    text-align: center;
    padding-top: 40px;
    /* spazio per la navbar fissa */
    margin: 0;
    font-size: 40px;
}


.cursor-circle {
    position: fixed;
    width: 30px; /* Dimensione cerchio */
    height: 30px;
    border: 2px solid white; /* Bordo bianco */
    border-radius: 50%; /* Crea il cerchio */
    pointer-events: none; /* Importante: il mouse passa attraverso */
    transform: translate(-50%, -50%); /* Centra il cerchio sul cursore */
    transition: transform 0.1s ease-out; /* Effetto leggero di ritardo */
    z-index: 9999;
     backdrop-filter: blur(1px);
}

/* Quando clicchi in un punto qualsiasi della pagina */
body:active .cursor-circle {
    width: 60px;  /* Si ingrandisce */
    height: 60px;
    transition: width 0.2s, height 0.2s; /* Rende l'espansione fluida */
}

@media (max-width: 425px) {
    .cursor-circle {
        display: none !important;
        opacity: 0 !important; 
    } 
}


/*---------------------------------------------------------------------------------------------------------------
---------------------------------------------SEZIONE PRESENTAZIONE-----------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

.content-presentazione {
    display: flex;
    flex-direction: column;
    color: var(--Text-color);
    justify-content: center;
    height: 100vh;
    width: 100%;
    align-items: center;
}

.content-presentazione h2 {
    font-family: var(--Titles-font);
    color: var(--Titles-color);
    font-size: 50px;
    font-weight: 400;
    padding-top: 45px;
    text-align: center;
}

.content-presentazione green {
    color: var(--Secondary-color);
}

.content-presentazione red {
    color: var(--Subtitles-color);
}

.content-presentazione ul {
    display: flex;
    flex-direction: column;
    font-family: var(--Text-font);
    color: var(--Text-color);
    list-style: none;
    text-align: center;
    gap: 10px;
    font-size: 18px;
    padding-right: 30px;
    box-sizing: border-box;
}

/*---------------------------------------------------------------------------------------------------------------
----------------------------------------------SEZIONE INGREDIENTI------------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

.Ingredienti-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 100px;
    height: 48vh;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    min-height: fit-content;
    font-family: var(--Titles-font);
    padding: 30px 0;
}

.Card-Ingredienti {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--Titles-color);
    flex-wrap: wrap;
}

.Card-Ingredienti img {
    width: 80px;
    height: 80px;
}

#Titolo-Ingredienti {
    background: var(--Background-color);
    color: var(--Text-color);
    font-family: var(--Titles-font);
    text-align: center;
    font-size: 40px;
    padding: 20px 20px;
}

/*---------------------------------------------------------------------------------------------------------------
----------------------------------------------------SEZIONE CIBI---------------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

.content-Prodotti {
    display: grid;
    /* Crea colonne che si adattano da sole: minimo 280px, massimo tutto lo spazio */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 50px 5%;
    /* Spazio per la nav-bar fissa e i bordi */
    box-sizing: border-box;
    min-height: 100vh;
    /* Usa min-height così se hai tanti ingredienti la sezione si allunga */
    align-items: start;
    /* Allinea le card in alto */
    justify-items: center;
    /* Centra le card nella loro cella */
}

.column-card {
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
    text-align: center;
    /* Rimuoviamo il border-left che su mobile starebbe male */
    border-left: 2px solid var(--Secondary-color);
    padding: 0px 20px;
    width: 100%;
    max-width: 320px;
    /* Evita che la card diventi troppo larga su desktop */
    font-family: var(--Titles-font);
}

.content-Prodotti img {
    width: 100%;
    /* L'immagine occupa tutto lo spazio della card */
    max-width: 260px;
    /* Ma non supera la dimensione originale */
    height: auto;
    /* Mantiene le proporzioni corrette */
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/*---------------------------------------------------------------------------------------------------------------
------------------------------------------------SEZIONE STORIA---------------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

.storia-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 5% 80px;
    flex-wrap: wrap;
}

/* Numero decorativo grande */
.storia-ornament {
    font-family: var(--Titles-font);
    font-size: clamp(80px, 14vw, 200px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(76, 175, 80, 0.25);
    /* usa il tuo --Secondary-color */
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}

/* Colonna destra */
.storia-right {
    max-width: 560px;
}

/* Titolo */
.storia-title {
    font-family: var(--Titles-font);
    font-size: clamp(28px, 4vw, 48px);
    color: var(--Titles-color);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Parte in corsivo colorato */
.storia-em {
    color: var(--Subtitles-color);
    /* il tuo rosso #E53935 */
    font-style: italic;
}

/* Paragrafi */
.storia-p {
    font-family: var(--Text-font);
    font-size: 16px;
    color: var(--Text-color);
    line-height: 1.85;
    margin-bottom: 16px;
    opacity: 0.85;
}

/* Firma */
.storia-firma {
    font-family: var(--Titles-font);
    font-size: 24px;
    color: var(--Secondary-color);
    /* verde */
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(76, 175, 80, 0.3);
}

/* Statistiche */
.story-stats {
    display: flex;
    gap: 36px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.st-val {
    font-family: var(--Titles-font);
    font-size: clamp(36px, 5vw, 52px);
    color: var(--Subtitles-color);
    /* rosso */
    line-height: 1;
}

.st-lab {
    font-family: var(--Text-font);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--Text-color);
    opacity: 0.5;
    margin-top: 6px;
}

/* Mobile */
@media (max-width: 768px) {
    .storia-container {
        flex-direction: column;
        gap: 20px;
        padding: 40px 24px 60px;
    }

    .storia-ornament {
        font-size: clamp(60px, 20vw, 100px);
        text-align: center;
    }

    .story-stats {
        gap: 24px;
    }

    .storia-title {
        text-align: center;
    }
}

/*---------------------------------------------------------------------------------------------------------------
----------------------------------------------------SEZIONE MENU---------------------------------------------------
----------------------------------------------------------------------------------------------------------------*/
.menu-container {
    color: var(--Text-color);
    padding: 60px 5% 80px;
    min-height: 100vh;
    background-color: var(--Background-color);
    box-sizing: border-box; 
    width: 100%;
    overflow-x: hidden;  
}


.menu-subtitle {
    font-family: var(--Text-font);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--Text-color);
    opacity: 0.4;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 50px;
}

.menu-category {
    padding: 40px 30px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
    border-right: 1px solid rgba(76, 175, 80, 0.15);
}

.menu-category-title {
    font-family: var(--Titles-font);
    font-size: clamp(26px, 3.5vw, 34px);
    color: var(--Titles-color);
    text-align: center;
    font-weight: 400;
}

.menu-category-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: var(--Secondary-color);
    margin: 10px auto 24px;
    border-radius: 2px;
}

/* Lista voci */
.menu-items {
    display: flex;
    flex-direction: column;
    position: relative;
    
}

.menu-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.menu-item-name {
    font-family: var(--Titles-font);
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--Titles-color);
    font-weight: 700;
}

.menu-item-desc {
    font-family: var(--Text-font);
    font-size: 13px;
    color: var(--Text-color);
    opacity: 0.45;
    line-height: 1.4;
}

.menu-item-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.12);
    margin: 0 12px;
    min-width: 20px;
    align-self: center;
    transform: translateY(-4px);
}

.menu-item-price {
    font-family: var(--Titles-font);
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--Subtitles-color);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.section-label{
    display: inline-block;
    font-family: var(--Titles-font);
    font-size: clamp(80px, 14vw, 200px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(76, 175, 80, 0.25);
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
    position: absolute;

}

/* ---- MOBILE: tutto in colonna ---- */
@media (max-width: 768px) {
    .menu-container {
        padding: 40px 15px; /* Padding laterale fisso e sicuro */
    }

    .menu-grid {
        grid-template-columns: 1fr; /* Una sola colonna pulita */
        width: 100%;               /* Prende tutto lo spazio del padding genitore */
    }

    .menu-item {
        display: flex;
        flex-direction: row;       /* Teniamoli in riga finché possibile */
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

    .menu-item-info {
        flex: 1;                   /* Si restringe se il prezzo ha bisogno di spazio */
    }

    .menu-item-price {
        text-align: right;
        font-size: 1.1rem;         /* Leggermente più piccolo per non rompere il layout */
    }
}

/*---------------------------------------------------------------------------------------------------------------
----------------------------------------------------SEZIONE SFIDA---------------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

#Sfida-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    position: relative;
}

#rullino-Sfida {
    width: 50%;
    height: 100%;
    display: flex;
    overflow-x: hidden;
    touch-action: none;       
     pointer-events: none;     
     user-select: none;       
}

#rullino-Sfida img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.text-Sfida {
width: 50%;
color: var(--Text-color);
display: flex;
flex-direction: column;
justify-content: center;
padding: 50px;
}

.text-Sfida h2{
    font-family: var(--Titles-font);
    font-size:3rem;
}

.scritta-sfida{
    position:absolute;
    top: 40px;
    right: 20px;
     font-family: var(--Titles-font);
    font-size: clamp(80px, 14vw, 200px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(76, 175, 80, 0.25);
    line-height: 1;
    user-select: none;
}

@media (max-width: 768px) {
    #Sfida-section {
        display: flex;
        flex-direction: column; 
        height: 100vh;          
        width: 100%;
        overflow: hidden;       
        /* Rimuoviamo eventuali padding dal genitore che potrebbero sballare i calcoli */
        padding: 0;
        margin: 0;
    }

    #rullino-Sfida {
        flex: 1;                /* Prende esattamente metà dello spazio disponibile */
        width: 100%;
        display: flex;
        overflow: hidden;       /* Blocca tutto */
        position: relative;     /* Lo tiene nel suo livello */
    }

    .text-Sfida {
        flex: 1;                /* Prende l'altra metà esatta */
        width: 100%;
        padding: 20px;          
        box-sizing: border-box; 
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Sposta il contenuto verso l'alto della sua metà */
        align-items: flex-start;
        overflow-y: auto;       
        background-color: var(--Background-color); /* Assicurati che non sia trasparente */
    }

    .text-Sfida h2 {
        font-size: 1.8rem;      /* Riducilo ancora un po' per sicurezza */
        margin-top: 10px;       /* Un piccolo distacco dal bordo del rullino */
        margin-bottom: 5px;
        line-height: 1.2;       /* Evita che il testo sia troppo alto */
    }

    .scritta-sfida{
    position:absolute;
    top: 40px;
    right: 20px;
     font-family: var(--Titles-font);
    font-size: clamp(80px, 14vw, 200px);
    color: transparent;
    -webkit-text-stroke: 1px rgba(76, 175, 80, 0.25);
    line-height: 1;
    user-select: none;
}
}



/* ===================== SEZIONE STAFF ===================== */

#staff-section {
    padding: 80px 5% 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

#staff-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 47, 47, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.staff-subtitle {
    font-family: var(--Text-font);
    text-align: center;
    color: #00000000;
    font-size: clamp(70px, 14vw, 200px);
    opacity: 0.7;
    margin-top: 30px;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    -webkit-text-stroke: 1px var(--Subtitles-color);
}

.staff-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.staff-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(76, 175, 80, 0.1);
}

.staff-card:hover::before {
    opacity: 1;
}

.staff-icon-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.staff-icon {
    font-size: 80px;
    display: inline-block;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: grayscale(0.3);
}

.staff-card:hover .staff-icon {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0) drop-shadow(0 0 20px rgba(76, 175, 80, 0.3));
}

.staff-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--Text-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    margin-top: 10px;
}

.staff-name {
    font-family: var(--Titles-font);
    font-size: 28px;
    color: var(--Titles-color);
    margin: 15px 0 8px;
    font-weight: 600;
}

.staff-role {
    font-family: var(--Text-font);
    font-size: 14px;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    font-weight: 500;
}

.staff-desc {
    font-family: var(--Text-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--Text-color);
    opacity: 0.7;
    margin: 0;
}

/* Animazioni reveal scaglionate */
.staff-card.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.staff-card.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card.reveal.d1.active {
    transition-delay: 0.15s;
}

.staff-card.reveal.d2.active {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .staff-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .staff-card {
        padding: 35px 25px;
    }
    
    .staff-icon {
        font-size: 70px;
    }
    
    .staff-name {
        font-size: 24px;
    }
    
    #staff-section {
        padding: 60px 5% 80px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .staff-container {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ===================== SEZIONE DOVE SIAMO ===================== */

#location-section {
    padding: 80px 5% 100px;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    position: relative;
}

.location-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* ========== COLONNA MAPPA ========== */

.location-map {
    position: relative;
    height: 90vh;
    min-height: 700px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(76, 175, 80, 0.2);
}

.map-wrapper iframe {
    border: 0;
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.map-card {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 280px;
    transition: all 0.3s ease;
}

.map-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(76, 175, 80, 0.5);
}

.map-card h3 {
    font-family: var(--Titles-font);
    font-size: 24px;
    color: var(--Titles-color);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.map-card p {
    font-family: var(--Text-font);
    font-size: 14px;
    color: var(--Text-color);
    opacity: 0.8;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-text {
    font-family: var(--Text-font);
    font-size: 14px;
    color: var(--Text-color);
    opacity: 0.7;
    font-weight: 500;
}

/* ========== COLONNA CONTATTI ========== */

.location-contacts {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 20px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contacts-title {
    font-family: var(--Titles-font);
    font-size: 42px;
    color: #d32f2f;
    margin: 0 0 40px 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 36px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.05);
}

.contact-info {
    flex: 1;
    padding-top: 4px;
}

.contact-label {
    font-family: var(--Text-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--Text-color);
    opacity: 0.5;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-value {
    font-family: var(--Titles-font);
    font-size: 19px;
    color: var(--Titles-color);
    line-height: 1.5;
    font-weight: 500;
}

.contact-link {
    color: var(--Titles-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link:hover {
    color: #4CAF50;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

/* ========== ORARI ========== */

.opening-hours {
    margin-top: 35px;
    padding: 35px 30px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.hours-title {
    font-family: var(--Titles-font);
    font-size: 22px;
    color: var(--Titles-color);
    margin: 0 0 20px 0;
    font-weight: 600;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.hours-item:hover {
    background: rgba(76, 175, 80, 0.08);
    transform: translateX(5px);
    border-color: rgba(76, 175, 80, 0.2);
}

.hours-item.closed {
    opacity: 0.5;
}

.hours-item.closed:hover {
    background: rgba(211, 47, 47, 0.05);
    border-color: rgba(211, 47, 47, 0.2);
}

.hours-item .day {
    font-family: var(--Text-font);
    font-size: 15px;
    color: var(--Text-color);
    font-weight: 500;
}

.hours-item .time {
    font-family: var(--Titles-font);
    font-size: 16px;
    color: #4CAF50;
    font-weight: 700;
}

.hours-item.closed .time {
    color: #d32f2f;
}

/* ========== BOX PRENOTAZIONI ========== */

.reservation-box {
    margin-top: 30px;
    padding: 35px 30px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    text-align: center;
}

.reservation-text {
    font-family: var(--Text-font);
    font-size: 15px;
    color: var(--Text-color);
    opacity: 0.9;
    margin-bottom: 18px;
    font-weight: 500;
}

.reservation-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--Titles-font);
    font-size: 22px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.reservation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.reservation-btn:hover::before {
    left: 100%;
}

.reservation-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(76, 175, 80, 0.5);
}

.reservation-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-icon {
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.btn-text {
    letter-spacing: 0.02em;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map {
        min-height: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    #location-section {
        padding: 60px 5% 80px;
    }
    
    .location-contacts {
        padding: 30px 25px;
    }
    
    .contacts-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .location-map {
        min-height: 400px;
        height: 400px;
    }
    
    .map-card {
        min-width: auto;
        padding: 15px 20px;
    }
    
    .map-card h3 {
        font-size: 20px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .contact-value {
        font-size: 17px;
    }
    
    .opening-hours {
        padding: 25px 20px;
    }
    
    .hours-title {
        font-size: 20px;
    }
    
    .reservation-box {
        padding: 28px 20px;
    }
    
    .reservation-btn {
        width: fit-content;
        justify-content: center;
        font-size: 20px;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .contacts-title {
        font-size: 28px;
    }
    
    .contact-value {
        font-size: 16px;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===================== SEZIONE EVENTI ===================== */

#events-section {
    padding: 80px 5% 100px;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

#events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(212, 47, 47, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.events-subtitle {
    font-family: var(--Text-font);
    font-size: 16px;
    text-align: center;
    color: var(--Text-color);
    opacity: 0.5;
    margin-top: 10px;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

/* ========== GALLERIA MASONRY ========== */

.events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dimensioni variabili */
.gallery-item.large-h {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.square {
    grid-row: span 1;
    grid-column: span 1;
}

.gallery-item.medium {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.medium-h {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.small-h {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.6) saturate(1.1);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4CAF50;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--Text-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.gallery-title {
    font-family: var(--Titles-font);
    font-size: 24px;
    color: white;
    margin: 8px 0 6px 0;
    font-weight: 600;
}

.gallery-date {
    font-family: var(--Text-font);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Border animato al hover */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(76, 175, 80, 0);
    border-radius: 16px;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover::before {
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 
        0 0 30px rgba(76, 175, 80, 0.3),
        inset 0 0 30px rgba(76, 175, 80, 0.1);
}

/* ========== LIGHTBOX ========== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    animation: zoomIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Container immagine uniforme */
.lightbox-content img {
    width: 100%;
    height: 70vh;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    background: #0a0a0a;
    transition: opacity 0.3s ease;
}

.lightbox-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.lightbox-tag {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4CAF50;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--Text-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.lightbox-title {
    font-family: var(--Titles-font);
    font-size: 28px;
    color: white;
    margin: 8px 0 6px 0;
    font-weight: 600;
}

.lightbox-date {
    font-family: var(--Text-font);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Pulsanti controllo */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 0 20px #4caf4f55;
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    font-size: 28px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    font-size: 40px;
    font-weight: 300;
    padding-bottom: 6px;
    
}

.lightbox-next {
    right: 30px;
    top: 50%;
    font-size: 40px;
    font-weight: 300;
    padding-bottom: 6px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--Text-font);
    font-size: 14px;
    color: white;
    font-weight: 500;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .events-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large-h {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    #events-section {
        padding: 60px 5% 80px;
    }
    
    .events-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 15px;
    }
    
    .gallery-item.large-h,
    .gallery-item.medium-h,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    }
    
    .gallery-title {
        font-size: 20px;
    }
    
    .lightbox-content {
        max-width: 95vw;
    }
    
    .lightbox-info {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 20px;
        background-color: #00000000;
        backdrop-filter: none;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

/* ===========FOOTER CONTENT ?===============*/
.main-footer {
    background-color: var(--Background-color);
    color: var(--Text-color);
    font-family: var(--Text-font);
    padding: 60px 20px 20px;
    border-top: 2px solid var(--Secondary-color); /* Riga verde decorativa */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-title {
    font-family: var(--Titles-font);
    font-size: 2.5rem;
    color: var(--Titles-color);
    margin-bottom: 15px;
}

.footer-subtitle {
    color: var(--Subtitles-color); /* Il tuo rosso vivo */
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-text {
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--Link-color); /* Il tuo verde vibrante */
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Stile icone social (puoi sostituire il testo con icone FontAwesome in futuro) */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    color: var(--Link-color); /* Il tuo verde */
    text-decoration: none;
    font-weight: bold;
    font-family: var(--Text-font);
    padding: 8px 15px;
    border: 1px solid var(--Link-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--Link-color);
    color: var(--Background-color);
    transform: translateY(-3px);
}

/* Stile frase di chiusura sopra il copyright */
.closing-phrase {
    font-family: var(--Titles-font);
    font-size: 1.8rem;
    color: var(--Primary-color);
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}


/*---------------------------------------------------------------------------------------------------------------
----------------------------------------------------ANIMAZIONI---------------------------------------------------
----------------------------------------------------------------------------------------------------------------*/

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        /* Punto di partenza */
    }

    50% {
        transform: translateY(-15px);
        /* Punto più alto */
    }
}


