/* styles.css */

body {
    margin: 0;
    font-family:Arial, Helvetica, sans-serif, Agency FB;
}
/*Estilo NAVBAR*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.logo img {
    height: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #0088CB;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0088CB;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #F8B133;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.login a {
    text-decoration: none;
    color: #0088CB;
    font-weight: bold;
    border: 2px solid #0088CB;
    padding: 5px 15px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.login a:hover {
    background-color: #0088CB;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        width: 100%;
        padding: 10px 0;
    }
    .nav-links a {
        display: block;
        width: 100%;
    }

}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #007bff;
    margin: 4px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

}
/* FIN ESTILOS NAVBAR*/

/*ESTILOS FOOTER*/

.footer {
    background: linear-gradient(to right, #E2312D, #F8B133);
    padding: 20px;
    color: white;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left, .footer-center, .footer-right {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 10px;

}

.footer-left ul, .footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-right ul li, .footer-left ul li {
    margin: 5px 0;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    display: flex;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.letra_footer_right{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.autortxt{
    font-family: 'Consolas';
    margin-bottom: 0;
    font-size: 17px;
    font-style: italic;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-center, .footer-right {
        margin: 10px 0;
        text-align: center;
    }

    .footer-left ul, .footer-right ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-left ul li, .footer-right ul li {
        margin: 5px 15px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        max-width: 80px;
    }

    .footer-left, .footer-center, .footer-right {
        flex: 1 1 100%;
        margin: 5px 0;
    }
}
/* FIN ESTILO FOOTER*/

/*Estilo Imagen y Texto*/

.hero-section {
    position: relative;
    height: 50vh; /* Tamaño más pequeño */
    background-image: url('./img_pag_pri/Agua.jpg'); /* Coloca aquí la ruta de tu imagen */
    background-size: cover;
    background-position: center;
    display: flex;
    background-color: #000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 12px; /* Añade algo de espacio alrededor */
  }
  
  .hero-text {
 /* Fondo blanco translúcido */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff; /* Azul para el texto principal */
    font-size: 1.2rem; /* Tamaño más pequeño */
    line-height: 1.5;
    max-width: 90%; /* Asegura que no se salga del viewport */
    justify-content: center;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    text-shadow: 3px 3px 3px  #000;
    margin-bottom: 5px;
    text-align: center;
    align-items: center;
  }
  
  .hero-text .highlight {
    color: rgb(79, 16, 194); /* Rojo para las palabras destacadas */
  }

  .hero-text li{
    font-size: 25px;
    text-decoration: none;
    list-style-type: none;
    margin-bottom: 8px;
    margin: 5px;
    text-align: center;
    align-items: center;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .hero-text {
      font-size: 1rem; /* Reduce el tamaño en pantallas pequeñas */
      padding: 10px;
    }
  
    .hero-text h1 {
      font-size: 1.8rem;
    }
  }
/* FIN ESTILO IMAGEN Y TEXTO*/

/*INICIO CARRUSEL*/

.slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.slider {
    display: flex;
    aspect-ratio: 16/9;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 .25rem .5rem #21212126;
    border-radius: .5rem;
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 10px;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.slider-nav a {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.4);
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
    cursor: pointer;
    background-color: rgba(255, 0, 0, 0.8);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    padding: 0.5rem;
    border-radius: 50%;
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

/*FIN CARRUSEL*/

/*INICIO BOTON DESCARGAR*/
/* Contenedor para centrar el botón */
.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh; /* Ocupa toda la altura de la pantalla */
    background-color: #f4f4f9; /* Fondo suave, ajustable según tu diseño */
}

/* Botón de descarga */
/* Contenedor del botón */
.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Espacio entre el carrusel y el botón */
}

/* Botón de descarga */
/* Contenedor del botón */
.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Espacio entre el carrusel y el botón */
}

/* Botón de descarga */
.download-button {
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    padding: 10px 20px; /* Reduce el tamaño del botón */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover y enfoque para el botón */
.download-button:hover,
.download-button:focus {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .download-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
/*FIN BOTON DESCARGAR*/

/*INICIO (CON MAS DE)*/

/* Estilo general */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Sección principal */
  .stats-section {
    text-align: center;
    padding: 15px 15px; /* Más espacio para pantallas grandes */
    background-color: #f9f9f9;
    margin: 0;
    margin-bottom: 0;
    justify-content: center;
    align-items: center;
  }
  
  .stats-section h2 {
    font-size: 1.5rem;
    color: #0088CB;
    font-style: oblique;
margin-bottom: 12px;
    justify-content: center;
    align-items: center;
  }
  
  /* Contenedor de estadísticas */
  .stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Más espacio entre los elementos */
    margin-bottom: 0 ;
    margin: 0;
    font-size: 20px;
  }
  
  /* Elementos individuales */
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px; /* Más ancho en escritorio */
  }
  
  .stat-item img {
    width: 70px; /* Incrementar tamaño de la imagen */
    height: 70px;
  }
  
  .stat-number {
    font-size: 2rem; /* Texto más grande */
    font-weight: bold;
    color: #E2312D;
    margin:8px 0;
  }
  
  .stat-item p:last-child {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
    text-align: center;
  }
  
  /* Responsividad para escritorio */
  @media (min-width: 1024px) {
    .stats-section {
      padding: 60px 40px; /* Más espacio en escritorio */
    }
  
    .stats-container {
      gap: 60px; /* Aumentar el espacio entre elementos */
    }
  
    .stat-item {
      width: 200px; /* Más ancho */
    }
  
    .stat-item img {
      width: 90px; /* Aumentar tamaño de la llama */
      height: 90px;
    }
  
    .stat-number {
      font-size: 2.5rem; /* Más grande para destacar */
    }
  
    .stats-section h2 {
      font-size: 2.5rem; /* Más prominente */
    }
  }
  

/*FIN (CON MAS DE)*/

/*IMAGEN DE SERVICIOS*/

.image-container {
  display: flex;
  justify-content: center;
  margin: 20px;
}

.responsive-image {
  max-width: 70%;
  height: auto;
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.zoom-container img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transition: transform 0.3s ease;
}

/* Botón de cierre */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1100;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background-color: #E2312D;
}

@media (max-width: 768px) {
  .close-button {
    font-size: 20px;
    width: 35px;
    height: 35px;
    top: 8px;
    right: 8px;
  }
  .responsive-image{
    max-width: 110%;
    height: auto;
  }
}
/*FIN DE IMAGEN DE SERVICIOS*/

/*INICIO SLIDER INFINITO DE TESTIMONIOS*/
.testimonial-section {
  text-align: center; /* Centra el contenido */
  margin: 20px auto; /* Espaciado superior e inferior */
}

.testimonial-section h2 {
  font-size: 3rem; /* Tamaño del título */
  color: #0088CB; /* Color del título */
  margin-bottom: 15px; /* Espacio entre el título y la imagen */
}

.testimonial-image {
  width: 400px; /* Ancho fijo de 300px */
  height: auto; /* Altura proporcional */
  max-width: 100%; /* Permite que sea responsiva en pantallas pequeñas */
  border-radius: 8px; /* Bordes redondeados opcionales */
  box-shadow: 20px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra opcional */
  margin: 0 auto; /* Centrado adicional */
  display: block; /* Centrado mediante bloque */
}

.testimonios-text{
  font-family: 'Times New Roman', Times, serif;
  display: flex;
  font-size: 30px;
  margin-bottom: 10px;
  margin-left: 30px;

}

.slider-infinito {
  width: 75vw;
  height: auto;
  margin: auto;
  overflow: hidden;
}

.slider-infinito .slide-track {
  display: flex;
  animation: scroll 180s linear infinite;
  -webkit-animation: scroll 180s linear infinite;
  width: calc(400px * 10);
}

.slider-infinito .slide {
  width: 400px;
}

.slider-infinito .slide img {
  width: 100%;
}

@keyframes scroll {
  0% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
  }
  100% {
      -webkit-transform: translateX(calc(-400px * 5));
      transform: translateX(calc(-400px * 5));
  }
}
/*FIN DE SLIDER INFINITO DE TESTIMONIOS*/

