/* Google Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-off-white) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-gold), var(--color-amber));
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header h2 {
  color: var(--color-dark-brown);
  margin-bottom: 1rem;
}

.section-label {
  color: var(--color-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 1rem;
}

/* Overall Rating Display */
.overall-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-orange);
  font-family: var(--font-heading);
  line-height: 1;
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
  font-size: 1.5rem;
}

.rating-count {
  color: var(--color-espresso);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* Star Styles */
.star {
  display: inline-block;
  line-height: 1;
}

.star-full {
  color: var(--color-gold);
}

.star-half {
  color: var(--color-gold);
  opacity: 0.5;
}

.star-empty {
  color: var(--color-beige);
}

/* Reviews Carousel Container */
.reviews-carousel-wrapper {
  position: relative;
  margin-bottom: 3rem;
  padding: 0 3rem;
}

.reviews-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-orange);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(217, 118, 57, 0.3);
}

.carousel-nav:hover {
  background: var(--color-amber);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(217, 118, 57, 0.4);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: var(--color-espresso);
}

.carousel-nav:disabled:hover {
  transform: translateY(-50%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Review Card */
.review-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-gold);
  min-width: 400px;
  max-width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-beige);
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.review-author-info {
  flex: 1;
}

.review-author {
  font-weight: 700;
  color: var(--color-dark-brown);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.review-date {
  color: var(--color-espresso);
  font-size: 0.8125rem;
  opacity: 0.7;
}

.review-rating {
  display: flex;
  gap: 0.125rem;
  font-size: 1rem;
}

.review-text {
  color: var(--color-espresso);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Reviews Actions */
.reviews-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reviews-actions .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--color-orange);
  color: white;
  border: 2px solid var(--color-orange);
}

.btn-primary:hover {
  background: var(--color-amber);
  border-color: var(--color-amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 118, 57, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--color-dark-brown);
  border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

/* Reviews Error State */
.reviews-error {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.reviews-error p {
  color: var(--color-espresso);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Google Badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 0.875rem;
  color: var(--color-espresso);
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .reviews-section {
    padding: 3rem 0;
  }

  .reviews-carousel-wrapper {
    padding: 0 1rem;
  }

  .reviews-grid {
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .review-card {
    padding: 1.5rem;
    min-width: 320px;
    max-width: 320px;
  }

  .overall-rating {
    margin-bottom: 2rem;
  }

  .rating-number {
    font-size: 2.5rem;
  }

  .reviews-actions {
    flex-direction: column;
  }

  .reviews-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .carousel-nav.prev {
    left: -0.5rem;
  }

  .carousel-nav.next {
    right: -0.5rem;
  }
}

@media (max-width: 480px) {
  .reviews-carousel-wrapper {
    padding: 0 0.5rem;
  }

  .review-card {
    min-width: 280px;
    max-width: 280px;
    padding: 1.25rem;
  }

  .review-header {
    flex-wrap: wrap;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
  }

  .review-rating {
    width: 100%;
    margin-top: 0.5rem;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }
}
