/* css/index.css */

.hero {
  position: relative;
  /* CAMBIO CLAVE: Altura mínima del 85% de la pantalla para que sea GIGANTE */
  min-height: 55vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../img/index_hero.avif ');
  background-size: cover; /* Asegura que la imagen cubra todo el espacio */
  background-position: center;
  background-attachment: fixed;
}

.hero h1 {
  /* Letras pequeñas como pediste, pero con aire alrededor */
  font-size: clamp(1.2rem, 3vw, 1.8rem); 
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0px 4px 10px rgba(0,0,0,0.5);
}

.hero p {
  /* Subtítulo muy discreto */
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  max-width: 550px;
  line-height: 1.6;
  opacity: 0.85;
  font-weight: 300;
}

/* GRID DE BLOQUES BLANCOS - Ahora están mucho más abajo */
.main-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 25px; 
  max-width: 1400px; 
  margin: 80px auto; /* Gran separación para que la imagen respire */
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: white;
  padding: 40px 15px; 
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  font-size: 2.2rem; 
  color: #d35400; 
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem; 
  margin-bottom: 12px;
  color: #2d1b0e;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.85rem; 
  color: #777;
  line-height: 1.5;
}

/* Responsividad */
@media (max-width: 1100px) {
  .main-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 600px) {
  .main-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .hero {
    min-height: 60vh; /* Imagen amplia también en móvil */
  }
}