/* Reviews Page Styles */

.reviews-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.reviews-hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  margin-bottom: 40px;
}

.reviews-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.reviews-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.reviews-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-size: 1rem;
}

.reviews-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.search-input, .filter-select {
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.search-input:focus, .filter-select:focus {
  outline: none;
  border-color: #667eea;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.review-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.review-header {
  margin-bottom: 15px;
}

.review-stars {
  color: #ffc107;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.review-name {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.review-date {
  color: #999;
  font-size: 0.85rem;
}

.review-text {
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 15px;
}

.review-photo {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 10px;
}

.cta-section {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 40px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.cta-section p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  padding: 15px 40px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-cta:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Submit Review Page */

.submit-review-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.review-form-container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.review-form-container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.review-form .form-group {
  margin-bottom: 25px;
}

.review-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.star-rating {
  display: flex;
  gap: 10px;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.star {
  cursor: pointer;
  transition: transform 0.2s;
}

.star:hover {
  transform: scale(1.2);
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #667eea;
}

.review-form small {
  color: #999;
  font-size: 0.85rem;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #218838;
}

.btn-submit:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

#formMessage {
  text-align: center;
  margin-top: 15px;
  font-weight: 500;
}

/* Thank You Message */

.thank-you-message {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 20px;
}

.thank-you-message h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 2rem;
}

.thank-you-message p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.next-steps {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.next-steps h3 {
  color: #333;
  margin-bottom: 10px;
}

.next-steps p {
  margin-bottom: 20px;
}

.btn-google {
  display: inline-block;
  padding: 12px 30px;
  background: #4285f4;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-google:hover {
  background: #357ae8;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #5a6268;
}

/* Mobile Responsive */

@media (max-width: 768px) {
  .reviews-hero h1 {
    font-size: 2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-form-container {
    padding: 25px;
  }

  .star-rating {
    font-size: 2rem;
  }

  .reviews-controls {
    flex-direction: column;
  }

  .search-input, .filter-select {
    width: 100%;
  }
}