/* =========================
   PAGE BANNER (PREMIUM IMAGE)
========================= */
.page-banner {
  margin-top: -80px;
  border-radius: 8px;
  position: relative;
  padding: 140px 0 100px;
  color: var(--white);
  overflow: hidden;
}

/* background image */
.banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.1);
}

/* gradient overlay */
.page-banner::after {
  opacity: 0.5;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(73, 50, 153, 0.85),
    rgba(220, 48, 32, 0.75)
  );
  z-index: 1;
}

/* subtle light blobs */
.page-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

/* content */
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

/* breadcrumb - improved glass */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);

  padding: 10px 18px;
  border-radius: 50px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb a {
  color: var(--white);
  opacity: 0.85;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb span {
  opacity: 0.7;
}

.breadcrumb .active {
  opacity: 1;
  font-weight: var(--fw-medium);
}

/* title */
.banner-title {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.5px;
}

/* subtitle */
.banner-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  line-height: 1.7;
}

/* mobile polish */
@media (max-width: 768px) {
  .page-banner {
    padding: 110px 0 80px;
  }

  .banner-title {
    font-size: 30px;
  }

  .banner-subtitle {
    font-size: var(--fs-md);
  }
}

/* =========================
   PREMIUM GALLERY CARDS
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* image */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* overlay gradient */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: var(--transition);
}

/* text content */
.gallery-item .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item .content h4 {
  color: white;
  font-size: var(--fs-lg);
  margin-bottom: 4px;
}

.gallery-item .content span {
  font-size: var(--fs-sm);
  opacity: 0.8;
}

/* hover */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover .content {
  transform: translateY(0);
  opacity: 1;
}

/* =========================
   MODAL
========================= */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-modal.active {
  display: flex;
}

.modal-img {
  max-width: 85%;
  max-height: 80%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

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

/* arrows */
.gallery-modal .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.gallery-modal .prev {
  left: 40px;
}

.gallery-modal .next {
  right: 40px;
}

.gallery-modal .nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   GALLERY FILTER
========================= */
.gallery-filter {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* buttons */
.filter-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  background: transparent;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: var(--transition);
}

/* hover */
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* active */
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-sm);
}
