/* ===========================================
   PHOTOS PAGE STYLES
   =========================================== */

/* Photo Gallery Grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 0 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1200px;
  margin: 0 auto 10px;
}

.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  height: 200px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.photo-gallery img:hover {
  transform: scale(1.03);
  transform: scale(1.07);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  top: 20px;
  right: 30px;
  font-size: 36px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 0 20px;
}

.lightbox-nav.left {
  left: 20px;
  left: 10px;
}

.lightbox-nav.right {
  right: 20px;
  right: 10px;
}

/* Blur Effects */
#main-content.blur {
  filter: blur(6px);
  transition: filter 0.3s ease-in-out;
}

#blur-wrapper.blur {
  filter: blur(6px);
  transition: filter 0.3s ease-in-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .lightbox-img {
    max-width: 95%;
    max-height: 70%;
  }
}
