/* style/contact.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General page styling */
.page-contact {
  color: #FFF6D6; /* Text Main color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0A0A0A; /* Body background from shared.css */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__hero-cta-button,
.page-contact__channel-button,
.page-contact__submit-button,
.page-contact__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #0A0A0A; /* Dark text for bright button */
  border: none;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover,
.page-contact__hero-cta-button:hover,
.page-contact__channel-button:hover,
.page-contact__submit-button:hover,
.page-contact__cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Hero Section */
.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* For fixed header */
  background: #0A0A0A; /* Dark background to match body */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 40px 15px;
    box-sizing: border-box;
}

.page-contact__hero-text-content {
    text-align: center;
    max-width: 700px;
}

.page-contact__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size clamp */
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-contact__hero-image-container {
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Contact Channels Section */
.page-contact__contact-channels-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-contact__channel-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__channel-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Glow */
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-link {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: underline;
}

.page-contact__email-link:hover {
    color: #F2C14E;
}

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

.page-contact__faq-list {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111;
  color: #FFF6D6;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #1a1a1a;
}

.page-contact__faq-title {
  margin: 0;
  color: #FFF6D6;
}

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

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

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

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important;
  padding: 20px 25px;
}

.page-contact__faq-answer p {
  margin-bottom: 0;
  color: #FFF6D6;
}

/* Feedback Section */
.page-contact__feedback-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-contact__feedback-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFF6D6;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 5px;
  background-color: #0A0A0A; /* Input background */
  color: #FFF6D6;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #666;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #F2C14E;
  outline: none;
}

.page-contact__submit-button {
  width: auto;
  min-width: 180px;
  padding: 12px 25px;
  margin-top: 10px;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #F2C14E; /* Main brand color for CTA background */
  text-align: center;
}

.page-contact__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-contact__cta-title {
  font-size: 2.2em;
  color: #0A0A0A; /* Dark text for bright background */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__cta-description {
  font-size: 1.1em;
  color: #0A0A0A; /* Dark text for bright background */
  margin-bottom: 30px;
  max-width: 800px;
}

/* Responsive design */
@media (min-width: 769px) {
    .page-contact__hero-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .page-contact__hero-text-content {
        text-align: left;
    }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: auto;
    padding-bottom: 40px;
  }

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

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

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

  .page-contact__channel-card {
    padding: 25px;
  }

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

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

  .page-contact__feedback-form {
    padding: 25px;
  }

  .page-contact__cta-title {
    font-size: 1.8em;
  }
  
  /* Mobile image and container responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__contact-channels-section,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__cta-section,
  .page-contact__channel-card,
  .page-contact__faq-item,
  .page-contact__feedback-form,
  .page-contact__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-contact__btn-primary,
  .page-contact__hero-cta-button,
  .page-contact__channel-button,
  .page-contact__submit-button,
  .page-contact__cta-button,
  .page-contact a[class*="button"],
  .page-contact 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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* If multiple buttons are in a flex container, make them stack */
  .page-contact__cta-content {
    flex-direction: column;
    gap: 15px;
  }

  /* Specific padding for hero section on mobile, if different from desktop */
  .page-contact__hero-section {
    padding-top: var(--header-offset, 100px) !important;
  }
}