/* ============================================================
   CONTACT PAGE SPECIFIC CSS
   Note: Header, Footer, and Bottom CTA pull from global styles.css
   ============================================================ */

/* --- Contact Hero Section --- */
.contact-hero {
  height: 400px; /* Shorter hero for the contact page */
  /* Using your home image but with a dark overlay so text pops */
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%), 
              url('../assets/InstantRoof_web_home_y01.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;       
  justify-content: flex-start; 
  color: var(--white);
}

.contact-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;        
  max-width: 800px;
  padding-left: 5%; 
}

.contact-hero .eyebrow-white {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px; 
  color: var(--primary-green); /* Using green for contrast here */
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.contact-hero .hero-title {
  font-family: var(--font-heading);
  font-size: 72px; 
  line-height: 1.0;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--white);
}

.contact-hero .hero-subtext {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  opacity: 0.95;
}

/* --- Contact Grid Section --- */
.contact-section {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* --- Left Side: Info --- */
.contact-info .heading-green {
  font-family: var(--font-heading);
  color: var(--primary-green);
  font-size: 50px;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-info .intro-text {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 40px;
  line-height: 1.6;
}

.info-block {
  margin-bottom: 30px;
}

.info-block h4 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--black);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.info-block p, .info-block a {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.6;
  text-decoration: none;
}

.info-block a:hover {
  color: var(--primary-green);
}

/* --- Right Side: Form --- */
.contact-form-wrapper {
  background-color: var(--light-gray);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
}

.contact-form .form-row .form-group {
  flex: 1;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--white);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 18px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 26px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: var(--light-green);
  color: var(--black);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-hero {
    justify-content: center;
    text-align: center;
  }
  
  .contact-hero-content {
    align-items: left;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .contact-form-wrapper {
    padding: 30px 20px;
  }
}