/* style/contact.css */

/* Base Styles */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css #121212 */
}

.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: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-contact__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #121212; /* Dark text for gold background */
  border-color: #FFD700;
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border-color: #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #121212; /* Dark text for gold background */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(0, 0, 0, 0.9)); /* Dark red to black overlay */
  z-index: -1;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background-color: #2a2a2a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #8B0000;
  border-radius: 5px;
  background-color: #3a3a3a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

.page-contact__form-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-contact__form-illustration {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

.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: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-contact__channel-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  min-width: 200px; /* Enforce min size */
}

.page-contact__channel-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

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

.page-contact__faq-item {
  background-color: #2a2a2a;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #3a3a3a;
  border-bottom: 1px solid #8B0000;
}

.page-contact__faq-question:hover {
  background-color: #4a4a4a;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

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

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
  padding-top: 0;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-contact__faq-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-contact__commitment-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-contact__commitment-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__commitment-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-contact__final-cta {
  font-size: 1.2em;
  color: #ffffff;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-contact__social-icon-link {
  display: block;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  max-width: 100%;
  min-width: 200px; /* Enforce min size */
}

.page-contact__social-banner {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 50px;
  display: block;
  max-width: 100%;
  min-width: 200px; /* Enforce min size */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    height: 60vh;
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-contact__form-wrapper {
    flex-direction: column;
  }

  .page-contact__contact-form,
  .page-contact__form-image-container {
    max-width: 100%;
  }

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-contact__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__social-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* Force responsive images, videos, and containers */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-wrapper,
  .page-contact__channels-grid,
  .page-contact__commitment-grid,
  .page-contact__faq-grid,
  .page-contact__social-links,
  .page-contact__button-group,
  .page-contact__video-section, /* Ensure video section also respects mobile width */
  .page-contact__video-container, 
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Specific override for hero section padding to avoid double top padding if shared.css handles body */
  .page-contact__hero-section {
    padding-top: 0 !important; 
  }
  
  /* Ensure content area images maintain min size but scale */
  .page-contact__form-illustration,
  .page-contact__channel-icon,
  .page-contact__commitment-image,
  .page-contact__social-icon,
  .page-contact__social-banner {
    min-width: 200px !important; /* Apply min-width but allow max-width: 100% */
    max-width: 100% !important;
    width: auto !important; /* Allow auto width to respect aspect ratio with max-width */
    height: auto !important;
  }
}

/* Color Contrast Fixes (if needed) */
.page-contact__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #121212;
  color: #ffffff;
}

/* Ensure all text elements have appropriate contrast */
.page-contact h1, .page-contact h2, .page-contact h3, .page-contact h4, .page-contact h5, .page-contact h6 {
  color: #FFD700; /* Gold for titles */
}

.page-contact p, .page-contact li {
  color: #f0f0f0; /* Light grey for body text on dark backgrounds */
}