/*
 * FILE: css/reviews.css
 * Google Reviews section — Keras Dark Theme
 */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
#reviews {
  background: #060912;          /* one step darker than #080B14 for contrast */
  padding: 96px 0 108px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ambient glow */
#reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 100% 40%, rgba(66, 133, 244, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0%   70%, rgba(232, 0, 28, 0.05)   0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.reviews-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.reviews-header {
  text-align: center;
  margin-bottom: 52px;
}

.reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4285F4;               /* Google blue */
  margin-bottom: 18px;
  padding: 6px 16px;
  background: rgba(66, 133, 244, 0.08);
  border: 1px solid rgba(66, 133, 244, 0.22);
  border-radius: 20px;
}

.reviews-eyebrow .fa-google {
  font-size: 11px;
}

.reviews-title {
  font-family: 'Orbitron', monospace;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.reviews-title span {
  color: #E8001C;
}

.reviews-subtitle {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #8899AA;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   REVIEW GRID
   auto-fit: 3 columns at ≥960px, 2 at tablet, 1 at mobile
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

/* ============================================================
   REVIEW CARD
   ============================================================ */
.review-card {
  position: relative;
  background: #0F1523;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

/* Red top accent bar */
.review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8B0000 0%, rgba(232, 0, 28, 0.08) 100%);
  border-radius: 18px 18px 0 0;
  opacity: 0.55;
  transition: opacity 0.28s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 0, 28, 0.28);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(232, 0, 28, 0.06);
}

.review-card:hover::before {
  opacity: 1;
}

/* ── Google G badge — top right ── */
.review-card__google {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 16px;
  color: #4285F4;
  opacity: 0.7;
  line-height: 1;
  transition: opacity 0.2s;
}

.review-card:hover .review-card__google {
  opacity: 1;
}

/* ── Reviewer info row ── */
.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232, 0, 28, 0.3);
  flex-shrink: 0;
  background: #1a1a2e;
}

.review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.review-card__author {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card__time {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 11px;
  color: #8899AA;
}

/* ── Star rating ── */
.review-card__stars {
  display: flex;
  gap: 3px;
  font-size: 13px;
}

.review-card__stars .fas.fa-star {
  color: #F5C518;           /* Google review yellow */
}

.review-card__stars .far.fa-star {
  color: rgba(245, 197, 24, 0.28);
}

/* ── Review text ── */
.review-card__text {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 13.5px;
  color: #C0C8D8;
  line-height: 1.72;
  margin: 0;
  flex: 1;                  /* push CTA badge to bottom if present */
}

/* ============================================================
   CTA — "View all on Google"
   ============================================================ */
.reviews-cta {
  text-align: center;
}

.reviews-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid rgba(66, 133, 244, 0.35);
  background: rgba(66, 133, 244, 0.07);
  color: #4285F4;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.reviews-cta__btn:hover {
  background: rgba(66, 133, 244, 0.15);
  border-color: rgba(66, 133, 244, 0.6);
  color: #6ea8fe;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.18);
  text-decoration: none;
}

.reviews-cta__btn .fa-google {
  font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .reviews-title { font-size: 1.9rem; }
}

@media (max-width: 680px) {
  #reviews { padding: 72px 0 88px; }
  .reviews-header { margin-bottom: 40px; }
  .reviews-title  { font-size: 1.6rem; }
  .reviews-grid   { gap: 16px; }
  .review-card    { padding: 22px 20px 20px; }
}

@media (max-width: 420px) {
  .review-card__author { font-size: 0.72rem; }
  .review-card__text   { font-size: 13px; }
}
