
/* RESPONSIVE WEB */
/*desarrollo web por MARCOS ALBORELLI*/

.inicio{
  background-color: #82828240;
  width: 100%;
}

.contenedor{
  width: 100%;       /* Ocupa todo el ancho disponible */
  display: flex;     /* Usamos flex para centrar a los hijos */
  flex-direction: column;
  align-items: center;    /* ESTO centra horizontalmente todo lo que esté adentro */
  margin-bottom: 25px;
}

.menu-presentacion{
  border: 1px solid black;
  border-bottom: 3px solid #B0B0B0;
  background-color: black;
  height: 100px;
  width: 100%;
  position: relative;
}

.infoweb p{
  color: white;
  font-size: 13px;
  margin: 2px 1px;
  font: Arial
}

.logo-principal{
  width: 23%;
  height: 100px;
  padding:0 25px;
  float: left;
}

.logo-principal img{
  width: 250px;
  height: 95px;
}

.redirecweb {
  width: 50%;
  float: left;
  height: 95px;
  display: flex; /* aalinea los hijos */
}

.redirecweb a {
  margin: 0;
  height: 100%; /* ocupa todo el alto del padre */
  flex: 1;
  display: flex;
  align-items: center;     /* Centrado vertical */
  justify-content: center; /* centrado horizontal */
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  padding: 0 14px;
}

.redirecweb a:hover {
  background-color: white;
  color: black;
}

.infoweb{
  border-left: 2px solid white;
  padding: 5px;
  width: 27%;
  margin: 5px;
  height: 90px;
  overflow: hidden;
}


.slider-container {
  width: 100%;
  height: 60vh; /* Ocupa el 60% del alto de la ventana */
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid black;
}

.slider {
  display: flex;
  width: 202%; /* Si son 3 imágenes es 300% */
  height: 100%;
  animation: deslizar 15s infinite ease-in-out;
}

.slider img {
  width: 100vw;
  height: 60vh;
  object-fit: cover;
  object-position: center;
}

@keyframes deslizar {
  0% { transform: translateX(0); }         /* Imagen 1 quieta */
  45% { transform: translateX(0); }        /* Imagen 1 quieta */
  50% { transform: translateX(-100vw); }   /* Transición a Imagen 2 */
  95% { transform: translateX(-100vw); }   /* Imagen 2 quieta */
  100% { transform: translateX(0); }       /* Vuelve al inicio */
}

.line-consumibles{
  border: 1px solid #b0b0b0;
  width: 100%;
  background-color: black;
  padding: 5px;
}

.line-consumibles p{
  text-align: center;
  margin: 0;
  color: white;
  font-weight: bold
}

.proveedores {
  padding: 10px 5px 5px 5px; /*busca ajustarr*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.proveedores h3 {
  width: 100%;
  text-align: center;
  font-size: 19px;
  margin-bottom: 15px;
}

.provee {
  border: 1px solid #828282;
  width: 200px;
  height: 80px;
  margin: 4px 10px;
  background-color: #82828275;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provee img {
  max-width: 100%;
  max-height: 100%;
}

.contenedor-empresa {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  justify-content: center;
}

.nos, .conj-img {
  width: calc(50% - 10px);
  box-sizing: border-box;
  margin: 0;
}

.conj-img {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 10px;
}

.conj-img img {
  width: 50%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #000;
  box-sizing: border-box;
}

.nos {
  padding: 10px;
}

.nosotros {
  height: 100%;
  border: 1px solid #828282;
  background-color: #00002130;
  border-left: 5px solid #000021;
  padding: 25px;
  border-radius: 0 10px 10px 0;
}

.nosotros h3 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.nosotros p {
  margin-bottom: 15px;
  font-size: 15px;
  color: #444;
}

.contenedor-servicios {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px); /* Desenfoque de fondo opcional */
  cursor: zoom-out;
}

.lightbox-contenido {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  border: 3px solid white;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: zoom 0.3s ease-in-out;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes zoom {
  from {transform: translateY(-50%) scale(0.7); opacity: 0;}
  to {transform: translateY(-50%) scale(1); opacity: 1;}
}

.conj-img img {
  cursor: zoom-in;
  transition: opacity 0.3s;
}

.conj-img img:hover {
  opacity: 0.8;
}

.contacto-contenedor {
  width: 65%; /* Ancho máximo para que no se estire demasiado */
  margin: 10px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #b0b0b0;
  border-left: 3px solid black
}

.contacto-contenedor h3 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  font-size: 24px;
}

.campo {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.campo label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Texto pequeño aclaratorio */
small {
  color: #888;
  font-size: 12px;
  margin-top: 5px;
}

.btn-enviar {
  width: 100%;
  padding: 14px;
  background-color: #363333;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #0056b3;
}

/* --- Estilos base para el botón hamburguesa (oculto por defecto) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 20px;
  float: right;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

.info-movil { display: none; }

/* --- RESPONSIVE: Pantallas menores a 768px --- */
@media (max-width: 768px) {
  .logo-principal { width: 60%; height: auto; float: none; display: inline-block; }
  .logo-principal img { width: 180px; height: auto; }

  .infoweb { display: none; } /* Ocultamos la info lateral en móvil */

  .menu-toggle { display: flex; } /* Mostramos la hamburguesa */

  .redirecweb {
      display: none;
      flex-direction: column;
      width: 100%;
      height: auto;
      background-color: #333;
      position: absolute; /* Asegúrate que el padre .menu-presentacion tenga position: relative o usa fixed */
      top: 100px;
      left: 0;
      z-index: 9999; /* Valor alto para que no lo tape el slider */
    }

    .redirecweb.active {
      display: flex !important; /* Forzamos el display cuando tiene la clase active */
    }

  .redirecweb a {
    padding: 20px;
    border-bottom: 1px solid #444;
    width: 100%;
  }

  .info-movil {
    display: block;
    color: white;
    padding: 15px;
    font-size: 12px;
    text-align: center;
  }

  .slider-container {
    height: 40vh; /* Reducimos el alto en móvil para que no tape toda la pantalla */
  }

  .slider img {
    height: 40vh;
  }

  .line-consumibles{
    font-size: 13px
  }


  .provee {
    border: 1px solid #828282;
    width: 100px;
    height: 40px;
    margin: 4px ;
    background-color: #82828275;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .provee img {
    max-width: 100%;
    max-height: 100%;
  }

  .nos{
    width: 100%;
    font-size: 14px;
  }

  .contenedor-servicios{
    width: 100%;
  }

  .conj-img{
    width: 100%;
  }

  .contacto-contenedor{
    width: 95%;
    font-size: 14px;
  }

}
