/* Disable real scrolling while the hero is active */
body.al6-active {
  overflow: hidden;
  scroll-behavior: smooth;
}

/* Container for the hero: initially fixed to keep it visible */
.scroll-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
  transition: position 0.5s ease;
}

/* Hero section */
.hero-section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Spacer to maintain layout */
.hero-spacer {
  height: 100vh;
  width: 100%;
  display: block;
}

/* Container for the image */
.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.sequence-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 3;
  color: #333;
  text-align: center;
  cursor: pointer;
}

.scroll-text {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

@media (max-width: 768px) {
  .sequence-image {
    max-width: 95%;
  }
}

/* Estilos existentes permanecen igual */

/* Mobile Hero Styles */
.mobile-hero-container {
  width: 100%;
  margin-top: 50px;  /* Ajusta según sea necesario para compensar la cabecera */
  margin-bottom: 30px;
  text-align: center;
}

.mobile-hero-container img {
  max-width: 100%;
  height: auto;
}

/* Media query adjustments */
@media (max-width: 767.98px) {
  /* Evitamos alterar el scroll */
  .hero-spacer {
    display: none;  /* No necesitamos el spacer en móvil */
  }
  
  /* Asegurarnos que el contenido móvil fluya normalmente */
  .mobile-hero-container {
    position: relative;
  }
}

@media (min-width: 768px) {
    /* Ajuste para compensar la altura del menú en versión desktop */
    .scroll-container {
        padding-top: 82px; /* Altura del menú de navegación */
    }
    
    /* Ajustamos la altura para mantener la proporción visual correcta */
    .hero-section {
        height: calc(100vh - 82px);
    }
    
    /* También ajustamos el spacer para mantener el flujo correcto de la página */
    .hero-spacer {
        height: calc(100vh - 82px);
    }
}
/* Estilos adicionales para manejar orientación */
@media (min-width: 576px) and (max-width: 991px) and (orientation: portrait) {
  .tablet-hero-horizontal {
    display: none !important;
  }
  .tablet-hero-vertical {
    display: block !important;
  }
}

@media (min-width: 576px) and (max-width: 991px) and (orientation: landscape) {
  .tablet-hero-vertical {
    display: none !important;
  }
  .tablet-hero-horizontal {
    display: block !important;
  }
}
.page-id-1010 .nav-link.nav-link-scrolled {
  color: black !important;
}