.filter-bar {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: #eee;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0b3c5d;
  color: white;
}

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

.gallery-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-10px);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.caption {
  padding: 15px;
  background: #f9f9f9;
}

.caption h6 {
  margin: 0;
  font-weight: 700;
  color: #0b3c5d;
}

.caption p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #555;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

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

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

@media(max-width: 768px) {
  .gallery-card img {
    height: 180px;
  }
}
