/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Material+Icons");
@import url("https://fonts.googleapis.com/css2?family=Material+Icons+Outlined");

* {
  margin: 0;
  padding: 0;
  /* font-family: "Poppins", sans-serif; */
  font-family: "Open Sans", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  list-style: none;
  text-decoration: none;
}

*::selection {
  background: var(--main-color);
  color: #fff;
}
:root {
  --main-color: #00E5FF;
  --text-color: #1e1c2a;
  --bg-color: #fff;
  --hover-color: #6dd1dc;
  --form-bg-color:#E7E7E7;
  --form-text-color:rgb(167, 167, 167);

  --big-font: 4rem;
  --h2-font: 1rem;
  --p-font: 0.9rem;

  --btn-bg: var(--main-color);
  --btn-bg-hover: var(--hover-color);

}

h1, h2, h3, h4, h5, h6, p, a, span {
  user-select: none;
}

section {
  padding: 50px 10%;
}
body.active {
  --bg-color: #000000; 
  --text-color: #fff;
  --form-bg-color: #1d2b3a;
  --form-text-color: rgba(255, 255, 255, 0.25);
}
body {
  color: var(--text-color);
  background: var(--bg-color);
 
}
#darkmode {
  font-size: 25px;
  cursor: pointer;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-color);
  padding: 10px 100px;
  box-shadow: 0 0.5rem 50rem rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  /* color: var(--main-color); */
}
.logo img{
  height: 50px;
  /* width: 40px; */
  margin-right: 5px;

}

.navbar {
  display: flex;
}
.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
}
.navbar a:hover {
  color: var(--main-color);
}
#menu-icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}






.icon-button{
  color: var(--text-color);
  font-size:27px;
  background: none;
  border: none;
}

table{
  color: black;
}

.color {
    color: var(--main-color);
  }
  
.titulo {
      font-size: 18px; 
      font-family: Open Sans; 
      font-weight: 700; 
      word-wrap: break-word;
  }

  p {
    font-size: var(--p-font);
    margin: 1rem 0 1rem;
  }

 .animacion img {
    width: 40%;
    /* max-height: 500px; */
    max-width: 450px;
  }


  .btn {
    display: inline-block;
    background: var(--main-color);
    padding: 10px 20px;
    /* border-radius: 0.5rem; */
    border-radius: 50px;
    color: var(--bg-color);
    border: none;
  }
  .btn:hover {
    background: var(--hover-color);
  }






#home {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(imgs/fondo_sitio.jpeg);
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* Ajusta este valor para cambiar la opacidad */
  z-index: -1; /* Envía la capa detrás del contenido */
}

.home-presentacion,
.socios-servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 50px;
  /* border: 1px solid red; */
}

/* Los elementos hijos pueden ajustarse automáticamente */
.home-presentacion > div,
.socios-servicios > div {
  flex: 1 1 300px; /* Cambia "300px" al tamaño mínimo que quieras */
}

.home-presentacion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 100vh; /* Asegura que ocupe la altura de la pantalla */
  padding: 2rem;
  box-sizing: border-box;
}

.home-presentacion .animacion img {
  width: 100%;
  max-width: 600px;
  height: auto; /* Mantiene la proporción */
  flex-shrink: 0; /* Evita que se reduzca demasiado */
  /* border: 1px solid green; */
}

.home-text {
    max-width: 600px;
    min-width: 300px; /* Asegura que no se estreche demasiado */
    flex: 1; /* Permite que el texto crezca para ocupar espacio */
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    color: var(--text-color);
    /* border: 1px solid green; */
  }

.home-socios {
    width: 45%;
    /* border: 1px solid red; */
}

.home-socios .socios{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    /* border: 1px solid white; */
}

.home-socios .socios img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-image: linear-gradient(#d6d6d6, #787575);

}

.home-socios .textos {
    width: 100%;
}

.nuestro-servicio {
    width: 45%;
    display: flex;
    justify-content: center;
    /* border: 1px solid red; */
}

.nuestro-servicio .titulo {
    font-size: 32px;
    margin-bottom: 30px;
}

.nuestro-servicio ul li .item {
    display: flex;
    justify-self: start;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

.nuestro-servicio ul li .item img {
    width: 40px;
}











#about {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(imgs/fondo_about.jpeg);
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* Ajusta este valor para cambiar la opacidad */
  z-index: -1; /* Envía la capa detrás del contenido */
}

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 50px;
  margin-bottom: 50px;
  /* border: 1px solid yellow; */
}

.about-img {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid blue; */
}

.about-img img {
  max-width: 80%;

  /* border: 1px solid yellow; */
}

.about-text {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 100%;
  /* border: 1px solid yellow; */
}

.about-text-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* Expande para ocupar todo el alto */
  max-width: 60%;
  /* border: 1px solid yellow; */
}

/* .about-text-title {
  width: 100%;
  display: flex;
  justify-content: center;
  border: 1px solid yellow;
} */

/* .about-text-title {
  color: var(--main-color);
  margin-bottom: 40px;
  border: 1px solid yellow;
} */

