
.photos-page {
  background: #f3eee5;
  padding: 60px 6%;
  min-height: 70vh;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-item {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e9e2d5;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.96);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.show {
    display: flex;
}

.lightbox img,
.lightbox video {
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox img {
    display: none;
}

.lightbox video {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 10001;
}

.photo-item img,
.photo-item video {
    cursor: pointer;
}
@media (max-width: 768px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .photos-page {
    padding: 35px 4%;
  }
}

@media (max-width: 450px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
