/* ==============================
   SECCIÓN EVENTOS - PALADAR ESPAÑOL
   ============================== */

.section-eventos {
    background-image: url("../images/eventos.jpg"); /* Cambia por el fondo que desees */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
    color: #fff;
}

/* Fondo con oscurecido sutil */
.section-eventos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.eventos-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Columna izquierda: texto */
.eventos-texto {
    flex: 1 1 45%;
    max-width: 500px;
}

.eventos-texto h2 {
    font-size: 38px;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 10px;
}

.eventos-texto h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
}

.eventos-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: #f8f8f8;
}

/* Columna derecha: imágenes */
.eventos-imagenes {
    flex: 1 1 45%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.evento-img {
    width: 210px;     /* 👈 Tamaño de las imágenes (ajústalo si las quieres más grandes o pequeñas) */
    height: 210px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 5px;  /* 👈 Separación vertical entre imágenes (antes 40px, ahora más compacto) */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: flotar 4s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.evento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zig-zag más ajustado */
.evento1 {
    align-self: flex-end;
}

.evento2 {
    align-self: flex-start;
    margin-left: 40px;   /* 👈 Antes 60px — ahora menos desplazamiento lateral */
}

.evento3 {
    align-self: flex-end;
    margin-top: 5px;    /* 👈 Antes 20px — ahora más pegada */
}

/* Efecto flotante */
@keyframes flotar {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }  /* 👈 Leve ajuste del movimiento (antes -15px) */
    100% { transform: translateY(0); }
}

/* Hover effect */
.evento-img:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Responsivo */
@media (max-width: 992px) {
    .eventos-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .eventos-texto, .eventos-imagenes {
        flex: 1 1 100%;
        max-width: none;
    }

    .eventos-imagenes {
        align-items: center;
        margin-top: 40px;
    }

    .evento-img {
        margin: 20px auto;
    }

    .evento2, .evento3 {
        margin-left: 0;
        align-self: center;
    }
}
