/* Gallery Grid Layout */
.gallery-container {
  line-height: 0;
  column-count: 3;
  column-gap: 10px;
}

.gallery-item {
  margin-bottom: 10px;
  break-inside: avoid;
}

.gallery-item img {
  width: 100% !important;
  height: auto !important;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.area .content{
	max-width: 1200px;
}

/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .gallery-container {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .gallery-container {
    column-count: 1;
  }
}


.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 20px 10px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s;
  user-select: none;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.nav-btn span {
  font-size: 50px;
}

/* Hide buttons on very small screens to prevent overlap if preferred */
@media (max-width: 450px) {
  .nav-btn span { font-size: 30px; }
}