/* --- RESET E VARIABILI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ee1035; /* Red AIL */
    --secondary-color: #ffffff;
    --text-color: #ffffff;
    --font-main: "Ubuntu", sans-serif;
}

body, html {
    height: 100%;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #000;
    overflow: hidden; /* Mantiene la landing focalizzata su un'unica schermata d'impatto */
}

/* --- HERO CONTAINER & VIDEO --- */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Taglia e adatta il video senza distorcerlo */
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

/* --- INTERFACCIA E CONTENUTI --- */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2rem 4rem;
    z-index: 1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo img {
    width:100%;
    height:auto;
    max-width:200px;
}

.logo span {
    color: var(--primary-color);
}

/* Informazioni Principali */
.main-info {
    max-width: 700px;
    margin-top: auto;
    margin-bottom: auto;
}

.event-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.event-title {
    font-size: 4rem;
    font-weight: 900;
    color:#f89d0e;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.event-tagline {
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight:400;
    color: #fff;
    margin-bottom: 2.5rem;
}

/* Pulsanti (CTA) */
.cta-container {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: black;
}

/* Widget / Footer Inferiore */
.hero-footer {
    display: flex;
    gap: 4rem;
    border-radius: 10px;
    /*background:#ee1035;*/
    padding: 1rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
}

.footer-item strong {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-item span {
    font-size: 0.85rem;
    color: #b3b3b3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- RESPONSIVE DESIGN (Mobile & Tablet) --- */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .event-title {
        font-size: 2.3rem;
        color:#f89d0e;
    }

    .event-tagline {
        font-size: 1rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-footer {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }
}

/* Sezione Social */
.footer-social-side {
    display: flex;
    margin:0 auto;
    gap: 1.2rem;
    padding-bottom:20px;
}

.social-link {
    color: var(--text-color);
    font-size: 1.3rem;
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #fff;
    background: #f89d0e;
    border-color: #f89d0e;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
    }

    .event-title {
        font-size: 2.3rem;
    }

    .event-tagline {
        font-size: 1rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-info-side {
        flex-direction: column;
        gap: 1.2rem;
    }

    .footer-social-side {
        width: 100%;
        justify-content: flex-start;
    }
}
