/* ESTILOS EXCLUSIVOS PARA EVENTOS.HTML (No afectan al styles.css general) */
.eventos-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.cabecera-eventos {
    text-align: center;
    margin-bottom: 50px;
}

.titulo-principal {
    font-size: 2.8rem;
    color: red;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 900;
}

.subtitulo-principal {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.eventos-grid {
    display: grid;
    /* Diseño adaptativo para celulares y PC */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    justify-items: center;
}

.evento-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    border: 4px solid transparent;
}

.evento-card.actual {
    border-color: #ffc000;
}

.evento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.evento-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.evento-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-imagen {
    transform: scale(1.1);
}

.evento-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: red;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.badge-pasado {
    background-color: #555;
}

.evento-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.evento-info h2 {
    margin: 0 0 15px 0;
    color: rgb(34, 34, 34);
    font-size: 1.8rem;
}

.evento-info p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
    flex-grow: 1;
}

.evento-btn {
    display: inline-block;
    background-color: #ffc000;
    color: black;
    text-align: center;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.evento-btn:hover {
    background-color: red;
    color: white;
    transform: scale(1.05);
}

.btn-secundario {
    background-color: #eee;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-secundario:hover {
    background-color: #ddd;
    color: black;
}

.separador {
    height: 5px;
    width: 80px;
    background-color: red;
    margin: 0 auto 50px auto;
    border-radius: 5px;
}

/* Ajustes adicionales para móviles */
@media (max-width: 600px) {
    .titulo-principal {
        font-size: 2.2rem;
    }

    .evento-img-wrapper {
        height: 220px;
    }

    .evento-info h2 {
        font-size: 1.5rem;
    }
}