/* Generale */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden;
    color: white;
}

/* Hero Section */
.hero {
    position: fixed; /* Video rimane fisso */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* Video sotto il contenuto */
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.logo {
    max-width: 100%; 
    height: auto;
    margin-bottom: 20px;
}

.animated-title {
    font-size: 3.5em;
    color: #ff007a;
    text-transform: uppercase;
    animation: fade-in 2s ease-in-out forwards;
    opacity: 0;
}

/* Overlay Descrizione */
.overlay-description {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Stessa altezza del viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent; /* Video visibile */
    z-index: 1;
    margin-top: 100vh; /* Posiziona sotto la hero */
}

.description-content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.9); /* Sfondo semi-trasparente per leggibilità */
    border-radius: 10px;
    max-width: 800px;
    text-align: center;
    color: white;
}

.description-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e0c05e; /* Colore accattivante per il titolo */
}

.description-content p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.description-content .pricing {
    background-color: #222; /* Sfondo leggermente più scuro */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombra per evidenziare */
    color: #e0c05e; /* Testo in giallo */
}

/* Countdown Section */
.countdown-container {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.countdown-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.countdown-container h3 {
    font-size: 2em;
    margin-bottom: 15px;
}


#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.time-box {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    width: 100px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.time-box span {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

.time-box p {
    margin: 0;
    font-size: 1em;
    color: #bbb;
}

/* Sezione Evento */
#event-section {
    position: relative; /* Per assicurare il controllo del contenitore */
    background-color: black; /* Sfondo nero per la sezione */
    color: white; /* Testo bianco per contrasto */
    padding: 50px 0; /* Spaziatura sopra e sotto il contenitore */
    z-index: 1; /* Sovrappone sopra al video */
}

.details {
    position: relative;
    background: linear-gradient(to right, #e0c05e, #e0c05e); /* Sfondo arancione per il riquadro */
    color: white;
    padding: 30px;
    border-radius: 15px; /* Angoli arrotondati */
    max-width: 800px;
    margin: 0 auto; /* Centrare il riquadro */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Ombra */
}


#event-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

#event-summary {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-align: center;
}

/* Pulsanti */
.event-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.event-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.event-btn i {
    margin-right: 8px;
}

.event-btn:hover {
    background-color: #ffffff;
    color: #ff8800;
    transform: scale(1.05);
}

.hidden {
    display: none; /* Nasconde l'elemento */
}

.expanded-details {
    margin-top: 20px;
    font-size: 1em;
    color: #333;
    animation: fade-in 0.5s ease-in-out;
}


/* Galleria */
.event-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.event-gallery img {
    max-width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff007a;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: #ff007a;
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 10px;
    margin-top: 20px;
    font-size: 0.8em;
    color: #aaaaaa;
}

/* Responsività */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .description-content h2 {
        font-size: 2em;
    }

    .description-content p {
        font-size: 1em;
    }

    #countdown {
        flex-wrap: nowrap; /* Impedisce il ritorno a capo */
        gap: 5px; /* Spaziatura ridotta tra i box */
    }

    .time-box {
        width: 60px; /* Riduce la dimensione dei box su dispositivi mobili */
        padding: 10px;
    }

    .time-box span {
        font-size: 1.2em; /* Riduce la dimensione dei numeri */
    }

    .time-box p {
        font-size: 0.8em; /* Testo più compatto */
    }
}

/* Popup Overlay */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Sfondo semi-trasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup nascosto */
.popup.hidden {
    display: none;
}

/* Contenuto del Popup */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    color: black;
}

/* Pulsante di chiusura */
.close-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff007a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #e60070;
}


/* Privacy Policy */
.privacy-title {
    text-align: center;
    font-size: 2.5em;
    color: #ff007a;
    margin-bottom: 20px;
    font-weight: bold;
}
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    line-height: 1.6;
}

.privacy-container h1,
.privacy-container h2 {
    text-align: center;
    color: #333;
}

.privacy-container h2 {
    margin-top: 20px;
    font-size: 1.5em;
    color: #ff007a;
}

.privacy-container p {
    margin-bottom: 15px;
}

.privacy-container ul {
    margin-left: 20px;
    list-style-type: disc;
}

.privacy-container li {
    margin-bottom: 10px;
}