/* style/faq.css */

.page-faq {
  background-color: #0A0A0A;
  color: #FFF6D6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0; /* Handled by body padding-top from shared.css */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-faq__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: -100px; /* Pull content up over image */
  padding: 40px;
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-faq__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #FFD36B; /* Glow color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-faq__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Main brand color for questions */
  cursor: pointer;
  background-color: #111111;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question:hover {
  background-color: #1A1A1A;
}

.page-faq__faq-question::-webkit-details-marker, /* Hide default marker */
.page-faq__faq-question::marker {
  display: none;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFD36B;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: "−";
}

.page-faq__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.7;
  border-top: 1px solid #3A2A12;
}

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

.page-faq__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #FFD36B;
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
}

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

.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #111111; /* Card BG */
  color: #F2C14E;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #F2C14E;
  cursor: pointer;
  margin-top: 15px;
}

.page-faq__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  border-color: #F2C14E;
}

.page-faq__grid-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.page-faq__cta-section {
  background-color: #0A0A0A;
  padding: 60px 20px;
  text-align: center;
}

.page-faq__cta-content {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__cta-title {
  font-size: 2em;
  color: #F2C14E;
  margin-bottom: 15px;
  text-shadow: 0 0 6px rgba(242, 193, 78, 0.3);
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 20px 15px !important;
  }

  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-faq__hero-image {
    max-height: 300px;
  }

  .page-faq__hero-content {
    margin-top: -60px;
    padding: 25px 20px;
  }

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

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

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

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

  .page-faq__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-faq__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

  .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-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-faq__grid-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

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

  .page-faq__cta-content {
    padding: 30px 20px;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* General image responsiveness for all images within .page-faq */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images or content */
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Tablet (max-width: 1024px) - General adjustments, if any */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-faq__container {
    padding: 30px;
  }

  .page-faq__hero-content {
    margin-top: -80px;
    padding: 30px;
  }

  .page-faq__main-title {
    font-size: 2.4em;
  }

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

  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__grid-buttons {
    justify-content: center;
  }
}