/* style/support.css */

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

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

.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-support__text-block a {
  color: #EA7C07; /* Login color for links */
  text-decoration: none;
}

.page-support__text-block a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 1920px;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-support__btn-primary:hover {
  background: #d46b00;
  border-color: #d46b00;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Intro Section */
.page-support__intro-section {
  padding: 80px 0;
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark-bg */
}

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

.page-support__feature-item {
  background: rgba(255, 255, 255, 0.05); /* Very subtle light background for items on dark section */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__feature-item p {
  color: #f0f0f0;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #0a0a0a; /* Explicitly dark background for this section */
}

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

.page-support__method-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure cards have enough height for content */
}

.page-support__method-icon {
  width: 250px; /* Min size 200x200, but content image should be larger */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px;
}

.page-support__method-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__method-card p {
  color: #f0f0f0;
  flex-grow: 1; /* Allow paragraph to take available space */
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark-bg */
}

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

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-support__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
}

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

.page-support__faq-answer a {
  color: #EA7C07;
  text-decoration: none;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Explicitly dark background for this section */
}

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

.page-support__guide-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have enough height for content */
}

.page-support__guide-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-support__guide-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  flex-grow: 1;
}

.page-support__guide-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__guide-card p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark-bg */
}

/* Dark and Light Background Classes for Contrast */
.page-support__dark-bg {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #0a0a0a; /* This section is also dark, but using a different background for distinction */
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__container {
    padding: 0 15px; /* Add padding for mobile content */
  }

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    min-width: unset;
  }

  .page-support__intro-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__feedback-section {
    padding: 40px 0;
  }

  .page-support__feature-list,
  .page-support__method-grid,
  .page-support__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__method-card,
  .page-support__guide-card {
    min-height: unset; /* Allow height to adjust on mobile */
  }

  .page-support__method-icon,
  .page-support__guide-image,
  .page-support__hero-image,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size for all content images */
    min-height: 200px !important;
    box-sizing: border-box !important;
  }
  
  .page-support__card,
  .page-support__section,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__hero-description {
    font-size: 0.95em;
  }
  .page-support__feature-title,
  .page-support__method-title,
  .page-support__guide-title {
    font-size: 1.3em;
  }
  .page-support__faq-question {
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    font-size: 1em;
  }
}

/* Image color filter restriction */
.page-support img {
  filter: none; /* Ensure no filter is applied */
}