:root {
  --green: #7da343;
  --cream: #fbf8f1;
  --text-dark: #2f2f2f;
  --text-muted: #6f6f6f;
  --radius: 18px;
}

/* ================= HERO ================= */

.gallery-hero {
  height: 70vh;
  background:
    linear-gradient(rgba(70, 90, 70, 0.75), rgba(130, 160, 110, 0.75)),
    url("../images/gallery/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-hero-overlay {
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.gallery-hero-overlay h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  margin-bottom: 10px;
  color: #fff;
}

.gallery-hero-overlay p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: auto;
  color: #fff;
}

/* ================= FILTERS ================= */

.gallery-filters {
  display: flex;
  gap: 12px;
  padding: 40px 8%;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  background: #f1f1f1;
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.filter-btn:hover {
  background: #e6e6e6;
}

.filter-btn.active {
  background: var(--green);
  color: #fff;
}

/* ================= GALLERY WRAPPER ================= */

.gallery-wrapper {
  background: var(--cream);
  min-height: 60vh;
  padding: 80px 8%;
}

/* ================= EMPTY STATE ================= */

.gallery-empty {
  text-align: center;
  max-width: 600px;
  margin: auto;
}

.gallery-empty h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.gallery-empty p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= GALLERY GRID (FUTURE USE) ================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.gallery-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .gallery-filters {
    justify-content: center;
  }

  .gallery-wrapper {
    padding: 60px 20px;
  }
}
