/* style/contact.css */

/* Base Styles for Contact Page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-contact__hero-cta-button:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

.page-contact__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  z-index: 0;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

.page-contact__info-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-contact__info-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
}

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

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

.page-contact__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  width: 100%;
}

.page-contact__contact-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-contact__contact-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__contact-link:hover {
  color: #E0A800;
  text-decoration: underline;
}

.page-contact__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Section */
.page-contact__form-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 30px;
  background-color: #000000;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  text-align: center;
}

.page-contact__form-title {
  font-size: 2.2em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-contact__form-group {
  text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444444;
  border-radius: 8px;
  background-color: #1A1A1A;
  color: #FFFFFF;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__form-submit-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 25px;
  border-radius: 8px;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: center;
  max-width: 200px;
}

.page-contact__form-submit-button:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

/* Call to Action Section */
.page-contact__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.page-contact__cta-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.page-contact__cta-register-button {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-register-button:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

.page-contact__cta-login-button {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #000000;
  cursor: pointer;
}

.page-contact__cta-login-button:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.page-contact__cta-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 30px 15px;
    margin: 30px auto;
  }

  .page-contact__hero-cta-button,
  .page-contact__form-submit-button,
  .page-contact__cta-register-button,
  .page-contact__cta-login-button {
    padding: 12px 20px;
    font-size: 1em;
  }

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

  /* Ensure images do not overflow on mobile */
  .page-contact__hero-image,
  .page-contact__card-image,
  .page-contact__cta-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content area images are small */
  .page-contact img {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: contain; /* Adjust as needed */
  }

  /* Specific overrides for content area images, ensuring they are not too small */
  .page-contact__card-image,
  .page-contact__cta-image {
    width: 100%; /* Occupy full width */
    height: auto;
    max-width: 100%; /* Prevent overflow */
  }
}

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

  .page-contact__info-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }

  .page-contact__info-card {
    padding: 20px;
  }
}