/* style/contact.css */
/* 
  Body background color: var(--black-color).
  This implies a dark background, so text colors should be light (e.g., #ffffff).
*/

.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--black-color); /* Inherited from shared.css, assumed dark */
}

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

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for dark background */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #000000; /* Dark background for hero */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any potential background elements */
  color: #ffffff;
}

.page-contact__main-title {
  color: #26A9E0; /* Brand color for main title */
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  font-size: clamp(2em, 4vw, 3.5em); /* Example using clamp */
}

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

/* --- Buttons --- */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-contact__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
  background-color: #1a7bbd; /* Darker shade for hover */
  border-color: #1a7bbd;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color for text */
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__hero-cta {
  margin-top: 20px;
  font-size: 1.1em;
}

/* --- Contact Intro Section --- */
.page-contact__contact-intro {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-contact__contact-intro .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__contact-intro .page-contact__section-description {
  color: #333333;
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods {
  padding: 80px 0;
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #ffffff;
}

.page-contact__contact-methods .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__contact-methods .page-contact__section-description {
  color: #f0f0f0;
}

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

.page-contact__method-card {
  background-color: #ffffff; /* Light card background */
  color: #333333; /* Dark text for light background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.page-contact__method-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for images in cards */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-contact__method-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

.page-contact__method-contact-info {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 15px;
}

.page-contact__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__link:hover {
  text-decoration: underline;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* --- Contact Form Section --- */
.page-contact__contact-form-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background */
  color: #333333;
}

.page-contact__contact-form-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__contact-form-section .page-contact__section-description {
  color: #333333;
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  color: #333333;
  background-color: #fcfcfc;
}

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

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

.page-contact__form-submit {
  width: 100%;
  font-size: 1.2em;
  padding: 15px;
  margin-top: 20px;
}

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

.page-contact__faq-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__faq-section .page-contact__section-description {
  color: #f0f0f0;
}

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

.page-contact__faq-item {
  background-color: #1a1a1a; /* Slightly lighter dark background for cards */
  color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden; /* For details tag */
  min-height: 200px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0; /* Brand color for questions */
  background-color: #0d0d0d; /* Darker background for question header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide default details marker */
.page-contact__faq-item summary {
  list-style: none;
}
.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

.page-contact__faq-answer {
  padding: 20px 25px;
  padding-top: 0;
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
  color: #e0e0e0;
}

/* --- CTA Section --- */
.page-contact__cta-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__cta-section .page-contact__section-description {
  color: #333333;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
}

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

  /* Mobile image and video responsive adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset !important; /* Allow smaller images on mobile if needed, but min 200px is global rule */
    min-height: unset !important;
  }
  
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for images, videos, and sections */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__contact-methods,
  .page-contact__contact-form-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__video-section,
  .page-contact__video-container,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  .page-contact__hero-content {
    padding: 0 15px;
  }

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

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

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

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

  .page-contact__form {
    padding: 25px;
  }

  .page-contact__form-submit {
    font-size: 1.1em;
    padding: 12px;
  }

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

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

  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px !important;
  }

  /* Mobile button specific overrides */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .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;
  }
}

@media (max-width: 480px) {
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__main-title {
    font-size: clamp(1.3em, 7vw, 2.2em);
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
}

/* Ensure content area images meet min size requirements */
.page-contact img:not(.page-contact__hero-image) {
  min-width: 200px;
  min-height: 200px;
}
.page-contact__method-icon {
  min-width: 200px;
  min-height: 200px;
}