@import url('https://fonts.googleapis.com/css2?family=Bacasime+Antique&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

/*--------------------- Navbar-----------------------------*/

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: #ffffff;
  /* Color de fondo general */
  color: rkred;
  /* Color del texto */
  line-height: 1.6;
  padding-right: 0 !important;
}

header {
  top: 0;
  z-index: 10;
  /*background-color: rgba(241, 237, 231, 0.992); /* Color de fondo de la cabecera */
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
  padding: 10px 0;
}

/*-------NAVBAR----------*/

.logo_link{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.navbar-nav .nav-link {
  color: #ffffff;
  transition: color 0.3s;
  font-weight: 600;
}

.navbar-nav .nav-link:hover {
  color: #ff2832;
  /* Color del texto del menú al pasar el ratón */
}

.navbar-toggler {
  background-color: rgb(0, 0, 0) !important;
}

#icon{
  color: white;
  font-size: 2.2rem;
}


/*------------------------------------------------*/
/*-------EFECTO AL PASAR A LA OTRA PAGINA --------*/
/*------------------------------------------------*/
.ripple-wrap {
  display: none;
  overflow: hidden;
  position: fixed;
  font-size: 0;
  z-index: 1000000000000;
  top: 0; left: 0; right: 0; bottom: 0;
}
@keyframes RIPPLER {
  0%   { border-width: 0; }
  40% { 
    height: 0;
    width: 0;
    border-width: 1500px;
    margin-top: -1500px;
    margin-left:-1500px; 
    border-color: #ca0b0b;
  }
  41% { 
    height: 0;
    width: 0;
    border-width: 1500px;
    margin-top: -1500px;
    margin-left:-1500px; 
    border-color: #ac0505;
  }
  100% {
    border-width: 1500px;
    height: 2000px;
    width: 2000px;
    margin-top: -2500px;
    margin-left:-2500px;
    border-color: #8a0808;
  }
}
@keyframes RIPPLER {
  0%   { border-width: 0; }
  40% { 
    height: 0;
    width: 0;
    border-width: 1500px;
    margin-top: -1500px;
    margin-left:-1500px; 
    border-color: #ca0b0b;
  }
  41% { 
    height: 0;
    width: 0;
    border-width: 1500px;
    margin-top: -1500px;
    margin-left:-1500px; 
    border-color: #ac0505;
  }
  100% {
    border-width: 1500px;
    height: 2000px;
    width: 2000px;
    margin-top: -2500px;
    margin-left:-2500px;
    border-color: #8a0808;
  }
}
.ripple {
  display: block;
  height: 0;
  width: 0;
  border-width: 0px;
  border-style: solid;
  border-color: #8a0808;
  border-radius: 100%;
  position: absolute;
  top: 300px;
  left: 300px;
  -webkit-animation: none;
  animation: none;
}
.ripple-wrap.goripple {
  display: block;
}
.ripple-wrap.goripple .ripple {
 -webkit-animation-name: RIPPLER;
 -webkit-animation-duration: 1.5s;
 -webkit-animation-fill-mode: forwards;
 animation-name: RIPPLER;
 animation-duration: 1.5s;
 animation-fill-mode: forwards;
}
/*----------------------Navbar-------------------------------*/

#productos {
  padding-top: 0;
}

.productosheader {
  text-align: center;
  position: relative;
  background-image: linear-gradient(1deg, #000000 20%, transparent 100%), url('../img/imgSeccion/Sector MINERÍA - FONDO.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center r;
  /* Efecto parallax */
  width: 100%;
  height: 50vh;
  overflow: hidden;
  animation: fadeIn 1s ease forwards;
  background-position: bottom;
}


.titleproductos {
  position: absolute;
  bottom: 10%;

}

/*
.capa{
  width: 98.70vw;
  height: 100vh;
  position: absolute;
}*/

.productosheader h1 {
  color: #ffc107;
  font-size: 3.5rem;
  font-family: "Oswald", sans-serif;
  margin-bottom: 2rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.productosheader p {
  font-size: 1rem;
  font-family: 'Open-Sans', sans-serif !important;
  color: rgb(255, 255, 255);
  padding: 0 12rem;
}

.containerproductos {
  padding: 0 3rem 3rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
  margin: auto;

}

.filterItems {
  overflow: hidden;
  /* Esto asegura que el zoom no se desborde */
  background-color: #d6212100;
  border-radius: 5px;
  display: none;
  overflow: hidden;
  height: 350px;
  text-align: center;
}

/*
.filterItems > img{
	width: 100%;
    max-width: 100%;
}*/

.show {
  display: block;
  animation: 350ms showing linear;
}

#sort-options {
  /* margin-top: 15px; */
  text-align: center;
  display: flex;
  flex-direction: row;
  /*grid-template-rows: repeat(3, auto); */
  /* Crea 3 filas automáticas */
  gap: 1rem;
  align-items: center;
  justify-items: center;

  width: 100%;
  padding: 0 3rem 0 3rem;
  margin: 2rem auto;
}

#sort-options .btn {
  text-align: center;
}

