/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  color: #FFF1E8; /* Main text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #140C0C; /* Dark background for the section */
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 400px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #FFF1E8; /* Light text for dark background */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1rem;
  color: #FFF1E8; /* Light text for dark background */
  margin-bottom: 30px;
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #140C0C; /* Matching body background */
}

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
  color: #FFF1E8; /* Light text for dark background */
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__category-block {
  margin-bottom: 50px;
}

.page-faq__category-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); /* Responsive font size */
  color: #F3C54D; /* Gold color for category titles */
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

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

.page-faq__faq-item {
  background-color: #2A1212; /* Card background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-question {
  display: block;
  padding: 20px 25px;
  color: #FFF1E8; /* Light text for question */
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default summary bullet */
}

.page-faq__faq-question::marker, .page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-question::after {
  content: '−';
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  color: #FFF1E8; /* Light text for answer */
  font-size: 1rem;
  line-height: 1.7;
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact CTA Section */
.page-faq__contact-cta-section {
  padding: 80px 20px;
  background-color: #7E0D0D; /* Deep Red background */
  text-align: center;
}

.page-faq__contact-cta-section .page-faq__section-title {
  color: #FFF1E8; /* Light text for title */
  margin-bottom: 20px;
}

.page-faq__contact-cta-section .page-faq__description {
  color: #FFF1E8; /* Light text for description */
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Light text for button */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 40px 20px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-faq__description {
    font-size: 1rem;
  }
  .page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-faq__category-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
  }
  .page-faq__faq-question {
    font-size: 1.1rem;
  }
  .page-faq__faq-answer {
    font-size: 0.95rem;
  }
  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 30px 15px !important;
    padding-top: 10px !important;
  }
  .page-faq__hero-image-wrapper {
    max-height: 250px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-faq__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-faq__faq-list-section, .page-faq__contact-cta-section {
    padding: 40px 0 !important;
  }
  .page-faq__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-faq__category-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 20px;
  }
  .page-faq__faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }
  .page-faq__faq-question::after {
    right: 20px;
    font-size: 1.3rem;
  }
  .page-faq__faq-answer {
    padding: 0 20px 18px;
    font-size: 0.9rem;
  }
  .page-faq__contact-cta-section {
    padding: 60px 15px !important;
  }
  .page-faq__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px !important;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-faq__description {
    font-size: 0.85rem;
  }
  .page-faq__section-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  .page-faq__category-title {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }
  .page-faq__faq-question {
    font-size: 0.95rem;
    padding: 15px 18px;
  }
  .page-faq__faq-question::after {
    right: 18px;
    font-size: 1.2rem;
  }
  .page-faq__faq-answer {
    font-size: 0.85rem;
    padding: 0 18px 15px;
  }
  .page-faq__cta-button {
    font-size: 0.95rem;
  }
}