@import url('styles.css');

/* ---- Solid nav ---- */
.kanasu-nav {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(111,184,120,0.18) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07) !important;
}
.kanasu-nav .logo-name { color: #1a1a1a !important }
.kanasu-nav .logo-sub  { color: #4a8a5e !important }
.kanasu-nav .nav-link  { color: #1a1a1a !important }
.kanasu-nav .ham-bar   { background: #1a1a1a !important }

/* ---- Hero ---- */
.fb-hero {
  background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e8 60%, #f5f5f5 100%);
  position: relative;
}
.fb-hero-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,184,120,0.18), transparent 65%);
  pointer-events: none;
}

/* ---- Section divider ---- */
.section-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, #6fb878, #2d5a3d);
  margin: 0.6rem 0 1.25rem;
}

/* ---- Rating Summary ---- */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border: 1px solid rgba(111,184,120,0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.rating-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #2d5a3d;
  line-height: 1;
}
.stars-row {
  color: #e8b923;
  font-size: 1.4rem;
  letter-spacing: 3px;
}
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  color: #888;
  width: 22px;
  text-align: right;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 6px;
  background: #eee;
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6fb878, #2d5a3d);
  border-radius: 99px;
  transition: width 1s ease;
}
.bar-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  color: #bbb;
  width: 18px;
}

/* ---- Reviews Grid ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ---- Review Card ---- */
.review-card {
  background: #fff;
  border: 1px solid rgba(111,184,120,0.18);
  box-shadow: 0 3px 20px rgba(0,0,0,0.06);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(45,90,61,0.11);
}
.review-card.featured {
  border-color: rgba(232,185,35,0.4);
  box-shadow: 0 4px 30px rgba(212,160,23,0.1);
}
.review-card.featured::before {
  content: '⭐ Top Review';
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, #e8b923, #d4a017);
  color: #111;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg, #6fb878, #2d5a3d);
  color: #ffffff;

  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;

  flex-shrink: 0;

  box-shadow: 0 4px 12px rgba(45, 90, 61, 0.25);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0;
}

.reviewer-meta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #aaa;
  text-transform: uppercase;
}
.review-stars {
  margin-left: auto;
  color: #e8b923;
  font-size: 0.9rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.review-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d5a3d;
  background: rgba(111,184,120,0.12);
  border: 1px solid rgba(111,184,120,0.25);
  padding: 3px 10px;
  align-self: flex-start;
}
.review-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: rgba(26,26,26,0.72);
  line-height: 1.75;
  flex: 1;
}
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(111,184,120,0.12);
}
.review-date {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.review-verified {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  color: #6fb878;
  font-weight: 600;
}

/* ---- Form ---- */
.review-form-wrap {
  background: #fff;
  border: 1px solid rgba(111,184,120,0.2);
  box-shadow: 0 6px 40px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
}
.fb-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.55);
  margin-bottom: 0.45rem;
}
.fb-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(26,26,26,0.12);
  background: #fafafa;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  border-radius: 0;
  -webkit-appearance: none;
}
.fb-input:focus {
  border-color: #6fb878;
  box-shadow: 0 0 0 3px rgba(111,184,120,0.15);
  background: #fff;
}
.fb-input::placeholder { color: rgba(26,26,26,0.28); }

/* ---- Star Picker ---- */
.star-picker {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
.star-btn {
  font-size: 2rem;
  color: #ddd;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-btn:hover,
.star-btn.hover { color: #f0c040; transform: scale(1.15); }
.star-btn.active { color: #e8b923; }
.star-hint {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #bbb;
  margin-top: 4px;
  text-transform: uppercase;
  min-height: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .rating-summary { gap: 1rem; padding: 1.25rem; }
  .rating-big { font-size: 3rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-form-wrap { padding: 1.5rem 1rem; }
}
