/* style/contact.css */

/* Base Styles & Typography */
.page-contact {
  color: #ffffff; /* Dark background #0a0a0a, so light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a;
}

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

.page-contact__section-title {
  font-size: 2.8em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background-color: #FF4500;
  color: #ffffff;
  border: 2px solid #FF4500;
}

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FF4500;
  border: 2px solid #FF4500;
}

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

/* 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);
}

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

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FF4500; /* Ensure high contrast */
}

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

/* Contact Info Section */
.page-contact__contact-info {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-contact__method-card {
  background-color: #1e1e1e; /* Slightly lighter dark for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-contact__method-text {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__methods-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #1e90ff; /* Auxiliary color as background */
  color: #ffffff;
}

.page-contact__form-section .page-contact__section-title {
  color: #ffffff;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent dark overlay */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #FF4500;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FF4500;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.5);
}

.page-contact__form-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.2em;
  border: none;
  cursor: pointer;
  background-color: #FF4500;
  color: #ffffff;
}

.page-contact__form-submit-btn:hover {
  background-color: #e63e00;
}

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

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

.page-contact__address-info {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-contact__address-info p {
  margin-bottom: 15px;
}

.page-contact__map-placeholder {
  flex: 2;
  min-width: 400px;
  max-width: 800px;
  height: 450px; /* Fixed height for map */
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.page-contact__faq-item {
  background-color: #2c2c2c;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #3a3a3a;
  transition: background-color 0.3s ease;
}

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

.page-contact__faq-title {
  font-size: 1.2em;
  color: #FF4500;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  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: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px 25px 25px;
}

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

.page-contact__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.page-contact__commitment-section .page-contact__section-title {
  color: #ffffff;
}

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

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

.page-contact__commitment-item {
  background-color: rgba(0, 0, 0, 0.3); /* Dark overlay for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-contact__commitment-text {
  color: #f0f0f0;
}

.page-contact__commitment-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Image and Video Responsive Styles (Global) */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__map-placeholder {
  height: auto; /* Override fixed height for responsiveness */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-contact {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-contact__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

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

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

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

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

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

  .page-contact__methods-grid,
  .page-contact__location-content,
  .page-contact__commitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__map-placeholder {
    min-width: unset;
    height: 300px; /* Adjust height for mobile map */
  }

  .page-contact__address-info {
    min-width: unset;
    text-align: center;
  }

  .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 !important;
    padding-right: 15px !important;
  }

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

  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content area image size constraint */
  .page-contact__methods-image,
  .page-contact__map-image,
  .page-contact__faq-image,
  .page-contact__commitment-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* FAQ specific mobile adjustments */
  .page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-title {
    font-size: 1.1em;
  }

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

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