/* === GALLERY PAGE === */
.gallery-section {
  padding: 80px 0;
  background: #f9fafb;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-header .section-badge {
  display: inline-block;
  background: #10b981;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.gallery-header .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* === LIGHTBOX === */
.lightbox {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover {
  color: #f97316;
}

.lightbox-caption {
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
}