/* style/contact.css */

/* Base styles and color palette application */
.page-contact {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background); /* #08160F */
  line-height: 1.6;
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--background);
  text-align: center;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
}

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

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-contact__btn-secondary {
  background: var(--background); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-contact__btn-secondary:hover {
  background: var(--deep-green); /* #0A4B2C */
  color: var(--text-main);
  border-color: var(--glow); /* #57E38D */
}

.page-contact__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 80px 20px;
  background-color: var(--background);
}

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

.page-contact__channel-card {
  background-color: var(--card-bg); /* #11271B */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--divider); /* #1E3A2A */
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too wide */
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-contact__channel-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__channel-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__email-link,
.page-contact__phone-link,
.page-contact__link {
  color: var(--glow); /* #57E38D */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover,
.page-contact__link:hover {
  color: var(--gold); /* #F2C14E */
  text-decoration: underline;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 20px;
  background-color: var(--deep-green); /* #0A4B2C */
}

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

.page-contact__faq-item {
  background-color: var(--card-bg); /* #11271B */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--divider);
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-contact__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter hover for dark background */
}

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

.page-contact__faq-toggle {
  font-size: 1.5rem;
  margin-left: 20px;
  color: var(--glow); /* #57E38D */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Tips Section */
.page-contact__tips-section {
  padding: 80px 20px;
  background-color: var(--background);
}

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

.page-contact__tip-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__tip-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}