.page-contact {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Minimal padding-top, relying on body for --header-offset */
}

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

.page-contact__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 40px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1920 / 600;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

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

.page-contact__main-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-contact__description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-contact__section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-contact__info-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__info-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
}

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

.page-contact__card-text {
  font-size: 1rem;
  color: #FFF3E6;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #17191F;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #A84F0C;
  border-radius: 5px;
  background-color: #0D0E12;
  color: #FFF3E6;
  font-size: 1rem;
}

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

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-contact__submit-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-contact__map-section {
  padding: 60px 0;
  background-color: #0D0E12;
  text-align: center;
}

.page-contact__map-embed {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px auto;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  overflow: hidden;
}

.page-contact__map-image {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Ensure minimum height */
  object-fit: cover;
}

.page-contact__map-description {
  font-size: 1rem;
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-contact__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-contact__description {
    font-size: 1rem;
  }

  .page-contact__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px);
  }

  .page-contact__hero-image,
  .page-contact__map-image {
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
  
  /* Ensure all content area images are responsive and not too small */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure content images are not smaller than 200px */
    min-height: 200px; /* Ensure content images are not smaller than 200px */
  }
}

@media (max-width: 549px) {
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__hero-content {
    padding: 15px;
  }

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