/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from shared, explicitly set for clarity */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-contact__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-contact__hero-image-wrapper {
  margin-top: 40px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size for all images */
  min-height: 200px; /* Min size for all images */
}

/* General Section Styling */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

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

.page-contact__image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-contact__section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size for all images */
  min-height: 200px; /* Min size for all images */
}

/* Contact Info Section */
.page-contact__contact-info-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  padding: 60px 0;
}

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

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFFF00; /* Yellow for titles in cards */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-contact__email,
.page-contact__hotline {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-contact__email-link,
.page-contact__hotline-link {
  color: #FFFF00; /* Yellow for email/hotline links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__email-link:hover,
.page-contact__hotline-link:hover {
  color: #017439; /* Brand primary on hover */
}

/* Contact Form */
.page-contact__contact-form {
  margin-top: 20px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439; /* Brand primary on focus */
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.3);
}

.page-contact__form-submit-button {
  width: 100%;
  padding: 15px 25px;
  background-color: #017439; /* Brand primary for submit button */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal;
  word-wrap: break-word;
}