/*
.cont{
    display: grid;
    grid-template-columns: 30% 70%;  
    gap: 10px;
    padding: 5rem 2rem 2rem 2rem;
    text-align: center;
    background-color: #ffffff; 

}*/

.bt {
  align-items: center;
  gap: 1rem;
  border: none;
  background-color: #2c2c2c;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: "Open-Sans", sans-serif;
  border-radius: 5px;
  transition: 350ms;
  height: auto;
  width: 100%;
  /*letter-spacing: 0.5px;*/
  border: 1px solid #1a1a1a;
  padding: 10px;
}


.bt h5{
  margin-bottom: 0 !important;
  font-size: .95rem;
}

.bt:hover {
  background-color: #c10000;
  border: 1px solid #5a5a5a;
  color: white;
}

.bt:focus {
  outline: none;
  background-color: #5c5c5c;
  color: rgb(255, 255, 255);
  /*font-weight:bold;*/

}

.bt:active {
  background-color: #5c5c5c;
  color: rgb(0, 0, 0);
}

@keyframes showing {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.filterItems .contactbutton {
  padding: 2px 15px;
  font-size: .9rem;
  color: hsl(0, 0%, 0%);
  border: 1px solid #727272;
  border-radius: 10px;
  background-color: #e7e7e7a8;
  font-family: 'Open-Sans', sans-serif;
  text-decoration: none;
  transition: background-color .4s ease;
}

.contactbutton:hover {
  border: 1px solid #383838;
  color: #ffffff;
  background-color: #454545;
}

.more-details-btn{
  padding: 2px 15px;
  font-size: .9rem;
  color: #000000;
  border: 1px solid #727272;
  border-radius: 10px;
  background-color: #e7e7e7a8;
  font-family: 'Open-Sans', sans-serif;
  text-decoration: none;
  line-height: normal;
  transition: background-color .4s ease;
}

.more-details-btn:hover{
  border: 1px solid #383838;
  color: #ffffff;
  background-color: #454545;
}

.info{
  display: flex;
  justify-content: center;
  gap: 20px;
}


.filterItems {
  border: 0.5px solid #b7b7b7;
  border-radius: 0;
  overflow: hidden;
  height: auto;
  padding: 15px;
  border-radius:10px;

}

.filterItems:hover {
  border: 0.5px solid #00000069;
}

.filterItems img:hover {
  transform: scale(1.2);
  /* Hace un zoom del 20% */
}

.filterItems img {
  width: 270px;
  height: 270px;
  max-width: 75%;
  transition: transform 0.4s ease;
  margin-bottom: 1rem;
  margin-top: 1rem;
  object-fit: cover;
  /* Suaviza la transición del zoom */

}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-family: "Oswald", sans-serif !important;
  color: #000000;

}

.card-text {
  font-size: 15px;
  color: #555;
  font-family: 'Open-Sans', sans-serif !important;
}

/*.filterItems:hover {
    transform: translateY(-10px);
}*/


/* ------------------------- MEDIA -----------------------*/
@media (min-width: 1200px) {

  #sort-options,
  .containerproductos {
    max-width: 1140px;
  }

}

