/* Google Reviews Widget Styles */

.google-reviews-wrapper {
  width: 100%;
}

/* Review Cards */
.review-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Review Header */
.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.reviewer-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-photo-placeholder {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-weight: 600;
  font-size: 1rem;
  color: #212529;
  margin-bottom: 4px;
}

.review-stars {
  color: #ffa500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.review-date {
  font-size: 0.85rem;
  color: #6c757d;
  white-space: nowrap;
}

.review-text {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Grid Layout */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Carousel Layout */
.reviews-carousel {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}

.reviews-carousel__container {
  display: flex;
}

.reviews-carousel .review-card {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0 12px;
}

/* Carousel Navigation */
.reviews-carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 119, 182, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reviews-carousel__button:hover {
  background: #00b4d8;
  transform: translateY(-50%) scale(1.1);
}

.reviews-carousel__button--prev {
  left: 16px;
}

.reviews-carousel__button--next {
  right: 16px;
}

/* Carousel Dots */
.reviews-carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.reviews-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.reviews-carousel__dot.is-selected {
  background: #0077b6;
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card {
    padding: 20px;
  }

  .reviewer-photo {
    width: 40px;
    height: 40px;
  }

  .reviewer-name {
    font-size: 0.95rem;
  }

  .review-stars {
    font-size: 16px;
  }

  .review-text {
    font-size: 0.9rem;
  }

  .reviews-carousel__button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .reviews-carousel__button--prev {
    left: 8px;
  }

  .reviews-carousel__button--next {
    right: 8px;
  }
}
