/* Estilo común para todos los botones del banner */
.btn-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem; /* 6px */
  text-align: center;
  text-decoration: none;
  color: white;
  border: 2px solid white;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem; /* 12px */
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex: 1;
  min-width: 130px;
  max-width: 180px;
}


.hide-scrollbar {
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;     /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

        .typing-cursor {
            display: inline-block;
            margin-left: 2px;
            color: #2563eb;
            font-weight: 400;
            font-size: inherit;
            animation: blink 1s step-end infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
        
        .typing-text {
    color: #2563eb; /* Azul para el texto animado */
  }
  .hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* detrás de todo */
    overflow: hidden;
  }
  .hero-fixed img {
    width: 100%;
    height: 100%;
   object-fit: cover;
  filter: brightness(0.4) blur(4px); 
  transform: scale(1.05); 
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  }
  /* Contenido del hero (texto y botones) */
.hero-content {
    position: relative;
    z-index: 30;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Cambiado de 'center' a 'flex-start' */
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    color: white;
    box-sizing: border-box;
}
  .hero-spacer {
    height: 1vh;
  }
  
@media (min-width: 640px) {
  .btn-banner {
    font-size: 0.875rem; /* 14px */
    padding: 0.625rem 1rem; /* 10px 16px */
    min-width: 150px;
  }
}
@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
        margin-top: 10%;
    }
}

/* Hover */
.btn-banner:hover {
  background-color: white;
  color: black;
}

/* Asegurar que en móviles muy pequeños no se desborden */
@media (max-width: 375px) {
  .btn-banner {
    min-width: 110px;
    font-size: 0.7rem;
    padding: 0.45rem 0.6rem;
  }
}

#gallery-slider img {
  transition: transform 0.2s linear;
  will-change: transform;
}

.parallax {
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) blur(4px);
  transform: scale(1.05);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}


/* === Carrusel de Marcas (Full Width) === */
.brand-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100vw;           /* 🔹 Ocupa todo el ancho del viewport */
  /*left: 50%;              /* 🔹 Corrección para sacar del flujo del contenedor */
 /* right: 50%;*/
  /*margin-left: -50vw;     /* 🔹 Centrar correctamente en viewport */
  /*margin-right: -50vw;*/
  background: transparent;
  margin-top: 3%;
  margin-block-end: 7%;
}

.brand-carousel-track {
  display: flex;
  align-items: center;
  animation: scrollBrands 25s linear infinite;
  width: max-content;     /* 🔹 Permite que se desplace correctamente el contenido largo */
}

.brand-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  pointer-events: none; /* No clickeables */
}

.brand-logo:hover {
  opacity: 1;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
