body {
  font-family: Arial Rounded MT Bold, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

header {
  background-color: #002d72;
  color: white;
  padding: 1px 0px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 150px;
}

.search-bar {
  display: flex;
  align-items: center;
  position: relative;
}

.search-bar input {
  padding: 10px;
  border: none;
  border-radius: 25px 25px 25px 25px; /* Esquinas onduladas a la izquierda */
  border: 1px solid #ddd;
  width: 1000px; /* Aumenta el tamaño */
}

.search-bar button {
  padding: 10px;
  background-color: #ffffff;
  color: white;
  border: none;
  border-radius: 25px 25px 25px 25px; /* Esquinas onduladas a la derecha */
  position: absolute;
  right: 0;
  height: 100%;
}
.search-icon {
  width: 20px;
  height: 20px;
  position: relative; /* Hace que el elemento sea posicionable en relación a su posición normal */
  top: 0px; /* Mueve la imagen 5px hacia arriba */
  right: -5px; /* Mueve la imagen 5px hacia la derecha */
}
.search-bar input,
.search-bar button {
  width: 100%;
  margin-bottom: 10px;
}

.logo-right img {
  max-width: 150px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px; 
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  position: relative; /* Ensure dropdowns are positioned correctly */
}

nav li {
  margin-right: 20px;
  position: relative; /* Ensure dropdowns are positioned correctly */
}

nav a {
  text-decoration: none;
  color: #333;
}

form {
  position: relative;
}

form input[type="text"] {
  padding: 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 5px 5px 0 0;
}

form button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

form button img {
  width: 20px; /* Ajusta el tamaño de la lupa */
  height: 20px;
}

.separator {
  height: 5px;
  background-color: #00008B; /* Azul oscuro */
}
.hero img {
  max-width: 100%;
  height: auto;
}

.productos {
  padding: 20px;
}

.producto {
  display: inline-block;
  margin: 10px;
  text-align: center;
}

.producto img {
  max-width: 100px;
  height: auto
}
nav {
  background-color: white;
}
/* Estilo para el enlace "Nuevos Productos" */
a[href="#nuevos-productos"] {
color: blue; /* Color del texto */
animation: blink 1s infinite; /* Animación de parpadeo */
}

/* Definición de la animación */
@keyframes blink {
50% {
  opacity: 0;
}
}
.search-container {
  background-color: white;
  border-radius: 10px 0 0 10px; /* Crea el efecto redondeado en la esquina izquierda */
  width: 300px; /* Ajusta el ancho según tus necesidades */
  height: 40px; /* Ajusta la altura según tus necesidades */
  padding: 10px;
}

.search-container input {
  border: none;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border-radius: 10px 0 0 10px; /* Hereda el borde redondeado del contenedor */
}
.imagen-ampliable {
  width: 1690px; /* Tamaño inicial de la imagen */
  height: 800px; /* Mantiene la proporción de la imagen */
}

.imagen-ampliada {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 9999; /* Asegúrate de que esté sobre otros elementos */
  display: none; /* Inicialmente está oculta */
}
/*parte dos de codigo a realizar en productos inlaca*/
.product-grid {
display: flex;
flex-wrap: wrap;
justify-content: center; /* Ensure equal spacing between columns */
}

.product {
width: calc(33.33% - 20px); /* 3 columns layout with spacing */
margin: 10px;
text-align: center;
}

.product img {
width: 100%; /* Ensure all images have the same width */
height: auto; /* Maintain aspect ratio */
}

.top-image {
text-align: center; /* Centra la imagen horizontalmente */
}

.promo-image {
max-width: 100%; /* La imagen no superará el ancho del contenedor */
height: auto; /* Mantiene la proporción de la imagen */
}
.separator {
background-color: white;
height: 2px; /* Ajusta el alto del separador */
width: 100%; /* Que ocupe todo el ancho */
}
.banner-responsive {
width: 100%;
height: auto;
}
#map {
  height: 350px;
  width: 100%;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%; /* Ajusta el ancho según sea necesario */
height: 400px; /* Ajusta la altura según sea necesario */
}

