/* ============================================
   REVIEWS PAGE STYLES - Rychlá Oprava Elektro
   Green Theme (#22c55e + white)
   ============================================ */

/* Reviews Hero Section */
.reviews-hero {
  position: relative;
  padding: 30px 0 60px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  overflow: hidden;
}

.reviews-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background:
    radial-gradient(circle at 20% 50%, #22c55e 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, #16a34a 0%, transparent 50%);
}

.reviews-hero__shape {
  position: absolute;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0.03;
}

.reviews-hero__shape--1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -100px;
}

.reviews-hero__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: -50px;
}

.fe-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-hero__breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 30px;
}

.reviews-hero__breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.reviews-hero__breadcrumb-link:hover {
  color: #22c55e;
}

.reviews-hero__breadcrumb-link img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(679%) hue-rotate(177deg) brightness(95%) contrast(88%);
  transition: filter 0.2s;
}

.reviews-hero__breadcrumb-link:hover img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.reviews-hero__breadcrumb-sep {
  filter: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(340%) hue-rotate(177deg) brightness(92%) contrast(87%);
}

.reviews-hero__breadcrumb-current {
  color: #6b7280;
}

.reviews-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.reviews-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
}

.reviews-hero__label img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.reviews-hero__title {
  font-size: 48px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
  margin: 0 0 20px;
}

.reviews-hero__desc {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 40px;
}

.reviews-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.reviews-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.reviews-hero__stat-value {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-hero__stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Reviews Main */
.reviews-main {
  padding: 60px 0;
  background: #ffffff;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.review-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
}

.review-card:hover {
  border-color: #22c55e;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
  transform: translateY(-4px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__avatar img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.review-card__info {
  flex: 1;
}

.review-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 5px;
}

.review-card__rating {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-card__service {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: 6px;
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 15px;
  width: fit-content;
}

.review-card__service img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.review-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 15px;
}

.review-card__footer {
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.review-card__date {
  font-size: 13px;
  color: #9ca3af;
}

/* Reviews Pagination */
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.reviews-pagination__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.reviews-pagination__btn:hover {
  border-color: #22c55e;
  color: #22c55e;
  transform: translateY(-2px);
}

.reviews-pagination__btn img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(679%) hue-rotate(177deg) brightness(95%) contrast(88%);
  transition: filter 0.2s;
}

.reviews-pagination__btn:hover img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.reviews-pagination__numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-pagination__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.reviews-pagination__num:hover {
  border-color: #22c55e;
  color: #22c55e;
}

.reviews-pagination__num--active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #22c55e;
  color: white;
}

.reviews-pagination__ellipsis {
  color: #9ca3af;
  font-size: 15px;
  padding: 0 5px;
}

/* Review Form Section */
.reviews-form {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.reviews-form__wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.reviews-form__header {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-form__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 15px;
}

.reviews-form__label img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.reviews-form__title {
  font-size: 36px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 15px;
}

.reviews-form__desc {
  font-size: 17px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

#jqr_review_form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

#jqr_review_form input[type="text"],
#jqr_review_form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 20px;
  transition: all 0.2s;
}

#jqr_review_form input[type="text"]:focus,
#jqr_review_form textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

#jqr_review_form textarea {
  resize: vertical;
  min-height: 120px;
}

#jqr_review_form button[type="submit"] {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

#jqr_review_form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

/* CTA Section */
.reviews-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.reviews-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.reviews-cta__text {
  flex: 1;
}

.reviews-cta__title {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin: 0 0 15px;
}

.reviews-cta__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.reviews-cta__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviews-cta__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  white-space: nowrap;
}

.reviews-cta__btn--primary {
  background: white;
  color: #22c55e;
}

.reviews-cta__btn--primary:hover {
  background: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.reviews-cta__btn--primary img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(61%) saturate(501%) hue-rotate(101deg) brightness(93%) contrast(90%);
}

.reviews-cta__btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.reviews-cta__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.reviews-cta__btn--secondary img {
  filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 900px) {
  .reviews-hero {
    padding: 30px 0 50px;
  }

  .reviews-hero__title {
    font-size: 40px;
  }

  .reviews-hero__desc {
    font-size: 17px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .reviews-cta__content {
    flex-direction: column;
    text-align: center;
  }

  .reviews-cta__title {
    font-size: 32px;
  }

  .reviews-cta__desc {
    font-size: 17px;
  }

  .reviews-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .reviews-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .reviews-hero {
    padding: 30px 0 40px;
  }

  .reviews-hero__title {
    font-size: 36px;
  }

  .reviews-hero__desc {
    font-size: 16px;
  }

  .reviews-hero__stat-value {
    font-size: 36px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Pagination responsive */
  .reviews-pagination {
    gap: 10px;
  }

  .reviews-pagination__btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .reviews-pagination__btn span {
    display: none;
  }

  .reviews-pagination__numbers {
    gap: 6px;
  }

  .reviews-pagination__num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .reviews-form__title {
    font-size: 32px;
  }

  .reviews-form__desc {
    font-size: 16px;
  }

  #jqr_review_form {
    padding: 30px;
  }

  .reviews-cta__title {
    font-size: 28px;
  }

  .reviews-cta__desc {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .reviews-hero {
    padding: 30px 0 35px;
  }

  .reviews-hero__title {
    font-size: 32px;
  }

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

  .reviews-hero__stats {
    gap: 30px;
  }

  .reviews-hero__stat-value {
    font-size: 32px;
  }

  /* Pagination responsive */
  .reviews-pagination {
    gap: 8px;
  }

  .reviews-pagination__btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .reviews-pagination__numbers {
    gap: 4px;
  }

  .reviews-pagination__num {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .reviews-form__title {
    font-size: 28px;
  }

  #jqr_review_form {
    padding: 25px;
  }

  #jqr_review_form input[type="text"],
  #jqr_review_form textarea {
    padding: 12px 16px;
    font-size: 15px;
  }

  .reviews-cta__title {
    font-size: 26px;
  }

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

  .reviews-cta__btn {
    font-size: 16px;
    padding: 14px 28px;
  }
}

@media (max-width: 375px) {
  .reviews-hero {
    padding: 30px 0 30px;
  }

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

  .reviews-hero__title {
    font-size: 28px;
  }

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

  .reviews-hero__stat-value {
    font-size: 28px;
  }

  .review-card {
    padding: 20px;
  }

  /* Pagination responsive for smallest screens */
  .reviews-pagination {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .reviews-pagination__btn {
    padding: 8px 10px;
    font-size: 0;
    min-width: 36px;
  }

  .reviews-pagination__btn img {
    width: 14px;
    height: 14px;
  }

  .reviews-pagination__numbers {
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .reviews-pagination__num {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .reviews-pagination__ellipsis {
    font-size: 12px;
    padding: 0 2px;
  }

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

  #jqr_review_form {
    padding: 20px;
  }

  .reviews-cta {
    padding: 60px 0;
  }

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

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