/* style/support.css */
.page-support {
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Body background from shared.css */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-width: 90%;
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-support__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-support__btn--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-support__btn--primary:hover {
  background-color: #e6c200;
  color: #8B0000;
}

.page-support__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-support__btn--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-support__btn--contact {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
}

.page-support__btn--contact:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

/* Section Titles */
.page-support__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-support__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-support__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-support__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-support__faq-answer {
  font-size: 1em;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-support__faq-answer.active {
  max-height: 300px; /* Adjust as needed */
  padding-top: 15px;
}

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

.page-support__faq-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-support__faq-link:hover {
  color: #e6c200;
}

.page-support__faq-illustration {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-support__contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-support__contact-card {
  background-color: rgba(139, 0, 0, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: 300px;
  border: 1px solid rgba(139, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__contact-icon {
  width: 200px; /* Minimum size */
  height: 150px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-support__contact-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-support__contact-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-support__resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-support__resource-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-support__resource-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }

  .page-support__hero-description {
    font-size: 1.1em;
  }

  .page-support__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-title {
    font-size: 2.2em;
  }

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

  .page-support__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__section-subtitle {
    font-size: 1em;
  }

  .page-support__faq-grid {
    grid-template-columns: 1fr;
  }

  .page-support__contact-methods {
    flex-direction: column;
    align-items: center;
  }

  .page-support__contact-card {
    width: 90%;
  }

  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image handling - must ensure max-width: 100% and height: auto */
  .page-support img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-support {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

  .page-support__hero-description {
    font-size: 0.9em;
  }

  .page-support__hero-content {
    padding: 15px;
  }

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

  .page-support__btn {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__faq-question {
    font-size: 1.2em;
  }

  .page-support__contact-icon {
    width: 150px;
    height: 120px;
  }

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