/* style/contact.css */
.page-contact {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background-color: #f8f8f8;
  padding-bottom: 40px;
}

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

.page-contact__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__info-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

.page-contact__info-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__info-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__card-description {
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__button {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-contact__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__button--login:hover {
  background-color: #e0a53b;
}

.page-contact__button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__button--register:hover {
  background-color: #e0a53b;
}

.page-contact__form-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.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: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
}

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

.page-contact__submit-button {
  background-color: #000000;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
}

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

.page-contact__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-contact__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with auxiliary color */
}

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

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

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

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

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

  .page-contact__info-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px); /* Adjust for padding */
  }

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

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

  /* Ensure images in content area are responsive and don't overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}