/* ————— Sección eventos (scoped a #event) ————— */
#event {
    position: relative;
    background: #fff;
    overflow: visible;
    text-align: center;
}

#event::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 80vw;
    background: #348CAB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Contenedor que queda sobre el círculo */
#event .event-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px;
}

/* Título “Nuestros eventos” */
#event .event-title {
    color: #83E4DC;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Imagen principal */
#event .event-img {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 8px;
}

/* Subtítulo antes de las tarjetas */
#event .features-intro {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

/* Grid de tarjetas */
#event .features-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* —— Estilo de tarjetas según event_old.blade.php —— */
#event .feature-card {
    position: relative;
    background: #83E4DC;
    border-radius: 24px;
    width: 280px;
    padding: 60px 20px 30px;
    box-sizing: border-box;
    text-align: center;
}

/* Añadir margen superior a las tarjetas de la segunda fila */
#event .feature-card:nth-child(n+4) {
    margin-top: 40px;
}

/* Círculo blanco con icono (absoluto) */
#event .feature-card .icon-circle {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

#event .feature-card .icon-circle i {
    font-size: 5rem;
    color: #348CAB;
}

/* Título y descripción de cada tarjeta (event_old) */
#event .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

#event .card-desc {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #000;
}

/* Responsive: apilar tarjetas en móvil */
@media (max-width: 768px) {
    #event .features-row {
        flex-direction: column;
        gap: 20px;
    }

    #event .feature-card {
        width: 100%;
        max-width: 320px;
    }
}

/* ————— “Zoom out”: viewport más amplio ————— */
@media (min-width: 1600px) {
    #event::before {
        width: 170vw;
        height: 75vw;
    }
}

@media (min-width: 2000px) {
    #event::before {
        width: 220vw;
        height: 70vw;
    }
}

@media (min-width: 2400px) {
    #event::before {
        width: 250vw;
        height: 50vw;
    }
}