/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--black); flex-direction: column;
  line-height: 1.1; letter-spacing: 1px;
}
.logo-text span { font-size: 0.65rem; letter-spacing: 3px; color: var(--royal); font-family: 'Inter', sans-serif; font-weight: 600; }

/* ===== HERO ===== */
.gallery-hero {
  text-align: center;
  padding: 90px 8% 60px;
  background: linear-gradient(180deg, rgba(65,105,225,0.05) 0%, transparent 100%);
}
.gallery-hero .section-sub { margin: 0 auto; }

/* ===== GALLERY GRID ===== */
.gallery-section { padding: 20px 6% 80px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }

.gallery-wide { grid-column: span 1; }

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-card:hover .gallery-img-wrap img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,30,0.85) 0%, rgba(10,10,30,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

.overlay-tag {
  display: inline-block;
  background: var(--royal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.overlay-line {
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.gallery-caption {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  border-top: 1px solid #f0f0f0;
  letter-spacing: 0.3px;
}

/* ===== BANNER ===== */
.gallery-banner {
  background: var(--black);
  padding: 90px 8%;
  text-align: center;
}
.gallery-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold);
  margin: 0 0 16px;
}
.gallery-banner p { color: #aaa; font-size: 1.05rem; margin-bottom: 36px; }
.gallery-banner .book-btn { background: var(--royal); }
.gallery-banner .book-btn:hover { background: var(--royal-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; }
  .gallery-overlay { opacity: 1; }
}
