/* Reviews Page Styles */

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: #f8f9fa;
}

/* Vízszerelő Theme Color Palette */
:root {
  --primary-sage: #3498db;
  --primary-forest: #2c3e50;
  --dark-forest: #1a252f;
  --light-mint: #e8f4fd;
  --accent-terra: #e74c3c;
  --warm-beige: #f5f5f5;
  --soft-cream: #fafafa;
  --text-dark: #2c3e50;
  --text-light: #666666;
  --white: #ffffff;
  --section-bg: #f8f9fa;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #1a252f 0%, #3498db 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
}

.logo-text .logo-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.logo-text .logo-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  background: #e74c3c;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link svg {
  width: 18px;
  height: 18px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
}

/* Reviews Hero */
.reviews-hero {
  background: var(--primary-forest);
  padding: 40px 20px;
  text-align: center;
  border-bottom: 3px solid var(--accent-terra);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.reviews-title {
  font-size: 36px;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.reviews-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* Main Container */
.reviews-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Review Cards */
.review-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--primary-sage);
  transition: all 0.3s ease;
}

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

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--light-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-forest);
  font-weight: 600;
  font-size: 20px;
}

.author-info h3 {
  color: var(--text-dark);
  font-size: 18px;
  margin: 0;
}

.review-service {
  display: inline-block;
  background: var(--warm-beige);
  color: var(--accent-terra);
  font-size: 14px;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 20px;
}

.review-content {
  margin: 20px 0;
}

.review-comment {
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 16px;
  background: var(--soft-cream);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--warm-beige);
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.review-rating {
  color: var(--accent-terra);
  font-size: 20px;
  letter-spacing: 2px;
}

.review-date {
  color: var(--text-light);
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.pagination .btn,
.pagination .current {
  padding: 10px 15px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
}

.pagination .btn {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--light-mint);
}

.pagination .btn:hover {
  background: var(--primary-sage);
  color: white;
  border-color: var(--primary-sage);
  transform: translateY(-2px);
}

.pagination .current {
  background: var(--primary-forest);
  color: white;
  border: 2px solid var(--primary-forest);
}

.pagination .ellipsis {
  color: var(--text-light);
  padding: 0 5px;
}

/* Review Form Section */
.review-form-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.review-form-section h2 {
  text-align: center;
  color: var(--primary-forest);
  font-size: 32px;
  margin-bottom: 30px;
}

#jqr_review_form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#jqr_review_form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--text-dark);
}

#jqr_review_form input,
#jqr_review_form textarea,
#jqr_review_form select {
  padding: 12px 15px;
  border: 2px solid var(--warm-beige);
  border-radius: 10px;
  font-size: 16px;
  margin-top: 5px;
  font-family: inherit;
  transition: all 0.3s ease;
}

#jqr_review_form input:focus,
#jqr_review_form textarea:focus,
#jqr_review_form select:focus {
  outline: none;
  border-color: var(--primary-sage);
  background: var(--soft-cream);
}

#jqr_review_form button {
  align-self: center;
  background: var(--accent-terra);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#jqr_review_form button:hover {
  background: #A55D1F;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Stats Section */
.review-stats {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stats-header {
  text-align: center;
  margin-bottom: 30px;
}

.stats-header h2 {
  color: var(--primary-forest);
  font-size: 28px;
  margin-bottom: 10px;
}

.overall-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.rating-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-sage);
}

.rating-stars {
  color: var(--accent-terra);
  font-size: 28px;
}

.total-reviews {
  color: var(--text-light);
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Header */
  .site-header {
    padding: 10px 0;
  }

  .header-container {
    padding: 0 15px;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
  }

  .logo-text .logo-title {
    font-size: 18px;
  }

  .logo-text .logo-subtitle {
    display: none;
  }

  .header-nav {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-section {
    flex: 1;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .nav-link span {
    display: none;
  }

  .nav-link svg {
    width: 18px;
    height: 18px;
  }

  /* Reviews Content */
  .reviews-hero {
    padding: 30px 20px;
  }

  .reviews-title {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .reviews-subtitle {
    font-size: 15px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .review-form-section {
    padding: 30px 20px;
  }

  .review-form-section h2 {
    font-size: 24px;
  }

  .pagination .btn,
  .pagination .current {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  /* Extra small mobile header */
  .site-header {
    padding: 8px 0;
  }

  .header-container {
    padding: 0 10px;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .logo-text .logo-title {
    font-size: 16px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav-link svg {
    width: 16px;
    height: 16px;
  }

  /* Reviews Content */
  .reviews-hero {
    padding: 25px 15px;
  }

  .reviews-title {
    font-size: 24px;
  }

  .reviews-subtitle {
    font-size: 14px;
  }

  .reviews-container {
    padding: 0 15px;
  }

  .review-card {
    padding: 20px 15px;
  }

  .author-info h3 {
    font-size: 16px;
  }

  .review-comment {
    font-size: 14px;
    padding: 12px;
  }
}
