/* Gallery banner */
.gallery-banner {
  background: linear-gradient(135deg, rgba(15,61,145,0.9), rgba(15,61,145,0.8)), url('/assets/banners/gallery-banner.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  text-align: center;
}
.gallery-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.gallery-banner p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Gallery filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.gallery-filters .filter-btn {
  background: var(--light-gray);
  border: none;
  padding: 10px 24px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.gallery-filters .filter-btn.active {
  background: var(--deep-blue);
  color: white;
}
.gallery-filters .filter-btn:hover:not(.active) {
  background: var(--bright-orange);
  color: white;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 1 / 0.9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 16px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h3 {
  font-size: 1rem;
  margin: 0;
}
.gallery-overlay p {
  font-size: 0.8rem;
  margin: 4px 0 0;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
#lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 16px;
  font-size: 1.1rem;
}

/* CTA section */
.cta-section {
  text-align: center;
  background: var(--deep-blue);
  color: white;
  border-radius: 48px;
  margin-bottom: 60px;
}
.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}
.cta-section .btn-primary {
  background: var(--bright-orange);
  color: white;
}
.cta-section .btn-primary:hover {
  background: #e06e00;
}

@media (max-width: 768px) {
  .gallery-banner h1 { font-size: 1.8rem; }
  .gallery-grid { gap: 16px; }
}