/* style/contact.css */

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

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

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

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

.page-contact__link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
}

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

/* 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;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #000080; /* Dark blue text */
  border: 2px solid #FFD700;
}

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

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

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.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: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

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

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

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

/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure dark background */
}

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

.page-contact__channel-card {
  background-color: #000080; /* Dark blue card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small, min 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__channel-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__contact-detail {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
  max-width: 250px;
}

.page-contact__social-list li {
  margin-bottom: 5px;
  font-size: 1em;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #000080; /* Dark blue form background */
  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; /* Gold label text */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #FFD700; /* Gold border */
  border-radius: 5px;
  background-color: #0a0a0a; /* Dark input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
}

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

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

.page-contact__faq-item {
  background-color: #000080; /* Dark blue FAQ item background */
  margin-bottom: 15px;
  border-radius: 8px;
  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;
  cursor: pointer;
  background-color: #000080; /* Dark blue for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-contact__faq-question:hover {
  background-color: #0000a0; /* Slightly lighter blue on hover */
}

.page-contact__faq-heading {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700; /* Gold for FAQ question text */
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate for '+' to 'x' or similar */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #000050; /* Slightly darker blue for answer background */
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value for expansion */
  padding: 20px;
}

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

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

.page-contact__map-container {
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #000080;
  padding: 20px;
  text-align: center;
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-contact__address-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #000080; /* Dark blue background */
  text-align: center;
}

.page-contact__cta-text {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .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-intro {
    font-size: 0.95em;
  }
  .page-contact__form-section {
    padding: 60px 0;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__faq-section {
    padding: 60px 0;
  }
  .page-contact__location-section {
    padding: 60px 0;
  }
  .page-contact__cta-section {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__channels-grid,
  .page-contact__channel-card,
  .page-contact__form-section,
  .page-contact__contact-form,
  .page-contact__faq-section,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__location-section,
  .page-contact__map-container,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .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;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .page-contact__cta-section .page-contact__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-section {
    height: 400px;
  }
}