/* === LIGHTBOX === */
.gallery-img {
  height: 180px;
  object-fit: cover; /* Mantiene proporciones sin deformar */
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.gallery-img-b {
  height: 180px;
  object-fit: cover; /* Mantiene proporciones sin deformar */
  width: 100%;
  transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  filter: grayscale(100%); /* decolorized by default */
}

.gallery-img-b:hover {
  filter: grayscale(0%); /* restore color on hover */
  /* transform: scale(1.03); */
  opacity: 0.9;
}

.lightbox {
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.close-lightbox:hover {
  opacity: 0.8;
}
