/* style/contact.css */

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

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

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

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

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust as needed */
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand gradient */
  padding-top: var(--header-offset, 120px); /* Desktop fixed header spacing */
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px; /* Ensure image doesn't stretch too wide */
  display: block;
  object-fit: cover;
  margin-bottom: 40px; /* Space between image and content */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-content-wrapper {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px; /* Space below content */
}

.page-contact__main-title {
  color: #0A0A0A; /* Dark text for light background */
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-contact__intro-text {
  color: #333333; /* Darker text for readability on lighter background */
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* --- CTA Buttons --- */
.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__submit-button,
.page-contact a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-contact__btn-primary,
.page-contact__submit-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for light button background */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-primary:hover,
.page-contact__submit-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-contact__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Brand color text */
  border: 2px solid #F2C14E; /* Brand color border */
}

.page-contact__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-contact__method-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #3A2A12; /* Border color */
}

.page-contact__card-title {
  color: #FFD36B; /* Auxiliary color for card titles */
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

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

/* --- Contact Form Section --- */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

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

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for labels */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 5px;
  background-color: #0A0A0A; /* Dark background for inputs */
  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; /* Brand color on focus */
  outline: none;
  box-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
}

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

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

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

.page-contact__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Brand color for toggle icon */
}

.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-out, padding 0.3s ease-out;
  color: #FFF6D6;
}

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

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

.page-contact__faq-answer a {
  color: #F2C14E;
  text-decoration: none;
}

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

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

/* --- Location Section --- */
.page-contact__location-section {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-contact__map-container {
  margin: 50px auto 30px auto;
  max-width: 900px;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
}

.page-contact__map-container iframe {
  border: none;
}

.page-contact__address-info {
  text-align: center;
  font-style: normal;
  margin-top: 30px;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-contact__address-info strong {
  color: #F2C14E;
  display: block;
  margin-bottom: 5px;
  font-size: 1.2em;
}

.page-contact__address-link {
  color: #F2C14E;
  text-decoration: none;
}

.page-contact__address-link:hover {
  text-decoration: underline;
}

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

/* --- Register CTA Section --- */
.page-contact__register-cta {
  padding: 80px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
  text-align: center;
}

/* --- Image specific styling --- */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__intro-text {
    font-size: 1.1em;
  }
}

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

  .page-contact__hero-section {
    min-height: auto;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

  .page-contact__intro-text {
    font-size: 1em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__submit-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;
  }

  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__map-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-contact__contact-methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__location-section,
  .page-contact__register-cta {
    padding: 40px 0;
  }

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

  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 0.9em;
  }

  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}