@import url("https://fonts.googleapis.com/css?family=Playfair+Display|Source+Sans+Pro:200,400");


.galeria {
  padding: 3rem;
  background: #fff; /* Fondo blanco limpio y elegante */
  color: #333; /* Texto oscuro para buen contraste */
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra suave */
  margin-top: 60px;
}
.galeria h2 {
  font-size: 2.8rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.contenedor-imagenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.imagen {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.imagen img {
  width: 100%; /* Asegura que las imágenes no se desborden del contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
  max-height: 220px; /* Ajusta este valor según el tamaño deseado */
  object-fit: cover; /* Rellena el contenedor sin deformar la imagen */
}
.imagen:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}



.breweries a {
  background-color: #1D5A52;
  text-decoration: none;
  color: white;
  border-radius: 0.25rem;
  text-align: center;
  display: inline-block;
  transition: all 0.3s;

}

.hero a {
  background-color: goldenrod;
  text-decoration: none;
  color: white;
  border-radius: 0.25rem;
  text-align: center;
  display: inline-block;
  transition: all 0.3s;
    
}

.hero a:hover {
  opacity: 0.6;
}

.breweries a:hover {
  opacity: 0.6;
}


/* Styles for the hero image */
.hero {
  background: url("../img/banner-servicios.jpg") center;
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.uno {
  background: url("../img/desatascos-desemboces.jpg") ;
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.dos {
  background: url("../img/banner-productos.jpg") center ;
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.tres {
  background: url("../img/banner-trabajos.jpg");
  background-size: cover;
  padding: 8rem 2rem;
  /* grid styles */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}


.hero > * {
  color: white;
}

.hero > h1 {
  font-size: 4rem;
  padding-bottom: 1rem;
}


.hero > article > p {
  font-size: 1.5rem;
  font-weight: 200;
}

.hero > article > a {
  padding: 1rem;
  margin-top: 0.75rem;
}

/* breweries styles */
.breweries {
  padding: 2rem;
}

.breweries > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  list-style: none;
}

.breweries > ul > li {
  border: 1px solid #e2e2e2;
  border-radius: 0.5rem;
}

.breweries > ul > li > figure {
  max-height: 220px;
  overflow: hidden;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  position: relative;
}

.breweries > ul > li > figure > img {
  width: 100%;
}

.breweries > ul > li > figure > figcaption {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
  width: 100%;
}

.breweries > ul > li > figure > figcaption > h3 {
  color: white;
  padding: 0.75rem;
  font-size: 1.25rem;
}

.breweries > ul > li > p {
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem 0.75rem;
  color: #666666;
}

.breweries > ul > li > a {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
}





/* sup styles */


#sup {
  text-align: center;
}
#sup h2 {
  text-align: center;
  font-size: 4.6em;
  text-transform: capitalize;
  margin-top: 0;
  line-height: 1;
  color: #ff4136;
  font-weight: 300;
}
#sup h2:after {
  display: none;
}
#sup h3 {
}
#sup p {
  color: #001f3f;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: normal;
  line-height: 21px;
  text-align: center;
  width: 60%;
  display: block;
  margin: 0 auto;
  padding-bottom: 40px;
}
#sup .button-uno {
  border: 0;
  color: #fff;
  height: 50px;
  line-height: 48px;
  font-size: 0.9rem;
  padding: 0 40px;
  background: #8ecf3f;
  display: inline-block;
  margin: 0 auto;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}


#sup .white {
  color: #001f3f;
  font-weight: 700;
}

@media all and (max-width: 550px) {
  #sup button-uno {
    margin-bottom: 20px;
  }
  #sup h2 {
    font-size: 2.2em;
  }
  #sup p {
    font-size: 0.8em;
    line-height: 21px;
    width: 100%;
  }
}
