/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  text-align: center;
  background-color: #0A0A0A; /* Background */
}

.page-faq__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px; /* Space between image and content */
  object-fit: cover;
  border-radius: 8px;
}

.page-faq__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure content takes full width up to max-width */
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Clamp for responsive H1, not fixed */
  font-weight: bold;
  color: #F2C14E; /* Primary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
}

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

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #0A0A0A; /* Background */
}

.page-faq__accordion-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-faq__faq-category {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 30px;
  box-sizing: border-box;
}

.page-faq__category-title {
  font-size: 2em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 25px;
  text-align: center;
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-item:last-of-type {
  border-bottom: none;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  color: #FFF6D6; /* Text Main */
  transition: color 0.3s ease;
}

.page-faq__faq-question:hover {
  color: #FFD36B; /* Glow on hover */
}

.page-faq__faq-question h3 {
  font-size: 1.2em;
  margin: 0;
  color: inherit; /* Inherit color from parent */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg); /* Change to '-' visually */
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6; /* Text Main */
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px;
}

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

.page-faq__faq-answer a {
  color: #FFD36B; /* Glow for links */
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #F2C14E; /* Primary color on hover */
}

/* Call to Action Section */
.page-faq__call-to-action {
  background-color: #111111; /* Card BG */
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #3A2A12; /* Border */
}

.page-faq__cta-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-faq__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%; /* Ensure container takes full width for wrapping */
  max-width: 500px; /* Limit width for desktop */
  box-sizing: border-box;
}

.page-faq__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
}

.page-faq__btn-secondary:hover {
  background: #F2C14E; /* Primary color background on hover */
  color: #111111; /* Dark text for contrast */
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 0 20px;
  }
  .page-faq__faq-category {
    padding: 25px;
  }
  .page-faq__category-title {
    font-size: 1.8em;
  }
}

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

  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

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

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

  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq 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: 12px 20px; /* Adjust padding for mobile buttons */
  }
  
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-faq__content-area {
    padding: 30px 15px;
  }

  .page-faq__faq-category {
    padding: 20px;
  }

  .page-faq__category-title {
    font-size: 1.5em;
  }

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

  .page-faq__faq-answer {
    padding: 0 10px; /* Adjust padding for mobile */
  }

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

  .page-faq__call-to-action {
    padding: 40px 15px;
  }

  .page-faq__cta-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

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

  /* All images must be responsive */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* This page does not have a video section at the top, but keeping the rule for safety if one were added later */
  .page-faq__video-section {
    padding-top: 10px !important; 
  }
}

/* Ensure no filter on images */
.page-faq img {
  filter: none !important;
}

/* Color contrast enforcement */
/* Since body background is #0A0A0A (dark), default text is #FFF6D6 (light) */
/* Card background is #111111 (dark), text is #FFF6D6 (light) */
/* Primary button background is gradient (bright), text is #111111 (dark) */
/* Secondary button background is transparent (dark), text is #F2C14E (bright) */
/* These combinations ensure contrast based on the provided Black Gold palette. */

/* Text colors for paragraphs and list items */
.page-faq p,
.page-faq li {
  color: #FFF6D6; /* Text Main */
}

/* Links within content */
.page-faq a {
  color: #FFD36B; /* Glow for links */
  text-decoration: underline;
}

.page-faq a:hover {
  color: #F2C14E; /* Primary color on hover */
}