/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #26272b;
}

/* Hero Styles */
.hero {
  min-height: 100vh;
  position: relative;
}

.hero-image {
  display: block; /* 👈 Fuerza a que se renderice aunque esté vacío */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imagenes/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}


.bg-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none; /* Añadido para permitir clic a través */
}

.hero-title, .hero-subtitle, .hero-promo {
  position: relative;
  z-index: 5;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none; /* Permitir clics a través de la onda decorativa */
}

/* Asegurar que el botón sea clickeable */
.hero .container {
  z-index: 30 !important; /* Aumentado el z-index como solicitado */
}

.hero-cta {
  position: relative;
  z-index: 50 !important; /* Aumentado z-index como solicitado */
  pointer-events: auto !important;
  cursor: pointer;
}

/* Animation Styles */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Asegurar que todos los enlaces sean clickeables */
a {
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}

/* Animación de fade-in para elementos en scroll */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Estilos para versiones móviles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-cta {
    width: 100%;
    text-align: center;
  }
}
