/* Estilos generales */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}
/* El espacio para que el contenido no quede tapado por la barra fija */
.contenido-principal {
  padding-top: 70px; /* altura de la barra de navegación */
}

/* Tu CSS para el video, sin cambios */

/* Productos */
.product-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 40px 20px;
  background-color: white;
}

.product-item {
  width: 250px;
  text-align: center;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  border-radius: 10px;
}

.product-item h3 {
  margin-top: 15px;
  font-size: 1.2em;
  color: #333;
}

.product-item p {
  font-size: 0.95em;
  color: #666;
}

/* Sección de videos */
/* Sección de videos */
 
.video-principal {
position: relative;
width: 100%;
height: auto;
background: black;
border-radius: 0 0 20px 20px;
}

.video-principal::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* Esto está bien ahora */
}


.video-principal video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
  display: block;
}



/*videos*/
/* Contenedor vertical */
.videos {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.videos h2 {
  font-size: 2.5em;
  color: #18469E;
  margin-bottom: 30px;
  font-weight: bold;
}

.videos-fila {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.video-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background-color: black;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Ubicación */
.ubicacion {
  padding: 40px 20px;
  text-align: center;
}

.ubicacion h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

.mapa-contenedor iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 15px;
  max-width: 800px;
}

/* WhatsApp asistente */
.whatsapp-asistente {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: flex;
  align-items: center;
  background-color: #25d366;
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
}

.whatsapp-asistente img.asistente-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.burbuja-texto {
  color: white;
  font-size: 16px;
}

.close-button {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  margin-left: 10px;
  cursor: pointer;
}

.chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  width: 250px;
  text-align: center;
}

.chat-box a {
  display: inline-block;
  margin-top: 10px;
  background-color: #25d366;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .product-item {
    width: 37%; /* 2 productos por fila con espacio entre ellos */
  }

  .product-menu {
    justify-content: space-between;
  }
}



  .whatsapp-asistente {
    bottom: 150px;
  }

  .chat-box {
    width: 90%;
    right: 5%;
  }
@media (min-width: 1000px) {
  .video-container {
    flex: 1;
    max-width: 30%; /* 3 videos por fila */
  }

  .videos-fila {
    justify-content: space-between; /* para que se separen */
  }
}
