/* 🌑 Gallery Section */
.gallery-section {
  color: #e6fdf8;
  text-align: center;
  padding: 80px 20px;
  font-family: 'Open Sans', sans-serif;
}

/* ✨ Title */
.gallery-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  color: #00f5c9;
  text-shadow: 0 0 10px rgba(0, 245, 201, 0.5);
  margin-bottom: 50px;
}

/* 🖼️ Grid Layout (2 columns desktop, 1 mobile) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 📸 Image Cards */
.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(0, 245, 201, 0.3);
  box-shadow: 0 0 15px rgba(0, 245, 201, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease,
    border-color 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 245, 201, 0.6);
  border-color: rgba(0, 245, 201, 0.8);
  filter: brightness(1.1);
}

/* 💡 Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  border: 2px solid #00f5c9;
  box-shadow: 0 0 25px rgba(0, 245, 201, 0.4);
  animation: fadeIn 0.4s ease;
}

/* ✖ Close */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: #00f5c9;
  cursor: pointer;
  background: none;
  border: none;
}

/* ⬅ ➡ Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  font-size: 2.5rem;
  color: #00f5c9;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
}

.lightbox-arrow:hover {
  background: rgba(0, 245, 201, 0.2);
  transform: scale(1.1);
}

.lightbox-arrow.left {
  left: 40px;
}

.lightbox-arrow.right {
  right: 40px;
}

/* ✨ Fade-in animation for Lightbox Image */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lightbox-arrow.left {
    left: 20px;
  }

  .lightbox-arrow.right {
    right: 20px;
  }
}
