@font-face {
  font-family: "NexoFont";
  src: url("../fonts/sackers-gothic-std.otf");
}

@font-face {
  font-family: "Glacial";
  src: url("../fonts/GlacialIndifference-Regular.otf");
}

@font-face {
  font-family: "NotoSerif";
  src: url("../fonts/NotoSerif-Regular.ttf");
}

.proyectos-interior {
  padding-top: 95px;
  background-color: #80b5a5;
}

/* Estilos para el hero banner con texto integrado */
.hero-banner {
  position: relative;
  background-image: url("../img/proyectos/interior/text-nexoorientacion-interior.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 160px 0;
  text-align: center;
  color: white; /* Color del texto */
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Overlay oscuro para mejor legibilidad */
}

.hero-content-img {
  position: absolute;
  top: 50%;
  left: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: "NexoFont", sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-family: "Glacial", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
}

.proyectos-galeria > h3::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background-color: #6a9487; /* verde suave, puedes ajustar el color si necesitas otro tono */
  margin: 10px auto 0 auto;
  border-radius: 2px;
}



.proyectos-subtitulos{
    font-family: 'NotoSerif', serif;
    margin: 20px 0 3% 0;
}

.subproyectos {
  background-color: white;
  padding: 30px;
}

.parent {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.parent-arrow_down{
  width: 100px;
  margin: 50px auto;
  align-self: center;
}
  

.div-generico-grid{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px 0;
}

.div-generico-grid>p{
  font-family: 'Glacial', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
}


.div-generico-grid>h3{
  font-family: 'NexoFont', sans-serif;
  font-size: 2rem;
  margin: 20px 0 20px 0;
  text-align: center;
}
  


/* .azunexo { 
  height: 200px;
}
.alonexo {
}
.alonexo2 { 
  height: 300px;
} */


.proyectos-notasdeprensa {
  background-color: white;
  padding: 30px;
  font-family: 'NotoSerif', serif;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* Se adapta automáticamente */
  gap: 15px;
  padding: 20px;
  max-width: 100vw;
  box-sizing: border-box;
}



.gallery-masonry a {
  width: 100%;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-masonry img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta para llenar completamente el espacio */
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-masonry img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1200px) {
  .gallery-masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
  }

  .proyectos-galeria>h3{
    font-size: 1.6rem;
    margin: 30px 0 30px 0;
  }
  .div-generico-grid>h3{
    font-size: 1.6rem;
    margin: 30px 0 30px 0;
}


  .proyectos-subtitulos{
    font-family: 'NotoSerif', serif;
    text-align: center;
    
}
}

@media (max-width: 480px) {
  .gallery-masonry {
    column-count: 1;
  }
}

@media (max-width: 510px) {
.gallery-masonry {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Se adapta automáticamente */

}
}
