:root {
  --primary-maroon: #700f14;
  --primary-maroon-light: rgba(112, 15, 20, 0.1);
  --primary-maroon-hover: #5a0c10;
  --overlay-color: rgba(112, 15, 20, 0.85);
}

.page-title-area {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/img/bg/page-title-bg.jpg") center/cover;
  padding: 100px 0;
  color: #fff;
}
.page-title-area .page-title {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}
.breadcrumb-item a {
  color: #f8f9fa;
  text-decoration: none;
}
.breadcrumb-item.active {
  color: #ccc;
}

.section-title {
  color: var(--primary-maroon);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 15px;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}
.gallery-filter button {
  background: transparent;
  border: 2px solid var(--primary-maroon);
  color: var(--primary-maroon);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: all 0.4s ease;
  text-transform: capitalize;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.gallery-filter button:hover,
.gallery-filter button.active {
  background: var(--primary-maroon);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(112, 15, 20, 0.3);
  transform: translateY(-2px);
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.gallery-card:hover {
  box-shadow: 0 15px 40px rgba(112, 15, 20, 0.15);
  transform: translateY(-5px);
}

.gallery-img {
  position: relative;
  overflow: hidden;
}
.gallery-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-card:hover .gallery-img img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .popup-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  color: var(--primary-maroon);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  transform: translateY(30px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.gallery-card:hover .gallery-overlay .popup-icon {
  transform: translateY(0) scale(1);
}

.gallery-content {
  padding: 24px 20px;
  background: #fff;
  text-align: center;
  border-top: 4px solid var(--primary-maroon);
  position: relative;
  z-index: 2;
}
.gallery-title {
  font-size: 19px;
  margin-bottom: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #222;
}
.gallery-year {
  font-size: 14px;
  color: var(--primary-maroon);
  font-weight: 600;
  background: var(--primary-maroon-light);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}