.text-container {
flex: 1;
padding: 20px;
}
footer {
  background-color: #ffffff; /* Cambia el color de fondo */
  text-align: center;
  padding: 0px;
}

footer img {
  max-width: 100%; /* Ajusta el ancho de la imagen al contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
}
.container {
text-align: center;
}

.content {
display: flex;
justify-content: space-around;
margin-top: 20px; /* Espacio entre el banner y el contenido */
}

.draggable-image, .video {
width: 700px; /* Ajusta el ancho de la imagen y el video */
height: 800px; /* Ajusta la altura de la imagen y el video */
position: relative;
cursor: move;
}
.video-container {
width: 50%; /* Ajusta el ancho según tus necesidades */
margin: 0 auto; /* Centra el contenedor horizontalmente */
padding: 20px; /* Añade espacio alrededor del video */
background-color: #ffffff; /* Color de fondo del contenedor */
text-align: center; /* Centra horizontalmente el video */
position: relative; /* Necesario para el posicionamiento absoluto del video */
margin-top: 20px; /* Add margin to separate from header */
}
video {
width: 30%; /* Ajusta el ancho deseado, en este caso 80% del contenedor */
height: auto; /* Mantiene la proporción original del video */
position: absolute; /* Posiciona el video absolutamente dentro del contenedor */
top: 17%;
left: 50%;
transform: translate(-50%, -50%); /* Centra el video vertical y horizontalmente */
margin-top: 20px; /* Add margin to separate from header */
}
.product a {
display: block; /* Make the link occupy the full width of the image */
}

.product a:hover {
cursor: pointer; /* Change the cursor on hover */
opacity: 0.8; /* Slightly fade the image on hover */
}


/* Sección Hero */
.hero {
text-align: center;
padding: 0px;
margin: 0px auto;
}

.image-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.image-container img {
width: 100%;
margin: 10px 0; /* Add margin to ensure consistent spacing */
}

.video-containet {
  position: relative;
  width: 100%;
  height: 100vh; /* Ajusta la altura según tus necesidades */
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.feature {
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
}

.feature img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
/*video de  quienes somos*/
.video-containete {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: -30%; /* Add margin to create space below the video */
  z-index: 1; /* Send the video to the background */
}
.video-containete video {
position: absolute;
top: 20%;
left: 50%;
width: 100%;
height: 45%;
object-fit: cover;

}
/* quienes somos.css */

/* ... other styles ... */

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos horizontalmente */
    gap: 20px; /* Espacio entre elementos */
}

.feature {
    text-align: center;
    flex: 1 1 30%; /* Ajusta el ancho inicial de cada característica */
    padding: 20px;
}
.top-image-container {
  text-align: center; /* Centra la imagen horizontalmente */
}

.promo-image {
  width: 100%; /* Hace que la imagen ocupe el 100% de su contenedor */
  max-width: 100%; /* Establece un ancho máximo para evitar que sea demasiado grande */
  height: auto; /* Mantiene la proporción de la imagen */
}
.fecture {
  width: 100%; /* Ocupa todo el ancho disponible */
}

.promo-imagenes {
  width: 100%; /* Ocupa todo el ancho disponible dentro de su contenedor */
  height: auto; /* Mantiene la proporción original de la imagen */
  object-fit: cover; /* Rellena todo el contenedor, recortando la imagen si es necesario */
}
/*prototipo de propuesta de barra*/
/*prototipo de propuesta de barra*/
nav {
  background-color: #ffffff; /* Color de fondo del menú */
  color: #fff; /* Color del texto */
  display: flex;
  justify-content: space-between; /* Centra los elementos horizontalmente */
  align-items: center;
  padding: 0px 20px;
}

nav ul {
  list-style: none;
  display: flex;
  position: relative; /* Ensure dropdowns are positioned correctly */
}