/* .about-text span {
  color: var(--main-color);
  font-weight: 500;
  border: 1px solid yellow;
}

.about-text h2 {
  font-size: var(--h2-font);
} */
/* .about-text p {
  margin: 0.8rem 0 1.8rem;
} */
 
/* .heading {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 50px;
}
.heading span {
  color: var(--main-color);
  font-weight: 500;
}
.heading h2 {
  margin-top: 60px;
  font-size: var(--h2-font);
} */
.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 1.5rem;
  align-items: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, auto));
  gap: 1.5rem;
  margin-top: 2rem;
}
.s-box {
  text-align: center;
}
.s-box img {
  width: 60px;
  border-radius: 10px;
}
.s-box h3 {
  margin: 4px 0 10px;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 1.5rem;
}

.contact-box-links{
  display: none;
}

.contact-box h3 {
  margin-bottom: 1rem;
}
.social {
  display: flex;
  margin-top: 1.5rem;
}
.social i {
  font-size: 20px;
  margin-right: 1rem;
  color: var(--text-color);
}
.social i:hover {
  color: var(--main-color);
}
.contact-box li a {
  color: var(--text-color);
}
.contact-box li a:hover {
  color: var(--main-color);
}
.address {
  display: flex;
  flex-direction: column;
}
.address i {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.address a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-color);
}

.address a:hover {
  color: var(--main-color);
}

a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text-color);
}

.maps {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* margin-top: -50px; */
  /* border: 1px solid white; */
}

.maps iframe {
  width: 90%;
  border-radius: 10px;
}

.heading {
  text-align: center;
}


/* Nuestros Productos */

#productos {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#productos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(imgs/fondo_sitio.jpeg);
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* Ajusta este valor para cambiar la opacidad */
  z-index: -1; /* Envía la capa detrás del contenido */
}

.portfolio-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; /* Centra la última fila */
  margin-top: 2rem;
}

.portfolio-content > .card {
  flex: 1 1 397px; /* Define un ancho mínimo de 280px y permite que se ajuste */
  max-width: 397px; /* Limita el ancho máximo para mantener la proporción */
}


.portfolio-img {
  overflow: hidden;
  border-radius: 0.5rem;
  /* border: 1px solid blue; */
}

.portfolio-img img {
  width: 100%;
  height: 244px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.card span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  font-size: 18px;
}
.portfolio-img img:hover {
  transform: scale(1.1);
  transition: 1s;
}



/* Marcas que Confían en nosotros */

.brands-container {
  display: flex;
  flex-wrap: wrap;          /* Permite que los elementos pasen a la siguiente línea */
  justify-content: center;   /* Centra los elementos en cada fila */
  gap: 1rem;
  margin-top: 2rem;
}
.brands-container img {
  max-width: 60px;       /* Define el ancho máximo */
  height: auto;           /* Deja que la altura se ajuste automáticamente */
  object-fit: contain;    /* Asegura que la imagen mantenga su proporción */
  /* filter: grayscale(1); */
  border-radius: 15px;
  transition: 1s;
}
.brands-container img:hover {
  transform: scale(1.1);
  transition: 1s;
  /* width: 100px;
  filter: grayscale(0); */
}


/* Contacto */



.connect {
  display: flex;
  gap: 1rem;
  align-items: stretch; /* Hace que ambos hijos tengan la misma altura */
  justify-content: space-between;
}

.contact-info,
.connect-text {
  flex: 1; /* Les da el mismo ancho a ambos cuadros */
  padding: 1rem;
  /* border: 1px solid #ccc; */
  box-sizing: border-box;
}

.contact-info {
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  /* flex: 1 1 20rem; */
  /* border: 1px solid #ccc; */
}

.adress {
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
  justify-content: center;
  align-items: start;

  /* border: 1px solid blue; */
}

.adress i {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 20px;
}

.adress span {
  font-size: 1rem;
  margin-left: 1rem;
}









/* COPYRIGHT */

.copyright {
  padding: 20px;
  text-align: center;
}
@media (max-width: 921px) {
  header {
    padding: 14px 41px;
  }
  :root {
    --big-font: 3rem;
    --h2-font: 1.7rem;
  }
}
@media (max-width: 1200px) {
  section {
    padding: 50px 8%;
  }
  #menu-icon {
    display: initial;
    color: var(--text-color);
  }
  header .navbar {
    position: absolute;
    top: -600px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--bg-color);
    box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
    transition: 0.9s;
  }
  .navbar.active {
    top: 100%;
  }
  .navbar a {
    padding: 1.5rem;
    display: block;
    background: var(--bg-color);
  }
  #darkmode {
    position: absolute;
    top: 1.4rem;
    right: 2rem;
  }
}
@media (max-width: 800px) {
  section {
    padding: 100px 15px;
  }
  header {
    padding: 10px 16px;
  }
  .home {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    order: 2;
  }

}
@media (max-width: 515px) {
  .connect {
    flex-direction: column;
  }
  .connect .btn {
    margin-top: 1rem;
  }
}
@media (max-width: 450px) {
  :root {
    --big-font: 2rem;
    --h2-font: 1.4rem;
  }
  .home-text {
    padding-top: 4rem;
  }
}



