/* ================================================
   Meadow Cottage CL — Reviews Page Styles
   ================================================ */

/* Force navbar to scrolled (white) state on interior pages */
#mainNav.scrolled .navbar-brand,
#mainNav.scrolled .nav-link { color: var(--text-dark); }
#mainNav.scrolled .nav-link.active { color: var(--green-primary); font-weight: 600; }
#mainNav.scrolled .nav-link:hover { color: var(--green-primary); }
#mainNav.scrolled .btn-book { color: var(--white) !important; }
#mainNav.scrolled .navbar-toggler { border-color: rgba(0,0,0,0.18); }
#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.65)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== PAGE HERO ===== */
.reviews-hero {
  padding: 10rem 0 5rem;
  background-image: url('../../images/sunset2.jpg');
  background-size: cover;
  background-position: center 60%;
  background-attachment: fixed;
  position: relative;
  text-align: center;
}

.reviews-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(25, 50, 30, 0.82) 0%,
    rgba(44, 74, 55, 0.70) 100%
  );
}

.reviews-hero-content {
  position: relative;
  z-index: 2;
}

.reviews-hero .section-label { color: var(--gold); }

.reviews-hero .section-title {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.reviews-hero .section-intro {
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
}

.reviews-hero .section-intro strong { color: var(--white); }

/* Overall rating widget */
.overall-rating {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 1rem 2rem;
}

.rating-score {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.rating-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.rating-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

/* ===== REVIEWS SECTION ===== */
.section-reviews {
  padding: 5rem 0 6rem;
  background: var(--cream);
}

/* ===== REVIEW CARDS ===== */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Featured card */
.review-card-featured {
  background: var(--white);
  border: 2px solid var(--green-pale);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}

.review-quote-mark {
  font-size: 2rem;
  color: var(--green-pale);
  margin-bottom: 1rem;
  line-height: 1;
}

/* Card header */
.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

/* Avatar */
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-avatar-anon {
  background: var(--green-pale);
  color: var(--green-light);
  font-size: 1rem;
}

.reviewer-info { flex: 1; min-width: 0; }

.reviewer-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.review-source {
  font-size: 0.75rem;
  color: var(--text-mid);
}

.review-source i { color: var(--green-primary); }

.review-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--green-dark);
  margin-bottom: 0.85rem;
}

.review-body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* CTA card */
.review-cta-card {
  background: var(--green-dark);
  border-color: var(--green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.review-cta-card:hover { transform: translateY(-4px); }

.review-cta-rating {
  margin-bottom: 1.25rem;
}

.cta-score {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.cta-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.cta-count {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.cta-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.btn-camc {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-camc:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
}

/* ===== BOOK BANNER ===== */
.book-banner {
  padding: 5rem 0;
  background: var(--green-dark);
}

.book-banner-title {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.book-banner-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .reviews-hero { background-attachment: scroll; padding: 8rem 0 4rem; }
  .overall-rating { flex-direction: column; gap: 0.75rem; text-align: center; }
  .section-reviews { padding: 4rem 0; }
  .review-card-featured { padding: 1.75rem; }
}
