/* Lightbox styles */
#lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
#lightbox-overlay.active { display: flex; }
.lightbox-backdrop {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: transparent;
}
.lightbox-content {
  position: relative;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  background: #222;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #ffd700; }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30,30,30,0.7);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.lightbox-arrow.left { left: -3rem; }
.lightbox-arrow.right { right: -3rem; }
.lightbox-arrow:hover { background: #ffd700; color: #222; }
@media (max-width: 600px) {
  .lightbox-img { max-width: 98vw; max-height: 60vh; }
  .lightbox-arrow.left { left: -1.5rem; }
  .lightbox-arrow.right { right: -1.5rem; }
  .lightbox-close { top: -2rem; }
}
/* Modern, beautiful, dark gallery styles */
body {
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  background: #222;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
}
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30,30,30,0.7);
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 500;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.fade-gallery {
  position: relative;
  width: 100%;
  min-height: 320px;
  margin-bottom: 2rem;
}
.fade-gallery img {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 320px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s cubic-bezier(.4,0,.2,1);
  border-radius: 18px;
}
.fade-gallery img.active {
  opacity: 1;
  z-index: 2;
}
@media (max-width: 600px) {
  .gallery-grid { gap: 1rem; }
  .gallery-item img, .fade-gallery img { height: 140px; }
  .fade-gallery { min-height: 140px; }
}
