/* style/faq.css */

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom */
  background-color: #0D0E12;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-faq__main-title {
  color: #FFB04D; /* Glow color for main title */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Border color */
}

.page-faq__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12; /* Dark background color for contrast */
  transform: translateY(-2px);
}

.page-faq__inline-btn {
  background: #FF8C1A;
  color: #ffffff;
  border: none;
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.page-faq__inline-btn:hover {
  background: #D96800;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1600px;
  margin-top: 30px;
}

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

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0D0E12;
}

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

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

.page-faq__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #17191F;
  color: #FFF3E6;
  font-weight: 600;
  font-size: 1.1rem;
}

.page-faq__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-faq__faq-heading {
  margin: 0;
  color: #FFF3E6;
  font-size: 1.1rem;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFA53A;
}

.page-faq__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF3E6;
  font-size: 1rem;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 500px; /* Adjust as needed, will be overridden by JS scrollHeight */
  padding: 20px 20px 20px;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-faq__contact-promo {
  background-color: #17191F; /* Card BG */
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #A84F0C;
}

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

.page-faq__contact-title {
  color: #FFB04D;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__contact-description {
  color: #FFF3E6;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-faq__copyright {
  text-align: center;
  padding: 20px;
  background-color: #0D0E12;
  color: #FFF3E6;
  font-size: 0.9rem;
  border-top: 1px solid #A84F0C;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

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

  .page-faq__description {
    font-size: 1rem;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__inline-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__content-area,
  .page-faq__contact-promo,
  .page-faq__faq-list,
  .page-faq__faq-item,
  .page-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__hero-image,
  .page-faq__image-content {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section-title,
  .page-faq__contact-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-faq__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

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

  .page-faq__faq-answer {
    font-size: 0.95rem;
    padding: 0 15px;
  }

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

  .page-faq__contact-promo {
    padding: 40px 15px;
  }
}