/* === FILE: assets/css/pages/reviews.css ===
   Reviews / "Review Us" page. Inherits the shared internal-page
   template (page-hero, section, cta-banner) and the media-gallery +
   lightbox component, then adds the leave-a-review actions and the
   testimonial cards.
   ============================================================ */

@import url('demo-flight.css');

.page-hero { background: var(--color-primary); }

/* Centered section header (eyebrow comes from demo-flight.css). */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--color-primary);
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
}

/* ─── LEAVE A REVIEW — platform buttons ──────────────────────── */
.review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.4rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 8px);
  text-decoration: none;
  box-shadow: 0 8px 22px -16px rgba(17, 24, 39, .2);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.review-btn:hover,
.review-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -20px rgba(17, 24, 39, .28);
  border-color: rgba(17, 24, 39, .2);
}
.review-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.review-btn--google  svg { color: #4285F4; }
.review-btn--tripadvisor svg { color: #00AA6C; }
.review-btn--yelp    svg { color: #FF1A1A; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 680px)  { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.85rem 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 10px);
  box-shadow: 0 10px 30px -22px rgba(17, 24, 39, .18);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin: 0 0 .65rem;
}

.testimonial-quote {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.testimonial-author::before { content: '— '; color: var(--color-accent); }

/* ─── "MORE REVIEWS" GALLERY ─────────────────────────────────── */
.reviews-gallery.media-gallery {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.reviews-gallery .media-gallery-item {
  background: #fff;
  border: 1px solid var(--color-border);
}
.reviews-gallery .media-gallery-trigger { padding: .5rem; }
.reviews-gallery .media-gallery-trigger img {
  object-fit: contain;
  transform: none;
}
.reviews-gallery .media-gallery-trigger:hover img,
.reviews-gallery .media-gallery-trigger:focus-visible img { transform: none; }
.reviews-gallery .media-gallery-trigger::after { display: none; }
