/* style/contact.css */

/* Custom Colors */
:root {
  --hk79-primary-color: #11A84E;
  --hk79-secondary-color: #22C768;
  --hk79-btn-gradient-start: #2AD16F;
  --hk79-btn-gradient-end: #13994A;
  --hk79-card-bg: #11271B;
  --hk79-background: #08160F;
  --hk79-text-main: #F2FFF6;
  --hk79-text-secondary: #A7D9B8;
  --hk79-border-color: #2E7A4E;
  --hk79-glow-color: #57E38D;
  --hk79-gold-color: #F2C14E;
  --hk79-divider-color: #1E3A2A;
  --hk79-deep-green: #0A4B2C;
}

.page-contact {
  font-family: Arial, sans-serif;
  color: var(--hk79-text-main); /* Default text color for dark body background */
  background-color: var(--hk79-background); /* Ensure consistency with shared body bg */
}

.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(--hk79-deep-green);
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--hk79-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: var(--hk79-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--hk79-gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__info-section {
  padding: 60px 0;
  background-color: var(--hk79-background);
}

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

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

.page-contact__card-title {
  font-size: 1.5em;
  color: var(--hk79-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 0.95em;
  color: var(--hk79-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-contact__card-email a {
  color: var(--hk79-primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin-top: auto; /* Push buttons to bottom of card */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, var(--hk79-btn-gradient-start) 0%, var(--hk79-btn-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, var(--hk79-btn-gradient-end) 0%, var(--hk79-btn-gradient-start) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(var(--hk79-glow-color), 0.4);
}

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

.page-contact__btn-secondary:hover {
  background-color: var(--hk79-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(var(--hk79-primary-color), 0.3);
}

.page-contact__social-media {
  margin-top: 60px;
  text-align: center;
}

.page-contact__social-title {
  font-size: 1.8em;
  color: var(--hk79-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__social-description {
  font-size: 1em;
  color: var(--hk79-text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__social-icon-link img {
  
  
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--hk79-border-color);
  object-fit: cover; /* Ensure images fill the circular space */
}

.page-contact__social-icon-link img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--hk79-glow-color);
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: var(--hk79-deep-green);
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: var(--hk79-card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--hk79-border-color);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1em;
  color: var(--hk79-text-main);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--hk79-border-color);
  border-radius: 8px;
  background-color: var(--hk79-background);
  color: var(--hk79-text-main);
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--hk79-text-secondary);
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: var(--hk79-primary-color);
  box-shadow: 0 0 0 3px rgba(var(--hk79-primary-color), 0.3);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-btn {
  width: auto;
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--hk79-background);
}

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

.page-contact__faq-item {
  background-color: var(--hk79-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hk79-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-contact__faq-question:hover {
  background-color: rgba(var(--hk79-primary-color), 0.1);
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--hk79-gold-color);
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: var(--hk79-text-secondary);
  line-height: 1.6;
}

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

.page-contact__faq-answer a {
  color: var(--hk79-primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--hk79-deep-green);
}

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

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

  .page-contact__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-contact__hero-image {
    max-height: 300px;
  }

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

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

  .page-contact__section-title {
    font-size: 1.8em; /* Adjusted for mobile */
  }

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

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

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__social-icons {
    flex-wrap: wrap;
    gap: 15px;
  }

  .page-contact__social-icon-link img {
    
    
  }

  .page-contact__contact-form {
    padding: 30px 20px;
  }

  .page-contact__form-submit-btn {
    width: 100%;
  }

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

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }

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

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

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  /* Content area images CSS dimensions */
  .page-contact__hero-image {
    width: 100%; /* Ensures it scales */
    height: auto; /* Maintains aspect ratio */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
  }

  /* Ensure no content area img has width/height less than 200px */
  .page-contact__social-icon-link img {
     /* These are small, but they are 'icons' - if they are content images, they would need to be larger. Assuming social icons are shared component type, but still applying min-width for safety if treated as content */
    
    min-
    min-
  }
}

/* General image styling for content areas to meet min-size requirements */
.page-contact img:not(.page-contact__social-icon-link img) {
  min-width: 200px; 
  min-height: 200px; 
  object-fit: cover;
}

.page-contact__hero-image {
  min-width: 200px; 
  min-height: 200px; 
}

/* Ensure no filter is used on images */
.page-contact img {
  filter: none; /* Explicitly prevent any filters */
}

/* Color contrast safety */
.page-contact__dark-bg {
  background-color: var(--hk79-deep-green);
  color: var(--hk79-text-main);
}

.page-contact__card {
  background-color: var(--hk79-card-bg);
  color: var(--hk79-text-main);
}

.page-contact p,
.page-contact li {
  color: var(--hk79-text-secondary);
}

.page-contact__main-title,
.page-contact__section-title,
.page-contact__card-title,
.page-contact__social-title {
  color: var(--hk79-gold-color);
}

.page-contact__form-label {
  color: var(--hk79-text-main);
}

.page-contact__faq-question {
  color: var(--hk79-primary-color);
}

.page-contact__faq-toggle {
  color: var(--hk79-gold-color);
}

.page-contact__faq-answer a,
.page-contact__card-email a {
  color: var(--hk79-primary-color);
}