/* style/contact.css */

/* Base styles for page-contact */
.page-contact {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom before footer */
}

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

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency for overlay */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: bold;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-contact__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  max-width: 700px;
  margin: 0 auto;
}

/* General Section Styling */
.page-contact__section {
  padding: 40px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-contact__section:last-of-type {
  border-bottom: none;
}

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

.page-contact__section-title {
  font-size: 2.2rem;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-contact__subtitle {
  font-size: 1.5rem;
  color: #2AD16F; /* Bright green for subtitles */
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__text-block {
  font-size: 1rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

/* Card Grid for Channels */
.page-contact__channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

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

.page-contact__card-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold color for card titles */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-contact__card-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color for card text */
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-contact__email-link {
  color: #2AD16F; /* Bright green for links */
  text-decoration: none;
  font-weight: bold;
}

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

.page-contact__note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  color: #A7D9B8;
}

/* List Styling */
.page-contact__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-contact__list-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__list-item .page-contact__subtitle {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2AD16F; /* Bright green for list item titles */
}

.page-contact__list-item .page-contact__text-block {
  margin-bottom: 0;
}

/* 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, transform 0.2s ease;
  margin-top: auto; /* Push buttons to bottom of card */
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure button adapts */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-contact__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Dark background on hover */
  transform: translateY(-2px);
}

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

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 30px;
}

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

.page-contact__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2AD16F; /* Bright green for FAQ questions */
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker,
.page-contact__faq-item summary::marker {
  display: none;
}

.page-contact__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold color for toggle icon */
}

.page-contact__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color for answers */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    max-width: 700px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

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

  .page-contact__subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    min-height: 400px;
  }

  .page-contact__hero-content {
    padding: 15px;
    margin: 0 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-contact__intro-text {
    font-size: 1rem;
  }

  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-contact__subtitle {
    font-size: 1.2rem;
  }

  .page-contact__channel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__card {
    padding: 20px;
  }

  .page-contact__list-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-contact__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px auto !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Image responsive */
  .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__channel-card {
    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 handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-contact__section-title {
    font-size: 1.5rem;
  }

  .page-contact__subtitle {
    font-size: 1.1rem;
  }
}