body {
  background: #000814;
  color: #fff;
}

.gallery-section {
  padding-top: 130px; /* account for fixed header */
  text-align: center;
  color: #fff;
}

.gallery-section h1 {
  font-size: 2.8em;
  color: #00b4d8;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.subtitle {
  color: #90e0ef;
  font-size: 1.1em;
  margin-bottom: 40px;
}

.gallery {
  column-count: 3;
  column-gap: 15px;
  padding: 0 20px 60px;
}

@media (max-width: 1000px) {
  .gallery { column-count: 2; }
}

@media (max-width: 600px) {
  .gallery { column-count: 1; }
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00b4d877;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 10, 20, 0.95);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 25px #00b4d899;
}

.lightbox.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.close, .prev, .next {
  position: absolute;
  color: white;
  font-size: 2.5em;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.close:hover, .prev:hover, .next:hover {
  color: #00b4d8;
}

.close { top: 30px; right: 40px; }
.prev, .next {
  top: 50%;
  transform: translateY(-50%);
}
.prev { left: 40px; }
.next { right: 40px; }
.gallery img,
.gallery video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  display: block;
}

/* Fix for video rendering */
.gallery video {
  background-color: #000; /* avoids weird empty space */
}

