/* style/support.css */
/* 
  Global Styles for .page-support
  Body background is #121212 (dark), so main text color should be light (#f0f0f0)
*/
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body or shared, ensuring dark background */
}

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

.page-support__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support__section-description {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  padding-top: calc(var(--header-offset, 120px) + 80px); /* Account for fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Blend brand colors */
  min-height: 600px;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
  filter: brightness(0.7);
}

.page-support__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-support__main-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #FFD700;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f5f5f5;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  text-align: center;
}

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

.page-support__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__btn-secondary:hover {
  background: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-support__method-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-support__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-support__method-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-support__method-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-support__method-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__method-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  background: #FFD700;
  color: #8B0000;
}

.page-support__method-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
  border: 1px solid #3a3a3a;
  border-top: none;
}

.page-support__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

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

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

.page-support__resource-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

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

.page-support__resource-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #3a3a3a;
}

.page-support__resource-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 20px 20px 10px;
}

.page-support__resource-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__resource-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-support__resource-text {
  font-size: 16px;
  color: #cccccc;
  margin: 0 20px 20px;
  flex-grow: 1;
}

/* Contact Form Section */
.page-support__contact-form-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-support__contact-form {
  max-width: 700px;
  margin: 50px auto 0;
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-support__form-group {
  margin-bottom: 25px;
}

.page-support__form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: #f0f0f0;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #888888;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

.page-support__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-support__submit-button {
  display: block;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 8px;
  background: #FFD700;
  color: #8B0000;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__submit-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 48px;
  }
  .page-support__section-title {
    font-size: 34px;
  }
  .page-support__hero-description,
  .page-support__section-description {
    font-size: 17px;
  }
  .page-support__methods-grid,
  .page-support__resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }
  .page-support__main-title {
    font-size: 38px;
    margin-bottom: 20px;
  }
  .page-support__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-support__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 14px 25px;
    font-size: 17px;
  }

  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 15px;
  }
  .page-support__container {
    padding: 20px 15px;
  }

  .page-support__methods-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-support__method-icon {
    width: 100px !important;
    height: 100px !important;
  }
  .page-support__method-title {
    font-size: 22px;
  }
  .page-support__method-text {
    font-size: 15px;
  }

  .page-support__faq-list {
    margin-top: 30px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-question h3 {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
    margin-left: 15px;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px !important;
  }
  .page-support__faq-answer p {
    font-size: 15px;
  }

  .page-support__resource-image {
    height: 180px;
  }
  .page-support__resource-title {
    font-size: 20px;
    margin: 15px 15px 8px;
  }
  .page-support__resource-text {
    font-size: 15px;
    margin: 0 15px 15px;
  }

  .page-support__contact-form {
    padding: 30px 20px;
  }
  .page-support__form-group {
    margin-bottom: 20px;
  }
  .page-support__form-label {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .page-support__form-input,
  .page-support__form-textarea {
    padding: 12px;
    font-size: 15px;
  }
  .page-support__submit-button {
    padding: 16px;
    font-size: 18px;
  }

  /* Image responsiveness for mobile */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__method-icon {
    max-width: 100% !important;
    width: 100px !important;
    height: 100px !important;
  }
  .page-support__resource-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers handle overflow */
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__contact-form-section,
  .page-support__container,
  .page-support__cta-buttons,
  .page-support__methods-grid,
  .page-support__resource-card,
  .page-support__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}