/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF; /* Explicitly set background for content area */
}

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

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-contact__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

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

.page-contact__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-contact__hero-button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

.page-contact__hero-button--primary:hover {
  background-color: #e0a53a;
}

.page-contact__channels-section, .page-contact__form-section, .page-contact__business-section, .page-contact__media-section, .page-contact__location-section, .page-contact__commitment-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-contact__channels-section {
  background-color: #f9f9f9;
}

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

.page-contact__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-contact__channel-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__card-icon {
  width: 400px; /* Enforce minimum size for content images */
  height: 300px; /* Enforce minimum size for content images */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

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

.page-contact__card-button:hover {
  background-color: #e0a53a;
}

.page-contact__form-section {
  background-color: #FFFFFF;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333333;
}

.page-contact__form-input, .page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  background-color: #FFFFFF;
  color: #333333;
}

.page-contact__form-input::placeholder, .page-contact__form-textarea::placeholder {
  color: #999999;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #e0a53a;
}

.page-contact__business-info, .page-contact__media-info {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-contact__business-text, .page-contact__media-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-contact__business-email-link, .page-contact__media-email-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__business-email-link:hover, .page-contact__media-email-link:hover {
  text-decoration: underline;
}

.page-contact__business-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-contact__business-button:hover {
  background-color: #e0a53a;
}

.page-contact__location-map {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Enforce minimum size for content image */
  min-height: 200px; /* Enforce minimum size for content image */
}

.page-contact__location-address, .page-contact__location-note {
  text-align: center;
  font-size: 1.1em;
  color: #555555;
  margin-top: 10px;
}

.page-contact__commitment-text {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 20px auto;
  text-align: center;
}

.page-contact__commitment-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 30px;
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-contact__channel-card, .page-contact__form {
    padding: 20px;
  }

  .page-contact__card-icon {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images scale down but maintain min size if needed */
    max-height: 300px;
  }

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

  /* Enforce min-size for all content images in mobile */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__channels-section, .page-contact__form-section, .page-contact__business-section, .page-contact__media-section, .page-contact__location-section, .page-contact__commitment-section {
    padding: 40px 0;
  }

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