/* style/faq.css */

/* Body background from shared.css is #0A0A0A (dark), so text color should be light #FFF6D6 */
.page-faq {
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background-color, #0A0A0A);
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(17, 17, 17, 0.85); /* Card B G with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-faq__main-title {
  color: #FFD36B; /* Auxiliary color for emphasis */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #FFD86A 0%, #F2C14E 100%); /* Slightly lighter on hover */
}

.page-faq__faq-list-section {
  padding: 60px 20px;
  background-color: var(--background-color, #0A0A0A);
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-faq__section-title {
  color: #FFD36B; /* Auxiliary color */
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__faq-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  color: #FFF6D6; /* Text Main */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-faq__faq-item.active .page-faq__faq-question {
  border-bottom: none;
}

.page-faq__faq-heading {
  color: #F2C14E; /* Main color */
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD36B; /* Glow color */
  line-height: 1;
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 15px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-faq__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #111111; /* Card B G */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.95rem;
}

.page-faq__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #ffffff;
}

.page-faq__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a;
  border-top: 1px solid #3A2A12; /* Border */
}

.page-faq__cta-title {
  color: #FFD36B; /* Auxiliary color */
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF6D6; /* Text Main */
}

.page-faq__btn-contact {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-faq__hero-content {
    padding: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-faq__intro-text {
    font-size: 1rem;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
  }

  .page-faq__faq-list-section {
    padding: 40px 15px;
  }

  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-heading {
    font-size: 1.1rem;
  }

  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }

  .page-faq__cta-section {
    padding: 50px 15px;
  }

  .page-faq__cta-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .page-faq__cta-description {
    font-size: 1rem;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__faq-item,
  .page-faq__cta-section,
  .page-faq__faq-list-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}