
  /* Fondo de la sección */
  .background {
    width: 100%;
    height: 80vh; /* Ajustamos la altura para que sea un poco menos de la pantalla */
    background-image: url('../img/background.jpeg'); /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Animación del carro */
.car-animation {
  position: relative;
  width: 100vw; /* Ancho completo de la pantalla */
  height: 100%; /* Altura del contenedor */
  display: flex;
  align-items: center;
}


.car {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: moveCar 8s linear infinite; /* Cambié la duración a 8s para un recorrido más largo */
  z-index: 1;
  width: 400px; /* Asegúrate de que coincida con el tamaño del carro */
  top: 270px;
}


.car-body {
    width: 400px; /* Ajusta el tamaño del carro */
    z-index: 2;
    padding-top: 624px;
    z-index: 1; /* El cuerpo del carro está detrás de las ruedas */
}

.wheel {
    width: 58px; /* Tamaño de las ruedas */
    position: absolute;
    animation: spinWheel 0.5s linear infinite;
    z-index: 3; /* Las ruedas estarán al frente */
}

.front-wheel {
    bottom: -366px; /* Ajusta la posición para estar debajo del carro */
    left: 60px; /* Ajusta la posición de la rueda delantera */
    z-index: 3; /* Las ruedas estarán al frente */
}

.back-wheel {
    bottom: -362px; /* Ajusta la posición para estar debajo del carro */
    left: 307px; /* Ajusta la posición de la rueda trasera */
    z-index: 3; /* Las ruedas estarán al frente */
}



/* Animaciones */
/* Animación para mover el carro */
@keyframes moveCar {
  0% {
      transform: translateX(calc(-25% - 400px)); /* Asegura que salga completamente, considerando el ancho del carro */
  }
  100% {
      transform: translateX(calc(100vw + 400px)); /* Asegura que termine completamente fuera del lado derecho */
  }
}



@keyframes spinWheel {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Desactivar selección y sombreado */
.car, .car-body, .wheel {
  user-select: none; /* No permite seleccionar el contenido */
  pointer-events: none; /* Desactiva cualquier interacción del mouse */
}


/* Logo */
/* Logo */
/* Logo */
.logo-container {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;
  position: absolute; /* Permite posicionar sobre el título */
  top: 5%; /* Ajusta la posición vertical del logo */
  left: 50%;
  transform: translate(-50%, 0); /* Centra el logo horizontalmente */
  z-index: 5; /* Asegúrate de que esté encima de otros elementos */
 padding-right: 100px;
  
}

.logo-img {
  width: 250px; /* Ajusta el tamaño del logo */
  height: auto;
}



/* Títulos */
.car-title {
    position: absolute;
    top: 20%; /* Cambia el título para que quede más centrado */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    padding-right: 10px;
    padding-top: 87px;
    width: 80%;
}


.car-title h2 {
  font-size: 48px;
  font-weight: bold;
  color: #00A327; /* Color verde */
  font-family: 'Poppins', sans-serif; /* Nueva fuente atractiva */
  margin-bottom: 10px; /* Espacio entre el título y el subtítulo */
}

.car-title p {
  font-size: 20px;
  margin-top: 10px;
  color: #ffffff; /* Texto en blanco para mejor visibilidad */
  font-family: 'Poppins', sans-serif; /* Nueva fuente atractiva */
}

/* Fondo para mayor visibilidad */
.car-title p {
  
  padding: 5px 10px;
  color: #333333;
  border-radius: 5px; /* Bordes redondeados */
}

@media (min-width: 1024px) {

/* Títulos */
.car-title {
    position: absolute;
    top: 20%; /* Cambia el título para que quede más centrado */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    padding-right: 150px;
    padding-top: 97px;
}

.logo-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;
    position: absolute; /* Permite posicionar sobre el título */
    top: 5%; /* Ajusta la posición vertical del logo */
    left: 50%;
    transform: translate(-50%, 0); /* Centra el logo horizontalmente */
    z-index: 5; /* Asegúrate de que esté encima de otros elementos */
    padding-right: 150px;
    padding-top: 50px;
  }

  .background {
    width: 100%;
    height: 80vh; /* Ajustamos la altura para que sea un poco menos de la pantalla */
    background-image: url('../img/background.jpeg'); /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    position: relative;
    padding-right: 70px;
}


}


@media (max-width: 767px) {

  .heros-sldier-area {
    min-height: 200px; /* Ajusta la altura mínima de la sección */
    max-height: 400px; /* Opcionalmente, puedes limitar la altura máxima */
    overflow: hidden; /* Esto evita que el contenido se desborde si hay demasiados elementos */
}


  .car {
    display: none;
  }
  .car-title {
        position: absolute;
        top: 20%; /* Cambia el título para que quede más centrado */
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        color: #ffffff;
        
        padding-top: 0px;
    }

    .car-title h2 {
      font-size: 30px;
      font-weight: bold;
      color: #00A327; /* Color verde */
      font-family: 'Poppins', sans-serif; /* Nueva fuente atractiva */
      margin-bottom: 10px; /* Espacio entre el título y el subtítulo */
      padding-top: 44px;
    }
    
    .car-title p {
      font-size: 16px;
      margin-top: 10px;
      color: #0c0c0c; /* Texto en blanco para mejor visibilidad */
      font-family: 'Poppins', sans-serif; /* Nueva fuente atractiva */
    }
    


      .logo-container {
        display: none; /* Oculta el logo en dispositivos móviles */
      }
      
}






/* Paginación */
.as-pagination {
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}




.theme-otro {
  max-height: 145vh;
  overflow: hidden; 
  --section-space: 0px; /* Reduce el espacio superior e inferior */
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}


.as-product {
  font-size: 0.9rem; /* Reduce la fuente */
  padding: 10px; /* Reduce el espacio interno */
}

.as-product .product-img {
  /* height: 180px; */
  height: 140px;
  width: 140px;
  margin: 0 auto 1px;
}
.as-product .product-content {
  padding: 5px; /* Reduce espacio entre contenido del producto */
}


@media (max-width: 768px) {
  .theme-otro .as-product {
      padding: 10px;
  }

  .theme-otro .col-6 {
      flex: 0 0 50%; /* 2 productos por fila */
      max-width: 50%;
  }

  .theme-otro {
    max-height: 310vh;
    overflow: hidden; 
    --section-space: 0px; /* Reduce el espacio superior e inferior */
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
  }

  .as-product .product-content {
    font-size: 0.7rem; /* Ajusta fuente en móviles */
  }

  .as-pagination {
    margin-top: -55px;
    margin-bottom: 5px;
}
#pagination-container li a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 22px; /* Tamaño más pequeño para móviles */
}
}




