/* style/testimonials.css */
.page-testimonials {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

.page-testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-testimonials__dark-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-testimonials__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-testimonials__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-testimonials__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-testimonials__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-testimonials__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-testimonials__main-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-testimonials__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

.page-testimonials__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #333333; /* Dark text for contrast on bright gold button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-testimonials__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-testimonials__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
  font-weight: bold;
}

.page-testimonials__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1; /* Text Main */
}

.page-testimonials__light-bg .page-testimonials__section-title,
.page-testimonials__light-bg .page-testimonials__section-description {
  color: #333333;
}

.page-testimonials__featured-reviews {
  padding: 60px 0;
}

.page-testimonials__reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-testimonials__review-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF5E1; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #F2B544; /* Border */
}

.page-testimonials__light-bg .page-testimonials__review-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-testimonials__review-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #F4D34D; /* Gold */
}

.page-testimonials__reviewer-name {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-testimonials__light-bg .page-testimonials__reviewer-name {
  color: #C91F17;
}

.page-testimonials__review-rating {
  color: #FFCC66; /* Glow */
  font-size: 1.2em;
  margin-bottom: 15px;
}

.page-testimonials__review-text {
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-testimonials__review-date {
  font-size: 0.9em;
  color: rgba(255, 245, 225, 0.7);
}

.page-testimonials__light-bg .page-testimonials__review-date {
  color: rgba(51, 51, 51, 0.7);
}

.page-testimonials__why-love-v7club {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
}

.page-testimonials__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-testimonials__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(244, 211, 77, 0.5);
}

.page-testimonials__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFCC66; /* Glow */
}

.page-testimonials__feature-text {
  font-size: 1em;
  color: #FFF5E1;
}

.page-testimonials__faq-section {
  padding: 60px 0;
}

.page-testimonials__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-testimonials__faq-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF5E1;
}

.page-testimonials__light-bg .page-testimonials__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-testimonials__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #F4D34D; /* Gold */
  list-style: none;
}

.page-testimonials__light-bg .page-testimonials__faq-question {
  color: #C91F17;
}

.page-testimonials__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-testimonials__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-testimonials__faq-item[open] .page-testimonials__faq-toggle {
  transform: rotate(45deg);
}

.page-testimonials__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: #FFF5E1;
}

.page-testimonials__light-bg .page-testimonials__faq-answer {
  color: #333333;
}

.page-testimonials__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-testimonials__cta-section .page-testimonials__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-testimonials__cta-content {
  max-width: 600px;
  text-align: left;
}

.page-testimonials__cta-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
}

.page-testimonials__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-testimonials__cta-image-wrapper {
  flex-shrink: 0;
}

.page-testimonials__cta-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-testimonials__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F4D34D; /* Gold */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-left: 15px;
  cursor: pointer;
}

.page-testimonials__btn-secondary:hover {
  background-color: #F4D34D; /* Gold */
  color: #333333;
  transform: translateY(-2px);
}

/* General image responsiveness */
.page-testimonials img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-testimonials__main-title {
    font-size: 2.5em;
  }

  .page-testimonials__intro-text {
    font-size: 1.1em;
  }

  .page-testimonials__section-title {
    font-size: 2em;
  }

  .page-testimonials__reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-testimonials__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-testimonials__cta-section .page-testimonials__container {
    flex-direction: column;
    gap: 30px;
  }

  .page-testimonials__cta-content {
    text-align: center;
  }

  .page-testimonials__cta-title {
    font-size: 2.2em;
  }

  .page-testimonials__cta-description {
    font-size: 1.1em;
  }

  .page-testimonials__cta-image {
    max-width: 100%;
  }
}

/* Mobile Specific */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-testimonials__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

  .page-testimonials__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-testimonials__hero-content {
    padding: 0 15px;
  }

  .page-testimonials__main-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }

  .page-testimonials__intro-text {
    font-size: 1em !important;
    margin-bottom: 25px !important;
  }

  /* 产品展示图区域 (testimonials grid) */
  .page-testimonials__reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-testimonials__featured-reviews,
  .page-testimonials__why-love-v7club,
  .page-testimonials__faq-section,
  .page-testimonials__cta-section {
    padding: 40px 0 !important;
  }

  .page-testimonials__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }

  .page-testimonials__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px !important;
  }

  /* 通用图片与容器 */
  .page-testimonials img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-testimonials__section,
  .page-testimonials__card,
  .page-testimonials__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-testimonials__btn-primary,
  .page-testimonials__btn-secondary,
  .page-testimonials__cta-button,
  .page-testimonials a[class*="button"],
  .page-testimonials a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important; /* Remove margin for single column */
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

  .page-testimonials__cta-content .page-testimonials__btn-primary,
  .page-testimonials__cta-content .page-testimonials__btn-secondary {
    margin-bottom: 15px;
  }

  .page-testimonials__cta-content .page-testimonials__btn-secondary:last-child {
    margin-bottom: 0;
  }

  .page-testimonials__cta-buttons,
  .page-testimonials__button-group,
  .page-testimonials__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* 其他内容模块 */
  .page-testimonials__feature-item {
    padding: 20px !important;
  }

  .page-testimonials__feature-title {
    font-size: 1.2em !important;
    margin-bottom: 10px !important;
  }

  .page-testimonials__feature-text {
    font-size: 0.95em !important;
  }

  .page-testimonials__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

  .page-testimonials__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.95em !important;
  }

  .page-testimonials__cta-title {
    font-size: 2em !important;
  }

  .page-testimonials__cta-description {
    font-size: 1em !important;
  }
}