/* style/contact.css */

.page-contact {
  background-color: var(--background-color, #FFFFFF); /* Custom background color, defaulting to white */
  color: #333333; /* Dark text for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  color: #FFFFFF; /* White text on hero overlay */
  padding: 40px 20px; /* Add some padding for smaller screens */
}

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

.page-contact__hero-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-contact__cta-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-contact__cta-button--primary:hover {
  background-color: #e0a33c;
  border-color: #e0a33c;
}

.page-contact__cta-button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FFFFFF;
  margin-left: 20px;
}

.page-contact__cta-button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* General Section Styling */
.page-contact__details-section,
.page-contact__faq-section,
.page-contact__location-section,
.page-contact__join-us-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #FFFFFF; /* Ensure sections have white background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  border: 1px solid #eee;
}

.page-contact__method-icon {
  width: 200px; /* Minimum size requirement for display */
  height: 150px; /* Minimum size requirement for display */
  object-fit: contain;
  margin: 0 auto 20px auto; /* Center icon */
  display: block;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-contact__method-description {
  color: #666666;
  margin-bottom: 20px;
}

.page-contact__contact-info {
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-contact__method-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #000000;
}

.page-contact__method-button:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-contact__method-button--accent {
  background-color: #FCBC45;
  border-color: #FCBC45;
}

.page-contact__method-button--accent:hover {
  background-color: #e0a33c;
  border-color: #e0a33c;
}

/* FAQ Section */
.page-contact__faq-image {
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  max-width: 100%; /* Ensure responsiveness */
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  object-fit: cover;
}

/* Location Section */
.page-contact__address {
  font-style: normal;
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-contact__map-placeholder {
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 30px;
}

.page-contact__map-image {
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  max-width: 100%; /* Ensure responsiveness */
  height: auto;
  display: block;
  object-fit: cover;
}

/* Join Us Section */
.page-contact__join-us-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Ensure all content images meet minimum size requirements */
.page-contact img {
  min-width: 200px;
  min-
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset); /* Mobile specific header offset */
  }

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

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

  .page-contact__cta-button {
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }

  .page-contact__cta-button--secondary {
    margin-left: 0; /* Remove margin for stacking */
  }

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

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

  /* Override specific image widths/heights to ensure responsiveness without being too small */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-contact__hero-image {
    min-height: 400px; /* Adjust hero image min-height for mobile */
  }

  .page-contact__method-icon {
    width: 200px; /* Maintain minimum size */
    height: 150px;
  }

  .page-contact__faq-image,
  .page-contact__map-image {
    width: 100%;
    height: auto;
  }

  .page-contact__join-us-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-overlay {
    padding: 20px;
  }

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

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