@media (max-width: 992px) {

  .containerproductos,
  #sort-options {
    grid-template-columns: repeat(2, 1fr);
    max-width: 960px;
  }

  .titleproductos{
    bottom: 15%;
  }

  .productosheader {
    height: 80vh;
  }


  /*--------------muestra----------*/
  .bt {
    font-size: 0.85rem;
    width: 100%;
  }

  .contactbutton:hover {
    border: 1px solid #d60000;
    color: #d60000;
  }


  .filterItems:hover {
    border: 0.5px solid #c50000;
  }

  .filterItems img:hover {
    transform: scale(1.5);
    /* Hace un zoom del 20% */
  }

  .filterItems img {
    width: 270px;
    height: 270px;
    max-width: 75%;
    transition: transform 0.4s ease;
    /* Suaviza la transición del zoom */

  }

  .card-body {
    padding: 16px;
  }

  .card-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    color: #c02229;
    font-weight: 540;
  }

  .card-text {
    font-size: 14px;
    color: #555;
  }
}

@media (max-width: 768px) {

  .containerproductos {
    grid-template-columns: 1fr;
    max-width: 720px;
    /*padding: 10rem 3rem 3rem 3rem;*/
    width: 70%;
  }

  #sort-options {
    flex-direction: column;
    width: 70%;
    max-width: 720px;
    padding: 2rem 0;
  }

  .productosheader {
    height: 70vh;
  }

  .productosheader h1 {
    font-size: 3rem;
  }

  .productosheader p{
    padding: 0 5rem;
  }

  .redes{
    visibility: hidden;
  }


  /*--------------muestra----------*/
  .bt {
    font-size: 1rem;
    width: 65%;
  }

  .contactbutton:hover {
    border: 1px solid #d60000;
    color: #d60000;
  }


  .filterItems:hover {
    border: 0.5px solid #c50000;
  }

  .filterItems img:hover {
    transform: scale(1.5);
    /* Hace un zoom del 20% */
  }

  .filterItems img {
    width: 270px;
    height: 270px;
    max-width: 75%;
    transition: transform 0.4s ease;
    /* Suaviza la transición del zoom */

  }

  .card-body {
    padding: 16px;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    color: #c02229;
    font-weight: 540;
  }

  .card-text {
    font-size: 14px;
    color: #555;
  }
}

@media (max-width: 576px) {

  .containerproductos {
    grid-template-columns: 1fr;
    max-width: 540px;
    /*padding: 10rem 1.5rem 1.5rem 1.5rem;*/
    width: 100%;
  }

  #sort-options {
    flex-direction: column;
    width: 60%;
    max-width: 540px;
    padding: 2rem 0;
  }

  .titleproductos{
    bottom: 10%;
    padding: 0 1rem;
  }

  .productosheader {
    height: 60vh;
  }

  .productosheader h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .productosheader p {
    font-size: 0.8rem;
    padding: 0 1.2rem;
  }

  /*--------------muestra----------*/
  .bt {
    font-size: 1rem;
    width: 95%;
  }


  .contactbutton:hover {
    border: 1px solid #d60000;
    color: #d60000;
  }


  .filterItems:hover {
    border: 0.5px solid #c50000;
  }

  .filterItems img:hover {
    transform: scale(1.5);
    /* Hace un zoom del 20% */
  }

  .filterItems img {
    width: 270px;
    height: 270px;
    max-width: 75%;
    transition: transform 0.4s ease;
    /* Suaviza la transición del zoom */

  }

  .card-body {
    padding: 16px;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    color: #8a0707;
    font-weight: 540;
  }

  .card-text {
    font-size: 14px;
    color: #555;
  }
}

@media (max-width: 480px){
  .info{
    flex-direction:column;
    margin-bottom: 1rem;
  }
}


.split{
  display: flex;
  justify-content: space-between;
}

.img-magnifier-container {
  position:relative;
  cursor: none;
  overflow: hidden;
}

.img-magnifier-glass {
  position: absolute;
  border: 1px solid #000;
  /*border-radius: 50%;*/
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 150px;
  height: 150px;
}

.imagezoom{
  width: 100%;
  height: 100%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 1150px;
  height: 500px;
  overflow-y: auto !important;
}

