/* style/support.css */

/* Base styles for the help center page */
.page-support {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: #0A0A0A; /* Body background color */
  line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  text-align: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 10px;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}

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

/* Primary Button */
.page-support__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

/* Content Area */
.page-support__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-support__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Main color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-support p {
  margin-bottom: 1em;
  color: #FFF6D6;
}

.page-support a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-support a:hover {
  color: #F2C14E;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #111111; /* Card BG */
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: #0A0A0A; /* Background color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #1d1d1d;
}

.page-support__faq-title {
  font-size: 1.2em;
  color: #F2C14E;
  margin: 0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

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

/* Contact CTA Section */
.page-support__contact-cta {
  text-align: center;
  padding: 60px 20px;
}

.page-support__contact-cta .page-support__section-title {
  color: #F2C14E;
}

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

/* Secondary Button */
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E; /* Main color as border */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-2px);
}

.page-support__note {
  margin-top: 20px;
  font-style: italic;
  color: #FFF6D6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-image {
    max-height: 400px;
  }
  .page-support__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-image {
    max-height: 300px;
  }
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-support__description {
    font-size: 1em;
  }
  .page-support__btn-primary, .page-support__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__faq-title {
    font-size: 1.1em;
  }
  
  /* Mobile specific overrides with !important */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__contact-cta,
  .page-support__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }

  /* Buttons responsive */
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support 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;
    padding-right: 15px;
  }
  
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__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; /* Add gap between stacked buttons */
  }
}

@media (max-width: 480px) {
  .page-support__hero-image {
    max-height: 250px;
  }
  .page-support__main-title {
    font-size: clamp(1.2em, 8vw, 2em);
  }
  .page-support__description {
    font-size: 0.9em;
  }
  .page-support__btn-primary, .page-support__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-title {
    font-size: 1em;
  }
}