/* style/contact.css */

/* General Styles */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
}

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

.page-contact__dark-bg {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-contact__light-bg {
  background-color: #f2fff6; /* A very light green, ensuring contrast with dark text */
  color: #333333; /* Dark text for light background */
}

.page-contact__text-contrast-fix {
  color: #333333 !important;
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold); /* Use gold for titles on dark background */
  line-height: 1.2;
}

.page-contact__light-bg .page-contact__section-title {
  color: var(--deep-green); /* Dark green for titles on light background */
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-contact__light-bg .page-contact__section-description {
  color: #555555; /* Darker grey for description on light background */
}

.page-contact a {
  color: var(--glow);
  text-decoration: none;
}

.page-contact a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
}

.page-contact__btn-secondary:hover {
  background-color: var(--glow);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Deep green background with transparency */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-contact__main-title {
  font-size: 3.2em;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
  line-height: 1.1;
}

.page-contact__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-contact__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
}

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

.page-contact__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 1.6em;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 1em;
  color: var(--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: #ffffff; /* White background for FAQ items */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: var(--deep-green);
  list-style: none; /* For details/summary */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #555555;
}

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

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

/* Call to Action Section */
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-contact__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-contact__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px;
  }
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 50px 0;
  }
  .page-contact__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__card {
    padding: 20px;
  }
  .page-contact__card-image {
    max-width: 180px;
  }
  .page-contact__card-title {
    font-size: 1.4em;
  }
  .page-contact__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Image responsive rules */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers with images/buttons are responsive */
  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__method-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__cta-group {
    flex-direction: column;
  }
}