/* 🟩 HERO EVENTOS */
.eventos-hero {
  background: linear-gradient(135deg, #f0f4f8, #e6eef5);
  padding: 100px 20px 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eventos-header {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 35px 45px;
  max-width: 850px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eventos-header:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.eventos-header h1 {
  font-size: 2.6rem;
  color: #003366;
  margin-bottom: 18px;
  font-weight: 700;
}

.eventos-header p {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* 🟦 LISTA DE EVENTOS */
.eventos-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 50px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 🗂️ TARJETA DE EVENTO */
.evento-card {
  background-color: #fff;
  border-radius: 18px;
  padding: 30px 25px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.evento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.14);
}

/* 🎯 IMÁGENES DE EVENTO */
.evento-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evento-card:hover .evento-icon {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.evento-icon img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.evento-card:hover .evento-icon img {
  transform: scale(1.05);
}

/* 📝 Títulos y fechas */
.evento-card h2 {
  font-size: 1.5rem;
  color: #003366;
  margin-bottom: 12px;
  font-weight: 600;
}

.evento-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.evento-card .fecha {
  font-weight: 500;
  color: #004080;
}

/* 📱 RESPONSIVO */
@media (max-width: 768px) {
  .eventos-lista {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .eventos-header h1 {
    font-size: 2.2rem;
  }

  .eventos-header p {
    font-size: 1rem;
  }
}
