body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Nasconde il vertical menu nelle pagine dinner-show di default */
.dinner-show-page .vertical-menu {
    left: -300px; /* Nascosto fuori schermo invece di display: none */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Permetti che si apra con la linguetta */
.dinner-show-page .vertical-menu.open {
    left: 55px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    display: block !important;
}

/* Sfondo specifico per la hero section di dinner-show */
.dinner-show-page .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Video di sfondo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    max-width: 100%;
    max-height: 100%;
}

/* Overlay scuro per migliorare la leggibilità del testo */
.dinner-show-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.dinner-show-page .hero > * {
    position: relative;
    z-index: 2;
}

/* Assicura che il titolo e il contenuto hero siano sopra il video */
.hero-title {
    position: relative;
    z-index: 3;
}

/* Blocco istruzioni per il calendario */
.calendar-instructions {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
}

.instructions-content h3 {
    color: #FFD700;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.instructions-content p {
    color: #ffffff;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}







.dinner-show-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.3; /* Riduce l'opacità per non interferire con la hero */
}

.dinner-show-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 120px;
    width: 100%;
    max-width: 100%;
}

.calendar-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0,0,0,0.7);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.months-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.month-button {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    color: #FFD700;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.month-button:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.month-button.active {
    background: #FFD700;
    color: #000;
    font-weight: 500;
}

.month-button.active:hover {
    background: #bfa100;
}

.calendar-section h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 32px;
    font-size: 2.2rem;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
}

.calendar-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 32px;
}

.calendar-header {
    font-family: 'Gill Sans Thin', 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    font-size: 1.2rem;
    font-weight: thin;
    color: #FFD700;
    text-align: center;
    margin-bottom: 16px;
}

.calendar-card {
    background: rgba(0,0,0,0.2);
    min-height: 320px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
    overflow: hidden;
}

.calendar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Nascondi le immagini del calendario su smartphone */
@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 3px !important;
        padding: 8px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .calendar-card {
        min-height: 50px !important;
        min-width: auto !important;
        padding: 6px 2px !important;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .calendar-card img {
        display: none;
    }
    
    .calendar-card span {
        display: block !important;
        color: #FFD700;
        font-size: 14px;
        font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
        font-weight: 600;
        margin: 0;
    }
    
    .calendar-header {
        font-size: 10px;
        padding: 6px 2px;
    }
}

.calendar-card:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    border-color: #fff700;
}

/* Messaggio nessun evento */
.no-events-message {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 20px;
    margin: 40px auto;
    max-width: 600px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.no-events-message h3 {
    color: #FFD700;
    font-size: 1.8rem;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.no-events-message p {
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-events-message #serata-name {
    color: #FFD700;
    font-weight: 600;
}

.view-all-events {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #bfa100);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Gill Sans Light', 'Gill Sans Nova', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.view-all-events:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #bfa100, #FFD700);
}

/* Responsive design */
@media (max-width: 768px) {
    .calendar-instructions {
        margin: 18px 15px;
        padding: 18px;
        max-width: calc(100% - 30px);
    }
    
    .instructions-content h3 {
        font-size: 1.1rem;
        margin-bottom: 9px;
    }
    
    .instructions-content p {
        font-size: 0.9rem;
        line-height: 1.45;
    }
    
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .dinner-show-content {
        padding-top: 80px;
        text-align: center;
    }
    
    .calendar-section {
        padding: 20px 10px;
        margin: 0 auto;
        border-radius: 10px;
        text-align: center;
    }
    
    .months-navigation {
        justify-content: center;
        text-align: center;
    }
    
    .months-navigation {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .month-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .calendar-grid {
        gap: 16px;
    }
    
    .calendar-card {
        min-height: 200px;
        min-width: 120px;
    }
    
    .calendar-header {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .dinner-show-content {
        padding-top: 60px;
        text-align: center;
    }
    
    .calendar-instructions {
        margin: 15px 10px;
        padding: 15px;
        max-width: calc(100% - 20px);
    }
    
    .instructions-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .instructions-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .calendar-section {
        text-align: center;
        margin: 0 auto;
    }
    
    .months-navigation {
        justify-content: center;
        text-align: center;
    }
    
    .calendar-section {
        padding: 5px 2px;
        margin: 0;
        border-radius: 4px;
    }
    
    .months-navigation {
        flex-direction: row !important;
        align-items: center;
        gap: 2px;
        padding: 0 2px;
        margin-bottom: 8px;
    }
    
    .month-button {
        flex: none;
        width: 38px;
        max-width: 38px;
        padding: 2px 0.5px;
        font-size: 0.6rem;
        min-width: 38px;
        border-radius: 8px;
        border-width: 1px;
        line-height: 1.1;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
    }
    
    .calendar-card {
        min-height: 120px;
        min-width: 80px;
    }
    
    /* Override per smartphone */
    @media (max-width: 480px) {
        .calendar-grid {
            grid-template-columns: repeat(5, 1fr) !important;
            gap: 2px !important;
            padding: 4px;
            max-width: 280px;
            margin: 0 auto;
        }
        
        .calendar-card {
            min-height: 42px !important;
            min-width: auto !important;
            padding: 4px 1px !important;
        }
        
        .calendar-card span {
            font-size: 12px !important;
        }
        
        .calendar-header {
            font-size: 9px;
            padding: 4px 1px;
        }
    }
} 