/*SOCIAL MEDIA*/

.icon-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: green;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}

.content {
  margin-left: 75px;
  font-size: 30px;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

 /* Loader styles */

/* Loader Background */
#loader-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Spinner */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0d6efd;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

/* Texto */
.loader-text {
    color: #fff;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
}

/* Animación */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



    /* Ocultar el contenido principal mientras carga */
    #main-content {
      display: none;
    }

    /*Formulario de contacto*/
      .form-container {
      max-width: 600px;
      margin: 50px auto;
      background-color: #1c1c1c;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      color: #ffffff;
    }

    .form-label {
      color: #b0b0b0;
    }

    .form-control {
      background-color: #2c2c2c;
      color: #fff;
      border: 1px solid #444;
    }

    .form-control::placeholder {
      color: #888;
    }

    .btn-primary {
      background-color: #007bff;
      border-color: #007bff;
    }

    .btn-primary:hover {
      background-color: #0056b3;
      border-color: #004a99;
    }

    .form-success {
      color: #28a745;
      margin-top: 15px;
    }

    /*Estilos BTN de la portada*/
    #btn01{
      background-color: #000;
      color: azure;
    }

     #btn01:hover{
      background-color: #007bb5;
      font-size: medium;
    }

    /*Estilos de imagen sección acerca de*/

    #imgacerca{
       max-width: 100%;
       height: auto;
    }

/*Estilo de burbuja de whats*/
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
}

.whatsapp-float .tooltip {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 5px;
  position: absolute;
  left: 70px;
  bottom: 15px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  font-size: 14px;
}

.whatsapp-float:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/*Ventana flotante*/

 .modal-content {
      background-color: #000;
      color: #fff;
      border: 2px solid #007BFF;
      border-radius: 10px;
    }

    .modal-header, .modal-footer {
      border: none;
    }

    .form-control {
      background-color: #1a1a1a;
      color: #fff;
      border: 1px solid #007BFF;
    }

    .form-control:focus {
      background-color: #1a1a1a;
      color: #fff;
      border-color: #0d6efd;
      box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .btn-primary {
      background-color: #0d6efd;
      border: none;
    }

    .btn-primary:hover {
      background-color: #0b5ed7;
    }

    /*Galeria de productos*/
    .gallery-img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .gallery-img:hover {
      transform: scale(1.03);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }

    .gallery-item {
      padding: 10px;
    }

    .modal-img {
      width: 100%;
      max-height: 80vh;
      object-fit: contain;
    }

    /* Responsive personalizado para la galería */
@media (max-width: 575.98px) {
  /* Teléfonos */
  .gallery-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Teléfonos grandes o tabletas verticales */
  .gallery-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet horizontal */
  .gallery-item {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) {
  /* PC y pantallas grandes */
  .gallery-item {
    flex: 0 0 25%;
    max-width: 25%;
  }
}


#quienes-somos {
      background: #f8f9fa;
      padding: 60px 0;
    }

    .quienes-img {
      border-radius: 10px;
      width: 50%;
      height: auto;
      object-fit: cover;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .quienes-texto {
      font-size: 1.1rem;
      color: #000;
      line-height: 1.6;
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease-in-out;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Responsive texto centrado solo en móviles */
    @media (max-width: 767.98px) {
      .text-md-start {
        text-align: center !important;
      }
    }

    /*MENÚ Y VIDEO*/
    /* Estilo para el video de fondo */
    .video-background {
      position: relative;
      height: 100vh;
      overflow: hidden;
    }

    .video-background video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }

    /* Espaciado debajo del navbar */
    header, .video-content {
      position: relative;
      z-index: 2;
      color: white;
      text-align: center;
      padding-top: 180px;
    }

    /* Navbar fondo opcional para contraste */
    #mainNav {
      background-color: rgba(255, 255, 255, 0.8); /* cambia a transparente si lo prefieres */
      backdrop-filter: blur(8px);
    }

    .navbar-brand img {
      height: 70px;
    }

    @media (max-width: 768px) {
      header, .video-content {
        padding-top: 120px;
      }
    }