/*INICIO CONTACTO*/
#contact-section {
  background-color: #000;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.contact-item img {
  width: 50px;
  height: 50px;
}

.contact-item p {
  font-size: 1rem;
  margin: 0;
}

.contact-item a {
  color: #F8B133;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #E2312D;
}

.footer-text {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ffffff;
}

@media (max-width: 768px) {
  .contact-container h1 {
    font-size: 2rem;
  }

  .contact-item img {
    width: 40px;
    height: 40px;
  }

  .contact-item p {
    font-size: 0.9rem;
  }
}

/*FIN CONTACTO*/

/*LOGO APROCOF*/
.proyectos-container {
  display: flex;
  align-items: center; /* Centra verticalmente los elementos */
  justify-content: flex-start; /* Alinea todo hacia la izquierda */
  gap: 10px; /* Reduce el espacio entre la galería y el logo */
}

.galeria {
  flex: 2;
}

.info-proyecto {
  flex: 3;
}

.asociado-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0; /* Elimina el margen extra */
}

.logo-asociado {
  max-width: 100px; /* Ajusta el tamaño del logo */
  height: auto;
}

/* Ajuste responsive para móviles */
@media (max-width: 768px) {
  .proyectos-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .asociado-container {
      margin-top: 15px; /* Espaciado solo en móviles */
  }

  .logo-asociado {
      max-width: 90px;
  }
}

/*FIN DE LOGO APROCOF*/