/* style/contact.css */

/* Base styles */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  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: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-contact__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green for secondary text */
  border: 2px solid #2E7A4E; /* Border */
}

.page-contact__btn-secondary:hover {
  background: #1E3A2A; /* Divider for hover background */
  color: #F2FFF6; /* Text Main */
  border-color: #57E38D; /* Glow for border hover */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 675px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-contact__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-contact__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(87, 227, 141, 0.1); /* Light glow background */
  padding: 10px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-contact__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  user-select: none;
}

.page-contact__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-contact__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-contact__faq-item[open] > .page-contact__faq-question {
  background-color: #1E3A2A; /* Divider */
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-contact__faq-more-btn {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__location-info {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-contact__location-info p {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__location-map {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  border: 1px solid #2E7A4E; /* Border */
  max-width: 100%;
  display: block;
}

.page-contact__disclaimer {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-top: 30px;
}

/* CTA Bottom Section */
.page-contact__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__cta-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-section {
    padding-bottom: 40px;
  }

  .page-contact__hero-image {
    height: 300px;
    margin-bottom: 20px;
  }

  .page-contact__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

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

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

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

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

  .page-contact__contact-methods, 
  .page-contact__faq-section, 
  .page-contact__location-section, 
  .page-contact__cta-bottom {
    padding: 50px 0;
  }

  .page-contact__method-icon {
    width: 80px;
    height: 80px;
  }

  .page-contact__card-title {
    font-size: 1.3em;
  }

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

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

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

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

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

  /* 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__method-card,
  .page-contact__faq-item,
  .page-contact__location-info,
  .page-contact__cta-bottom .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* 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;
    /* padding-left and right are handled by container */
  }
  
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px; /* Buttons handle their own padding */
    padding-right: 0px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}