/* Google Reviews Widget Styles - Premium Design */

.google-reviews-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.google-reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.google-reviews-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  z-index: 1;
}

.google-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 20px;
}

.google-reviews-rating {
  display: flex;
  align-items: center;
  gap: 16px;
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4285f4;
  font-weight: 700;
  font-size: 1.3rem;
}

.google-logo svg {
  width: 32px;
  height: 32px;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
}

.rating-stars svg {
  width: 20px;
  height: 20px;
}

.rating-number {
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-count {
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
}

.google-reviews-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 50px;
  background: rgba(66, 133, 244, 0.1);
}

.google-reviews-link:hover {
  background: rgba(66, 133, 244, 0.2);
  transform: translateY(-2px);
}

.google-reviews-link svg {
  transition: transform 0.3s ease;
}

.google-reviews-link:hover svg {
  transform: translateX(4px);
}

.google-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.google-review-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.google-review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  color: rgba(102, 126, 234, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.google-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #fbbf24;
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-date {
  color: #9ca3af;
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 500;
}

.review-body {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.google-reviews-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}

.google-reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.google-reviews-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.google-reviews-btn svg {
  width: 20px;
  height: 20px;
}

.google-reviews-error {
  text-align: center;
  padding: 48px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
}

.google-reviews-error a {
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.google-reviews-error a:hover {
  color: #3367d6;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .google-reviews-widget {
    padding: 24px;
    border-radius: 16px;
  }
  
  .google-reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .review-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .google-reviews-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .google-review-card {
    padding: 20px;
  }
  
  .google-reviews-btn {
    width: 100%;
    justify-content: center;
  }
}