/* Banner promocional */
.promo-banner {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
  position: relative;
  z-index: 9999; /* Asegura que la imagen esté encima del menú */
}

.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .promo-banner {
      max-height: 250px; /* Menor altura para dispositivos móviles */
  }
}

@media (max-width: 480px) {
  .promo-banner {
      max-height: 180px;
  }
}


.wcu-thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}


.dual-section {
  display: flex;
  gap: 20px; /* Espacio entre imágenes */
  justify-content: center;
  padding: 40px 0;
}

.image-box {
  position: relative;
  overflow: hidden;
  width: 48%; /* Que se vean casi igual */
  border-radius: 10px; 
  transition: transform 0.3s ease-in-out; 
}

.image-box img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease-in-out; /* Efecto suave de zoom */
}

.image-box:hover img {
  transform: scale(1.1); /* Zoom al pasar el mouse */
}

.text-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(35, 87, 42, 0.8); /* Verde oscuro con transparencia */
  color: #ffffff;
  padding: 20px;
  width: 100%;
  text-align: left;
  font-weight: bold;
  transition: opacity 0.5s ease;
}

.image-box:hover .text-overlay {
  opacity: 0.9;
}




/* Estilos del título y descripción */
.hero-title {
  color: #2A660A; /* Mismo color original */
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-description {
  color: #525960; /* Color similar al texto original */
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Contenedor de imágenes */
.dual-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.image-box img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* Opcional para un estilo más elegante */
}


/* Responsive para móviles */
@media (max-width: 768px) {
  .dual-section {
      flex-direction: column;
      align-items: center;
  }
  .image-box {
      width: 90%; /* Ocupa más espacio en móviles */
  }
}




  /* Estilos para el botón flotante */
  .whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 23px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

/* Responsivo */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}