nav li {
  margin: 0 15px;
  position: relative; /* Ensure dropdowns are positioned correctly */
}

nav a {
  text-decoration: none;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding-left: 0; /* Remove left padding */
}
.dropdown li {
  text-align: left;
}
nav li:hover .dropdown {
  display: block;
}
.dropdown a img {
  width: 150px; /* Ajusta el ancho de la imagen según sea necesario */
  height: 35px;
  margin-right: 0px; /* Ajusta el margen derecho para separar la imagen del texto */
  vertical-align: middle;
}
.dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
nav li:hover .dropdown {
  display: block;
}
nav li.active .dropdown {
  display: block;
}
.search-input {
  padding: 8px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  width: 200px;
}

.search-icon {
  width: 20px;
}
  nav ul.active {
      transform: translateY(0);
  }

  .menu-toggle {
      display: none;
      cursor: pointer;
  }

  .menu-toggle .bar {
      width: 25px;
      height: 3px;
      background-color: #00008B;
      margin: 5px 0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
  }

  nav li:hover .dropdown {
    display: none;
  }

  nav li.active .dropdown {
    display: block;
  }

.menu-toggle span {
  display: none;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: #00008B;
}
.nav-links {
  list-style: none;
  display: flex;
  z-index: 999; /* Asegúrate de que esté por encima del banner */
}
/* Para ajustar el tamaño de la fuente en el menú */
.nav-links ul li a {
  font-size: 10px; /* Ajusta el tamaño según tus preferencias */
  background-color: white; /* Agrega este estilo */
}
/*para las imagenes del menu*/
.nav-image {
  max-width: 100%; /* Adjust this value as needed */
  height: auto; /* Maintain aspect ratio */
}

/*para el submenu de productos*/
.product-image {
  max-width: 100%; /* Permite que la imagen se ajuste al ancho de su contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
}


  nav ul.active {
      transform: translateY(0);
  }

  .menu-toggle {
      display: none;
      cursor: pointer;
  }

  .menu-toggle .bar {
      width: 25px;
      height: 3px;
      background-color: #00008B;
      margin: 5px 0;
  }
.menu-toggle span {
  display: none;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: #00008B;
}
.nav-links {
  list-style: none;
  display: flex;
  z-index: 999; /* Asegúrate de que esté por encima del banner */
}
/* Para ajustar el tamaño de la fuente en el menú */
.nav-links ul li a {
  font-size: 18px; /* Ajusta el tamaño según tus preferencias */
}


/*carrousel de imagenes principal*/
.carousel-container {
  position: relative;
  width: 100%; /* Ancho relativo para adaptabilidad */
  max-width: 100%; /* Ancho máximo en pantallas grandes */
  margin: 20px auto; /* Centrado con margen */
  overflow: hidden;
}

.carousel {
display: flex;
transition: transform 0.5s ease-in-out;
/* REMOVE width: 1000px; */ /* Elimina el ancho fijo */
width: 100%; /* Asegura que el carrusel ocupe el 100% del contenedor */
}

.carousel-slide {
min-width: 100%; /* Cada slide ocupa el 100% del contenedor */
flex-shrink: 10; /* Evita que los slides se encojan */
}

