/* style/contact.css */
.page-contact {
  color: #333333; /* Dark text for light body background */
}

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF; /* Light text on dark overlay */
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

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

.page-contact__methods-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-contact__methods-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-contact__methods-intro {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-contact__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-contact__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #000000; /* Primary button color */
  color: #FFFFFF; /* Light text for primary button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.95em;
  margin-top: auto; /* Push button to bottom */
}

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

.page-contact__email-address {
  font-size: 1.1em;
  font-weight: bold;
  color: #000000;
  margin-top: 10px;
}

.page-contact__form-section {
  background-color: #F0F0F0;
  padding: 60px 20px;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.page-contact__form-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  text-align: center;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
}

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

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
}

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

.page-contact__form-submit-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start; /* Align button to the left */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__methods-title {
    font-size: 2.5em;
  }
  .page-contact__form-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__methods-section,
  .page-contact__form-section {
    padding: 40px 15px;
  }
  .page-contact__methods-title {
    font-size: 2em;
  }
  .page-contact__methods-intro {
    font-size: 0.95em;
  }
  .page-contact__contact-cards {
    grid-template-columns: 1fr;
  }
  .page-contact__card-image {
    height: 200px;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__card-description {
    font-size: 0.9em;
  }
  .page-contact__form-title {
    font-size: 2em;
  }
  .page-contact__form-description {
    font-size: 1em;
  }
  .page-contact__form-container {
    padding: 30px;
  }
  .page-contact__form-submit-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  /* Ensure content images do not overflow on mobile */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__methods-title {
    font-size: 1.8em;
  }
  .page-contact__form-title {
    font-size: 1.8em;
  }
  .page-contact__form-submit-button {
    width: 100%;
    align-self: stretch;
  }
}