/* PALETA DE COLORES PARA LA PAGINA*

.color1 {color: #20699f;}
.color2 {color: #268cb5;}
.color3 {color: #8ac1dd;}
.color4 {color: #c5e8e8;}
.color5 {color: #f3f3f3;}

==============================================================================================================================================

Estilos Generales

==============================================================================================================================================
*/

body {
  font-family: 'Dosis', sans-serif;
  background-color: #f3f3f3;
}

.title-font {
    font-family: 'Dosis', sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;  /* Usar 300 para light weight */
    font-size: 50px;
}

.Subtile-font {
    font-family: 'Dosis', sans-serif;
    font-optical-sizing: auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
----------------------------------------------------------------------------------------------------------------------------------------------
Estilos de la barra de navegacion y cabecera
--------------------------------------------------------------------------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s, background-color 0.3s, box-shadow 0.3s;
  margin: 0; /* Asegúrate de que no haya margen */
  padding: 10px 80px; /* Mantén tu padding existente */
  background-color: #f3f3f3;
  border-bottom: 1px solid #ddd;
}

.header.scrolled {
    background-color: rgba(243, 243, 243, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* Animación al desplazarse hacia abajo */
.header.slide-down {
    animation: slideDown 0.3s ease forwards;
  }
  
  /* Animación al desplazarse hacia arriba */
.header.slide-up {
    animation: slideUp 0.3s ease forwards;
  }
  
  /* Animación al desplazarse hacia abajo */
@keyframes slideDown {
    from {  
      top: -70px; /* Posición inicial fuera de la vista */
    }
    to {
      top: 0; /* Posición final de la barra de navegación */
    }
  }
  
  /* Animación al desplazarse hacia arriba */
@keyframes slideUp {
    from {
      top: 0; /* Posición inicial de la barra de navegación */
    }
    to {
      top: -100px; /* Posición final fuera de la vista */
    }
  }
  
  
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;  /* Incrementa el padding aquí */
    background-color: #f3f3f3;
    border-bottom: 1px solid #ddd;
  }
  
.logo-title a{
    display: flex;
    align-items: center;
  }
  
.logo {
    max-width: 50px;
    height: auto;
    margin-right: 10px;
  }

.logo-text {
    max-width: 200px;
    height: auto;
    margin-right: 10px;
  }
  
.title {
    font-size: 1.5em;
  }
  
.btn-catalogo {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: larger;
}

/* Estilo para los enlaces dentro de los botones */
.btn-link {
  color: #000000;
  text-decoration: none;
}

.btn-link:hover {
  color: #20699f;
  text-decoration: none; /* Asegura que no se subraye al pasar el ratón */
}
  
.options {
    display: flex;
    align-items: center;
    margin-right: 50px;
  }
  
.icons {
    display: flex;
    align-items: center;
  }
  
.icons a {
    margin-left: 15px;
    transition: color 0.3s;
  }
  
.icons img {
    width: 28px;
    height: 28px;
    filter: invert(0);  /* Default color */
    transition: filter 0.3s;
  }

.menu-icon {
    display: flex;
    align-items: center;
  }
  
  .menu-icon img {
    width: 24px;
    height: 24px;
    filter: invert(0);  /* Default color */
    margin-right: 15px;
    vertical-align: bottom; /* Asegura que el ícono esté alineado con el texto */
}

.icons a:hover img {
    filter: invert(25%) sepia(93%) saturate(3694%) hue-rotate(186deg) brightness(95%) contrast(88%); /* Color #20699f */
    transition: none;
}

  
  

@media (max-width: 768px) {
  .header {
      padding: 10px 20px;
      justify-content: space-between;
      gap: 60px;
    }
  
  .logo-title {
      margin-right: auto;
    }
  
  .options, .icons {
      display: none;
    }
  
  .menu-icon {
      display: block;
    }
  
  .logo-title {
      order: 2; /* Coloca este elemento en segundo lugar */
    }
    
  .menu-icon {
      order: 1; /* Coloca este elemento en primer lugar */
    }

  #sidebarMenu {
      height: 100%;
      position: fixed;
      left: 0;
      width: 250px;
      margin-top: 48px;
      transform: translateX(-250px);
      transition: transform 250ms ease-in-out;
      background-color: #f3f3f3;
      
  }
  .sidebarMenuInner{
      margin:0;
      padding:0;
      border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
  .sidebarMenuInner li {
    list-style: none;
    color: #000000;
    text-transform: uppercase;
    padding: 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    display: flex; /* Para alinear el ícono y el texto */
    align-items: center; /* Alineación vertical centrada */
  }
  .sidebarMenuInner li a{
      font-weight: bold;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Dosis', sans-serif;
      font-weight: 300;
      font-size: 18px;
      color: #20699f;
      margin-bottom: 15px;
  }
  .sidebarMenuInner li a:hover{
      color: #268cb5;
  }
  
  input[type="checkbox"]:checked ~ #sidebarMenu {
      transform: translateX(0);
  }
  
  input[type=checkbox] {
      transition: all 0.3s;
      box-sizing: border-box;
      display: none;
  }
  .sidebarIconToggle {
      transition: all 0.3s;
      box-sizing: border-box;
      cursor: pointer;
      position: absolute;
      z-index: 99;
      height: 100%;
      width: 100%;
      top: 40px;
      left: 15px;
      height: 22px;
      width: 22px;
  }
  .spinner {
      transition: all 0.3s;
      box-sizing: border-box;
      position: absolute;
      height: 3px;
      width: 100%;
      background-color: #000000;
  }
  .horizontal {
      transition: all 0.3s;
      box-sizing: border-box;
      position: relative;
      float: left;
      margin-top: 3px;
  }
  .diagonal.part-1 {
      position: relative;
      transition: all 0.3s;
      box-sizing: border-box;
      float: left;
  }
  .diagonal.part-2 {
      transition: all 0.3s;
      box-sizing: border-box;
      position: relative;
      float: left;
      margin-top: 3px;
  }
  input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
      transition: all 0.3s;
      box-sizing: border-box;
      opacity: 0;
  }
  input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
      transition: all 0.3s;
      box-sizing: border-box;
      transform: rotate(135deg);  
      margin-top: 8px;
  }
  input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
      transition: all 0.3s;
      box-sizing: border-box;
      transform: rotate(-135deg);
      margin-top: -9px;
  }
    /* Añadir reglas para asegurar que los checkboxes dentro de la tabla sean visibles */
    table tbody tr td form input[type="checkbox"] {
      display: block; /* Asegura que los checkboxes sean visibles */
  }
  }
  
  @media (min-width: 769px) {
    .menu-icon {
      display: none;
    }
  }





