/* ===== GALERI PAGE ===== */

.galeri-hero{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid rgba(15,47,74,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  background: url("/assets/img/gedung-aak.jpg") center/cover no-repeat;
  margin-bottom: 16px;
}
.galeri-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65));
}
.galeri-hero__inner{
  position:relative;
  padding: 18px 16px;
}
.galeri-hero__inner h2{
  margin:0 0 6px;
  color:#154360;
  font-weight: 1000;
}
.galeri-hero__inner p{
  margin:0;
  color: rgba(15,47,74,.82);
  font-weight: 800;
  font-size: 13px;
}

/* Filter */
.galeri-filter{
  display:flex;
  align-items:center;
  gap:8px;
}
.galeri-filter select{
  border-radius: 12px;
  border: 1px solid rgba(15,47,74,.18);
  padding: 8px 10px;
  font-weight: 900;
  color: #154360;
  background: rgba(255,255,255,.65);
}

/* Grid Galeri */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.gallery-item{
  margin:0;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,47,74,.14);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.gallery-item img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}

.gallery-item figcaption{
  padding: 10px 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.cap-title{
  font-size: 12px;
  font-weight: 1000;
  color:#154360;
}
.cap-cat{
  font-size: 11px;
  font-weight: 1000;
  color: rgba(15,47,74,.70);
  background: rgba(21,67,96,.10);
  border: 1px solid rgba(21,67,96,.16);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.65);
  z-index: 2000;
  padding: 18px;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width: min(980px, 92vw);
  max-height: 82vh;
  border-radius: 16px;
  background: #fff;
}
.lightbox-close{
  position: fixed;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 1000;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

@media (max-width: 980px){
  .gallery-grid{grid-template-columns: 1fr}
  .gallery-item img{height: 220px}
}
