.gallery-section {
  background-color: #fff;
  padding: 60px 20px;
}

.gallery-section h3 {
  font-size: 2rem;
  color: #8B0000;
  font-weight: 700;
}

.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: opacity 0.3s ease;
}

.close {
  color: #fff;
  font-size: 36px;
  position: absolute;
  top: 20px;
  right: 40px;
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  color: white;
  font-size: 36px;
  font-weight: bold;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover,
.next:hover,
.close:hover {
  color: #ccc;
}
