/* =============================================
   PRIBAKES — Gallery Page Styles
   ============================================= */

/* ---- PAGE HERO ---- */
.gallery-hero {
  padding: 120px 0 72px;
  background: linear-gradient(150deg, #faf6f0 0%, #f0ece4 55%, #e8e4dc 100%);
  text-align: center;
}
.gallery-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.0;
  margin-bottom: 20px;
}
.gallery-hero-title .script {
  font-family: var(--font-cursive);
  font-weight: 400;
  color: var(--green);
  display: block;
  font-size: 0.75em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.gallery-hero-title .block {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
  display: block;
}
.gallery-hero-sub {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  font-style: italic;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- GALLERY SECTION ---- */
.gallery-section {
  padding: 72px 0 96px;
  background: var(--ivory);
}

.gallery-category {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--parchment);
}
.gallery-category + .gallery-grid {
  margin-top: 32px;
}
.gallery-grid + .gallery-category {
  margin-top: 72px;
}

/* ---- GALLERY CARD GRID ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(24px);
}
.gallery-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.gallery-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: var(--parchment);
}

.gallery-body {
  padding: 22px 24px 26px;
}
.gallery-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green);
  margin-bottom: 8px;
}
.gallery-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---- CTA STRIP ---- */
.gallery-cta-strip {
  background: var(--green);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.gallery-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 12px;
}
.gallery-cta-sub {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.gallery-cta-strip .btn-primary {
  background: var(--gold-deco);
  color: var(--green-dark);
}
.gallery-cta-strip .btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(184,151,58,0.35);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .gallery-hero { padding: 100px 0 52px; }
  .gallery-section { padding: 52px 0 72px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .gallery-img { height: 200px; }
  .gallery-cta-strip { padding: 52px 0; }
}

@media (max-width: 480px) {
  .gallery-hero { padding: 88px 0 40px; }
  .gallery-section { padding: 40px 0 56px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-img { height: 200px; }
  .gallery-body { padding: 16px 18px 20px; }
  .gallery-category + .gallery-grid { margin-top: 24px; }
  .gallery-grid + .gallery-category { margin-top: 52px; }
}
