/* ===== EVENTOS SPAZIO ===== */
.eventos-spazio {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

/* ===== FONDO CON PARALLAX ===== */
.eventos-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Efecto parallax - se aplica con JavaScript */
.eventos-background.parallax-scroll {
    transform: translateY(calc(var(--scroll-offset, 0) * 0.5px));
}

/* ===== OVERLAY ===== */
.eventos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    pointer-events: none;
}

/* ===== CONTENIDO - CENTRADO ===== */
.eventos-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 40px 80px;
    text-align: center;
    color: #ffffff;
    animation: eventosFadeIn 1.2s ease-out;
    margin: 0 auto;
}

.eventos-container {
    max-width: 850px;
    margin: 0 auto;
}

/* ===== TÍTULO ===== */
.eventos-titulo {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.eventos-titulo span {
    color: #ffd700;
}

/* ===== DESCRIPCIÓN ===== */
.eventos-descripcion {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    margin: 0 auto 35px auto;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* ===== BOTÓN - ESTILO HEADER ===== */
.eventos-boton {
    display: inline-block;
    padding: 16px 45px;
    background: #182854;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #182854;
    position: relative;
    overflow: hidden;
}

.eventos-boton:hover {
    background: #182854;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Efecto hover con línea inferior dorada */
.eventos-boton::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.eventos-boton:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===== ANIMACIONES ===== */
@keyframes eventosFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .eventos-spazio {
        height: 60vh;
        min-height: 350px;
    }
    
    .eventos-content {
        padding: 40px 60px;
    }
    
    .eventos-titulo {
        font-size: 40px;
    }
    
    .eventos-descripcion {
        font-size: 18px;
        max-width: 650px;
    }
}

@media (max-width: 768px) {
    .eventos-spazio {
        height: auto;
        min-height: 400px;
        padding: 60px 0;
        max-height: none;
    }
    
    .eventos-content {
        padding: 30px 40px;
        text-align: center;
    }
    
    .eventos-container {
        max-width: 100%;
    }
    
    .eventos-titulo {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .eventos-descripcion {
        font-size: 16px;
        margin-bottom: 30px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .eventos-boton {
        padding: 14px 35px;
        font-size: 14px;
    }
    
    .eventos-background {
        height: 130%;
    }
}

@media (max-width: 480px) {
    .eventos-spazio {
        min-height: 350px;
        padding: 50px 0;
    }
    
    .eventos-content {
        padding: 20px 25px;
    }
    
    .eventos-titulo {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .eventos-descripcion {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .eventos-boton {
        padding: 12px 28px;
        font-size: 12px;
    }
    
    .eventos-background {
        height: 140%;
    }
}