/* ============================
     GALLERY HERO
============================ */
.gallery-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.gallery-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text);
}

.gallery-subtitle {
  max-width: 600px;
  margin: 0.6rem auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ============================
     GALLERY GRID
============================ */
.gallery-section {
  padding: 2rem 0 4rem;
}

.gallery-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
  transition: .28s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ============================
     DARK MODE FIX
============================ */
html.theme-dark .gallery-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* ============================
     RESPONSIVENESS
============================ */
@media (max-width: 991px) {
  .gallery-img {
    height: 230px;
  }
}

@media (max-width: 768px) {
  .gallery-title {
    font-size: 2rem;
  }
  .gallery-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .gallery-img {
    height: 180px;
  }
}
