/* style/contact.css */

/* Core styles for the page-contact scope */
.page-contact {
  color: #FFF5E1; /* Text Main - light color for dark body background */
  background-color: #B71C1C; /* Background - Deep Red */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden; /* Ensure content doesn't overflow */
  background-color: #C91F17; /* Primary color for hero section background */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-contact__hero-content {
  text-align: center;
  padding: 40px 20px 0;
  max-width: 900px;
  z-index: 1; /* Ensure text is above any potential background layers */
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__intro-text {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
}

/* Form Section */
.page-contact__form-section {
  background-color: #D32F2F; /* Card BG - dark background */
  padding: 80px 0;
  text-align: center;
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 1.05rem;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent dark background */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border color */
  position: relative; /* For image positioning */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #FFF5E1; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #F2B544; /* Border color */
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent input background */
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
  box-sizing: border-box;
}