/* Sección Hero */
#hero {
  padding-top: 60px;
  position: relative; /* Necesario para la imagen de fondo */
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

#hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* Asegura que la imagen esté por debajo del navbar */
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.4); /* Sombreado en la imagen */
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2; /* Overlay encima de la imagen pero debajo del navbar */
}

#hero .container {
  position: relative;
  z-index: 3; /* Contenido de hero está encima del overlay y la imagen */
}

#hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#hero .cta-btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#hero .cta-btn:hover {
  background-color: #0056b3;
}

/* Sombra degradada inferior opcional */
#hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  z-index: 2; /* Sombra debajo del contenido */
}
