/* ============================= */
/* SECCIÓN EXPLORAR */
/* ============================= */
.explore {
  padding: 4rem 2rem;
  background: #f9f9f9; /* Fondo suave */
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.explore .section__subheader {
  color: #ec68d6;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.explore .section__header {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #222;
}

/* ============================= */
/* GRID PRINCIPAL */
/* ============================= */
.explore__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ============================= */
/* TARJETAS */
/* ============================= */
.explore__card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0; /* Oculto al inicio */
  transform: translateY(-30px);
  animation: fadeInDown 0.8s forwards;
}

/* Cascada de animación */
.explore__card:nth-child(1) { animation-delay: 0.2s; }
.explore__card:nth-child(2) { animation-delay: 0.4s; }
.explore__card:nth-child(3) { animation-delay: 0.6s; }
.explore__card:nth-child(4) { animation-delay: 0.8s; }
.explore__card:nth-child(5) { animation-delay: 1s; }
.explore__card:nth-child(6) { animation-delay: 1.2s; }

/* Hover en tarjeta */
.explore__card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

/* ============================= */
/* IMÁGENES */
/* ============================= */
.explore__card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Zoom de imagen en hover */
.explore__card:hover img {
  transform: scale(1.1);
}

/* ============================= */
/* TEXTOS */
/* ============================= */
.explore__card h4 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.explore__card:hover h4 {
  color: #ec68d6; /* Cambio de color al pasar el mouse */
}

.explore__card p {
  font-size: 0.95rem;
  color: #666;
  padding: 0 1rem 1.5rem;
  line-height: 1.6;
}

/* ============================= */
/* ANIMACIONES */
/* ============================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 1200px) {
  .explore__grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en pantallas medianas */
  }
}

@media (max-width: 900px) {
  .explore__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 600px) {
  .explore__grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }

  .explore__card img {
    height: 220px; /* Ajusta altura de imágenes en móvil */
  }
}
