/* ============================================
   CONTACT US — HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #FFFFFF;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}


/* Contact Form Section */
.contact-form-section {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 20px;
}

#contactForm {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section textarea {
  background-color: var(--color-surface);
  color: var(--color-body);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  box-sizing: border-box;
  flex: 0 0 100%;
}

/* Name + Phone on one row */
#contactForm input[name="name"]  { flex: 0 0 calc(50% - 8px); order: 1; }
#contactForm input[type="tel"]   { flex: 0 0 calc(50% - 8px); order: 2; }
#contactForm input[type="email"] { order: 3; }
#contactForm textarea            { order: 4; }
#contactForm .consent            { order: 5; }
#contactForm .send-btn           { order: 6; }

@media (max-width: 480px) {
  #contactForm input[name="name"],
  #contactForm input[type="tel"] { flex: 0 0 100%; }
}

.contact-form-section input[type="text"]::placeholder,
.contact-form-section input[type="email"]::placeholder,
.contact-form-section input[type="tel"]::placeholder,
.contact-form-section textarea::placeholder {
  color: var(--color-muted);
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section input[type="tel"]:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: var(--color-surface);
  color: var(--color-body);
}

/* Prevent browser autofill from overriding background/text color */
.contact-form-section input:-webkit-autofill,
.contact-form-section input:-webkit-autofill:hover,
.contact-form-section input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
  -webkit-text-fill-color: #D9D6CF !important;
  caret-color: #D9D6CF;
}

/* Responsive hero */
@media (max-width: 600px) {
  .hero { height: 70vh; }
}
