/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Questrial', sans-serif;
}

body {
  background-color: #203145;
  background-image: url("PATRON.png");
  color: #fff;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #203145;
  padding: 20px 50px;
}

.logo {
  height: 1.5rem;
}

.back-arrow,
.contact-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

/* Galería en columna */
.gallery {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.gallery-column {
  display: flex;
  flex-direction: column;
  width: 92%;
  gap: 2rem;
}

/* Imagen */
.image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
    overflow: hidden;
  cursor: grab;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s ease;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}

.image-container.zoom img {
  transform: scale(var(--zoom, 1));
}

/* Texto */
.text-content {
  max-width: 75%;
  padding: 0 1rem;
margin: 0 auto;
}

.text-content h1 {
  text-align: left;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 1rem;
}

.text-content p {
    
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

/* Redes sociales */
footer {
  text-align: center;
  padding: 2rem 0;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: #305669;
  font-size: 30px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
  color: #305669;
}
/*Responsive */

@media (max-width: 1350px) {
    
  .social-links {
        width: 100%;
        justify-content: center;
    }
      .social-links a {
        font-size: 24px;
    }
  }
@media (max-width: 1350px) {
  .header {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .contenedor-scroll {
    max-height: 180px;
    overflow-y: auto;
    padding: 0 2%;
    scrollbar-width: thin;
    scrollbar-color: rgba(252, 75, 75, 0.568) transparent;
  }

  .contenedor-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .contenedor-scroll::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 4px;
  }

  .contenedor-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .gallery-row,
  .gallery-row.reverse {
    grid-template-columns: 1fr;
  }

  .gallery-row.four-columns {
    flex-direction: column;
  }

  .gallery-row.four-columns > div {
    flex: 1 1 100%;
  }

  .info-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }

  .text-overlay {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .text-content {
    max-width: 88%;
  }

  .text-content h1 {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .text-content p {
    font-size: clamp(0.8rem, 3vw, 1.1rem);
  }
  
  @media (max-width: 1350px) {
  .gallery-row.three-columns-center-image {
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }
}

}