.modal-content h2 {
  text-align: center;
  font-family: 'Oswald', sans-serif;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-backdrop {
display: none !important;
}

.modal-open {
  overflow: visible !important; /* Anula el `overflow: hidden` */
  padding:  0 0 0 0 !important;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media(max-width:1024px){
  .modal-content{
    top: 20%;
    height: 700px;
  }
}


@media(max-width:768px){
  .split{
    flex-direction: column;
  }

  .split .img-magnifier-container{
    width: 100% !important;
  }

  .split .tablecontent{
    width: 100% !important;
  }

  .modal-content{
    top: 10%;
    height: 600px;
  }
}

/*-------------------------MODAL - TABLE-----------------------*/

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th, td {
  padding: 10px;
  width: 90px;
  border: 1px solid #ddd;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}



/*-------------------------------------------------------------------*/

/*----------------- FOOTER ------------------*/
  
footer {
  /*background: url(../img/imgSeccion/red\ gradient\ 1.png);*/
  background: #000000 !important;
  color: #dcdcdc !important;
  padding: 2rem 0;
  /* border-top: 1px solid #ffc107; */
}

.footer-top {
  text-align: center;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact a{
  font-size: 14px;
  color: #dcdcdc !important;
}

.footer-colored-line {
  background: linear-gradient(45deg, #a31321, #ab8d8d);
  width: 25%;
  height: 0.125rem;
  border-radius: 1.25rem;
  margin: 0.5rem auto;
}

.footer-line {
  width: 25px;
  background: linear-gradient(329deg, #ff81008a, #ffc107);
  border-radius: 0;
  height: 2px;
  margin: 15px auto;
}

.text-white{
  color: #ffffff;
}

footer ul{
  padding: 0;
  list-style-type: none;
}

@media (max-width: 1025px) {
  .fastlinks{
    gap: 0 !important;
  }
}
@media (max-width: 992px) {
.footer-contact{
    width:32% !important;
}
}

@media (max-width: 884px){
.fastlinks{
  margin-left: 4rem !important;
  margin-right: 4rem!important;
}
}  

@media (max-width: 820px) {
.fastlinks .link {
  margin-bottom: 2rem;
  padding: 0 2rem 0 0;
}
}

@media (max-width: 768px) {
.fastlinks{
  justify-content: center !important;
  margin: 0 3rem !important;
}

.footer-contact {
  margin-bottom: 1rem;
  width:100% !important;
}
}

@media (max-width: 724px) {
.fastlinks {
  column-gap: 1rem;
}
.fastlinks .link{
  width: 23%;
}
}

@media (max-width: 696px) {
.fastlinks .link {
  width: 40%;
  text-align: center;
}
}

@media (max-width: 590px) {
.fastlinks {
  column-gap: 0;
}
.fastlinks .link{
  width: 45%;
}
}

@media (max-width: 450px) {

.fastlinks {
  margin-left: 2rem !important;
  margin-right: 1rem !important;
}


.fastlinks .link {
  margin-bottom: 2rem;
  padding: 0 2rem 0 0;
  text-align: left;
}
}


/*-------------------Efecto para icono de redes sociales--------------------*/



.redes a:hover {
  transform: scale(1.1); /* Efecto de aumento al pasar el mouse */
  color: #0077b5; /* Cambia el color al pasar el mouse (por ejemplo, azul para LinkedIn) */
}

/* Colores personalizados para cada red social */
.redes a.facebook:hover {
  color: #3b5998; /* Azul de Facebook */
}

.redes a.linkedin:hover {
  color: #0077b5; /* Azul de LinkedIn */
}

.redes a.instagram:hover {
  color: #e4405f; /* Rosa de Instagram */
}

.redes a.whatsapp:hover {
  color: #25D366; /* Verde de WhatsApp */


}

.redes a.tiktok:hover{
  color: #ffffff;
}

.redes a.youtube:hover{
  color: #b80000;
}

.redes {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 10%;
    left: 20px;
    /*background-color: rgb(255 255 255 / 49%);*/
    padding: 10px;
    border-radius: 50px;
    z-index: 100;
}

.redes a {
    margin: 5px 0; /* Espaciado entre los íconos */
    text-decoration: none; /* Eliminar subrayado */
    color: #ffffff; /* Color inicial */
    transition: transform 0.3s ease, color 0.3s ease; /* Efectos de transición */
    font-size: 25px; /* Tamaño del ícono, ajustado para encajar mejor en el lado derecho */
}

.redes a:hover {
    transform: scale(1.1); /* Efecto de aumento al pasar el mouse */
}


/*---------REDES FOOTER-----------*/
.redes-footer {
  display: flex;
  flex-direction: row; 
  position: relative; /* Fija la posición */
  justify-content: center;
  background-color: rgba(255, 255, 255, 0);
  padding: 10px; /* Espaciado interno */
  border-radius: 5px; /* Bordes redondeados (opcional) */
  /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Sombra (opcional) */
  z-index: 100;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.redes-footer a {
  margin: 5px 0; /* Espaciado entre los íconos */
  text-decoration: none; /* Eliminar subrayado */
  color: #ffc200; /* Color inicial */
  transition: transform 0.3s ease, color 0.3s ease; /* Efectos de transición */
  font-size: 25px; /* Tamaño del ícono, ajustado para encajar mejor en el lado derecho */
}

.redes-footer a:hover {
  transform: scale(1.1); /* Efecto de aumento al pasar el mouse */
}

.redes a:hover {
transform: scale(1.1); /* Efecto de aumento al pasar el mouse */
color: #0077b5; /* Cambia el color al pasar el mouse (por ejemplo, azul para LinkedIn) */
}

/* Colores personalizados para cada red social */
.redes-footer a.facebook:hover {
color: #3b5998; /* Azul de Facebook */
}

.redes-footer a.linkedin:hover {
color: #0077b5; /* Azul de LinkedIn */
}

.redes-footer a.instagram:hover {
color: #e4405f; /* Rosa de Instagram */
}

.redes-footer a.whatsapp:hover {
color: #25D366; /* Verde de WhatsApp */
}

.redes-footer a.tiktok:hover{
color: #ffffff;
}

.redes-footer a.youtube:hover{
color: #b80000;
}


/* ---------------- LINKS RÁPIDOS --------------- */
.fastlinks{
  display: flex;
  flex-wrap: wrap;
  margin-right: 6rem;
  margin-left: 6rem;
  margin-bottom: 2rem;
  justify-content: center;
  gap: 4rem;

}

.link{
  padding: 0 3rem 0 0;
  text-align: left;
}

.link a{ 
  color: #dcdcdc !important;
  text-decoration: none;
  font-family: "Instrument Sans", sans-serif;
}

.link li a{
  font-size:14px;
  font-weight:100;
}

.link a:hover {
  color: #FFC107 !important;
}

.link ul li{
  list-style-type: none;
}



/*--------------------- Catálogo de Productos ---------------------*/

.card-sector {
  position: relative;
  backdrop-filter: blur(5px);
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0.5px solid #b7b7b7;
}

.glare-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.glare {
  position: absolute;
  left: 100%;
  bottom: -50%;
  width: 150%;
  height: 150%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 20%
  );
  transform: rotateZ(35deg);
  pointer-events: none;
  filter: blur(4px);
}

.card-0{
  background-image: url(../img/imgProductos/catalog.png);
  background-position: center left 5%;
  background-size: cover;
}

.catalog-link{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cardsec-info{
  position: absolute;
  bottom: 5%;
  left: 20px;
}

.card-sector::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 45%;
  background: linear-gradient(199deg, #ffffff0d 30%, #000000eb 80%);
  bottom: 0;
  left: 0;
  border-radius:0 0 10px 10px;
  z-index: -1;
}

.card-titulo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-align: left;
  left: 30px;
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 1rem;
  width: 100%;
  color: #ffffff;
  text-shadow: 0 5px 8px rgba(0,0,0,.65);
  z-index: 2;
}

/*------------Navbar dropdown----------*/

.drop-menu-nav{
  background: #000000d7 !important;
  border-radius: 5px !important;
  transform: translate(0, 12px) !important;
  backdrop-filter: blur(7px) !important;
}

.drop-hover{
  color: white !important;
}

.drop-hover:hover{
  color: #ffc107 !important;
  background: #1c1c1cb0 !important;
}

@media (max-width:991px){
  .drop-menu-nav{
    transform: none !important;
  }

  li .drop-hover{
    background: #303030 !important;
  }
  
}