/*============================================================================================================================================
Estilos para la seccion de rutas
============================================================================================================================================*/
.route {
  background-color: #20699f;
  border: none; 
  padding: 10px 20px; 
  transition: background-color 0.3s ease;
}

.route-text {
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  font-size: 20px; /* Ajusta el tamaño de la fuente */
  color: white;
  text-decoration: none; /* Elimina la línea debajo de los enlaces */

}

.route-text:hover {
  text-decoration: underline; /* Opcional: Añade subrayado al pasar el ratón */
}

.footer-logo{
  margin-bottom: 10px;
}


/*============================================================================================================================================
Estilos para footer

============================================================================================================================================
*/
.footer {
  background-color: #20699f;
  color: #ffffff;
  font-family: 'Dosis', sans-serif;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.footer-section {
  flex: 1;
  margin: 20px;
  min-width: 200px;
}

.footer-title {
  font-size: 25px;
  margin-bottom: 10px;
  font-weight: 300;
}

.footer-section p {
  font-size: 18px;
  font-weight: 200;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 200;
}

.footer-section ul li a:hover {
  color: #f3f3f3;
}

.footer-logo {
  margin-bottom: 10px;
}

.logo-footer {
  max-width: 60px;
  height: auto;
  opacity: 0.90;
}

.logo-footer-text {
  max-width: 150px;
  height: auto;
  opacity: 0.90;
}

.footer-address p {
  font-size: 16px;
  margin-top: 5px;
}

.social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-media-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}

.social-media-ref a {
  gap: 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
}

.social-media-ref a:hover {
  color: #f3f3f3;
}

.media-icons {
  max-width: 40px;
  height: auto;
  margin-right: 10px;
}

hr {
  border: 0;
  border-top: 1px solid #ffffff;
  margin: 40px 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 16px;
  font-weight: 200;
  opacity: 0.7;
}

.contact-link {
  color: #ffffff; /* Matches the footer text color */
  text-decoration: none; /* Removes underline */
  font-size: 18px; /* Matches the font size */
}

.contact-link:hover {
  color: #f3f3f3; /* Change color on hover */
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    margin: 10px 0;
  }
}




/*============================================================================================================================================

Estilos para slider del catalogo

============================================================================================================================================
*/

.nav-dots {
  position: fixed;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.nav-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  list-style: none;
  background: #c9d6de;
  transition: all 0.3s;
}

.nav-dot:not(:last-of-type) {
  margin-bottom: 20px;
}

.nav-dot:hover,
.nav-dot.is-active {
  transform: scale(1.8);
  background: transparent;
}

.section {
  height: 100vh;
}

.section:nth-of-type(1) {
  margin-top: 95px;
  background-color: #f3f3f3;
}


/*============================================================================================================================================
Estilos para paginacion

=========================================================================================================================*/

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a, .pagination span {
  margin: 0 5px;
  padding: 8px 16px;
  text-decoration: none;
  color: #20699f;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover, .pagination a.active {
  background-color: #20699f;
  color: white;
}

.pagination span {
  border: none;
  background: none;
}

/*============================================================================================================================================

Ocultar precios

*/

.product-price  {
  display: none;
}

.price {
  display: none;
}

@media (max-width: 768px) {
  .pagination a {
      display: none;
  }

  .pagination a.active, .pagination a.prev, .pagination a.next {
      display: inline-block;
  }

  .pagination span {
      display: none;
  }
}