.carousel img {
width: 100%; /* Las imágenes ocupan el 100% del slide */
height: auto;
display: block;
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-container:hover .carousel-prev,
.carousel-container:hover .carousel-next {
  opacity: 1;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Estilos para los puntos de navegación */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #333;
}


.bold-link {
font-weight: bold;
text-decoration: none;
color: #000000;
}

/* Aplicar los estilos a todos los enlaces dentro de un elemento con la clase bold-link */
.bold-link a {
color: inherit; /* Hereda el color del elemento padre */
text-decoration: none;
}

/* Asegurarse de que los estilos se mantengan en todos los estados */
.bold-link a:hover,
.bold-link a:focus {
color: inherit;
text-decoration: none;
}

.contenedor-principal {
display: flex; /* Establecemos un contenedor flex */
justify-content: space-between; /* Distribuye los elementos uniformemente */
align-items: center; /* Alinea los elementos verticalmente al centro */
}
.imagenes-contenedor {
display: flex;
flex-direction: column; /* Apila las imágenes verticalmente */
align-items: center; /* Centra las imágenes verticalmente */
}
/*para productos*/
.video-producto {
position: relative;
width: 100%; 
height: 0; 
padding-bottom: 56.25%; /* 16:9 aspect ratio */ 
}
.video-producto video {
position: absolute;
top: 45%;
left: 100;
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the video fills the container without distortion */
}

/*vista de productos individuales para telefono*/
.mobile-image {
display: none;
}

.link img {
max-width: 100%;
height: auto; 
z-index: 2; /* Asegúrate de que esté sobre otros elementos */
}

nav li:hover .dropdown,
nav li.active .dropdown {
display: block;
}



nav ul.active {
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #00008B;
    margin: 5px 0;
}

.dropdown {
  position: static;
  box-shadow: none;
}

nav li:hover .dropdown {
  display: none;
}

nav li.active .dropdown {
  display: block;
}

.link {
position: relative;
z-index: 1; /* Ensure the link section is above the video */
}

.video-containete {
position: relative;
z-index: 0; /* Ensure the video is below the link section */
}

/* ...existing code... */
.promo-links {
  position: relative;
  width: 100%;
  height: 100%;
}

.promo-link {
  position: absolute;
  width: 10%; /* Adjust width as needed */
  height: 20%; /* Adjust height as needed */
  display: block;
}
/* ...existing code... */
.separated-image {
  margin-right: 5px; /* Adjust the value as needed for minimal separation */
}
/* ...existing code... */

/* ...existing code... */

.image-links-container {
position: relative;
}

.image-link {
position: absolute;
width: 50px; /* Adjust size as needed */
height: 50px; /* Adjust size as needed */
/*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
cursor: pointer;
}

/* ...existing code... */

.promo-links-container {
position: relative;
}

.promo-link {
position: absolute;
width: 50px; /* Adjust size as needed */
height: 50px; /* Adjust size as needed */
/*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
cursor: pointer;
}

/* ...existing code... */

.top-image-container {
position: relative;
}

.top-image-link {
position: absolute;
width: 50px; /* Adjust size as needed */
height: 50px; /* Adjust size as needed */
/*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
cursor: pointer;
}

/* ...existing code... */

/* ...existing code... */

.top-image-link,
.promo-link,
.image-link {
position: absolute;
width: 50px; /* Adjust size as needed */
height: 50px; /* Adjust size as needed */
/*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
cursor: pointer;
z-index: 10; /* Ensure links are above other elements */
}

/* ...existing code... */
.new-image-link {
position: absolute;
display: block;
width: 100%; /* Adjust size as needed */
height: 7%; /* Adjust size as needed */
background-color: transparent; /* Or any other style you need */
}


/* Estilos para los submenús */
.dropdown {
  display: none; /* Ocultar el submenú por defecto */
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Mostrar el submenú al hacer hover en el contenedor */
.dropdown-container:hover .dropdown {
  display: block;
}

/* Estilos para los elementos del submenú */
.dropdown li {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown li:hover {
  background-color: #ddd;
}
/*Boton de contactanos para el mapa*/
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-container button {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  background-color: #00008B; /* Color de fondo inicial */
  border: 1px solid #ccc; /* Borde inicial */
  cursor: pointer; /* Cambia el cursor a una mano al pasar por encima */
  color: white; /* Establece el color de la letra a blanco */
}

.button-container button:hover {
  background-color: #e0e0e0; /* Color de fondo al pasar el cursor */
  border: 1px solid #b3b3b3; /* Borde al pasar el cursor */
}

.button-container button:active {
  background-color: #d0d0d0; /* Color de fondo al hacer clic */
  border: 1px solid #a6a6a6; /* Borde al hacer clic */
}






