/* style/faq.css */
/* body background color: #140C0C (dark) -> text color: #FFF1E8 (light) */

.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

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

.page-faq__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-faq__hero-content {
  position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
  text-align: center;
  padding: 40px 20px;
  background: rgba(42, 18, 18, 0.8); /* Card BG with transparency */
  border-radius: 8px;
  margin-top: -80px; /* Pull up slightly over the image for visual flow */
  z-index: 1; /* Ensure content is visually on top of the image */
  max-width: 800px;
  box-sizing: border-box;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1rem;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button custom color */
  color: #FFF1E8;
  border: none;
}

.page-faq__cta-button.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-faq__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item.active {
  box-shadow: 0 0 15px rgba(243, 197, 77, 0.3);
}

.page-faq__faq-question-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(243, 197, 77, 0.05); /* Light gold tint */
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-question-wrapper {
  border-bottom-color: #6A1E1E;
}

.page-faq__faq-question {
  font-size: 1.25rem;
  color: #FFF1E8; /* Text Main */
  margin: 0;
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  color: #F3C54D; /* Gold */
  font-weight: bold;
  margin-left: 15px;
  line-height: 1;
}

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

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

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-faq__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #C61F1F; /* Main Color */
  color: #FFF1E8;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-faq__btn-secondary:hover {
  background: #F3C54D;
  color: #2A1212;
  transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
  }

  .page-faq__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .page-faq__accordion-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
    margin-bottom: 30px;
  }

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

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

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

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

  .page-faq__faq-answer p {
    font-size: 0.95rem;
  }

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

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

  .page-faq__cta-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
  }

  .page-faq__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* Ensure all image containers are responsive */
  .page-faq__hero-image-wrapper,
  .page-faq__faq-list,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-faq__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}