/* ============================================================
   ABOUT PAGE SPECIFIC CSS
   Note: Header, Footer, and CTA use global styles.css
============================================================ */

/* --- 1. HERO SECTION --- */
.about-hero {
  min-height: 650px;
  /* Adds the consistent dark fade overlay from the left side */
  background: linear-gradient(to right, rgba(0,0,0,0.85) 15%, rgba(0,0,0,0) 70%),
              url('../assets/InstantRoof_web_about_01.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
}

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

.about-hero .eyebrow-white {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 42px;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 82px;
  line-height: 1;
  margin-bottom: 30px;
  color: var(--white);
}

.about-hero-actions {
  display: flex;
  gap: 15px;
}

/* --- 2. INTRO SECTION --- */
.about-intro {
  padding: 100px 5%;
  text-align: center;
  background: var(--light-gray);
}

.about-intro h2 {
  font-family: var(--font-heading);
  color: var(--primary-green);
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1;
}

.about-intro p {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--text-color);
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 500;
}

/* --- 3. SPLIT SECTIONS (Vision & Why Choose) --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

.about-split.reverse {
  background: var(--light-gray); /* Gives alternating background colors */
}

.about-split-image {
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

/* Forces the image to act like a background cover */
.about-split-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split-content {
  padding: 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-split-content h3 {
  font-family: var(--font-heading);
  font-size: 54px;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1;
}

.about-split-content .green {
  color: var(--primary-green);
}

.about-split-content p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 500;
}

.why-choose-list {
  list-style: none;
  margin: 10px 0 35px;
  width: 100%;
}

.why-choose-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

/* Custom Checkmark aligned properly */
.why-choose-list li::before {
  content: "✓";
  background: var(--primary-green);
  color: var(--white);
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px; /* aligns with text baseline */
}

/* --- 4. PURPOSE SECTION --- */
.purpose-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 120px 5%;
}

.purpose-section h2 {
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--primary-green);
  margin-bottom: 30px;
}

.purpose-section p {
  font-family: var(--font-body);
  font-size: 22px;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 400;
  opacity: 0.9;
}

/* The high-impact stacked typography */
.purpose-stacked {
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purpose-stacked p {
  font-family: var(--font-heading);
  font-size: 90px;
  line-height: 0.9;
  margin: 0 auto;
  color: var(--white);
  text-transform: uppercase;
  opacity: 1;
  letter-spacing: -1px;
}

/* Highlights the middle phrase */
.purpose-stacked p:nth-child(2) {
  color: var(--primary-green);
}

.purpose-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  
  .about-split.reverse .about-split-image {
    order: -1; /* Keeps images on top when stacked on mobile */
  }
  
  .about-split-image {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .about-hero h1 { font-size: 54px; }
  .about-intro h2 { font-size: 42px; }
  .about-split-content h3 { font-size: 42px; }
  .purpose-section h2 { font-size: 48px; }
  .purpose-stacked p { font-size: 56px; }
  
  .about-hero-content {
    align-items: left;
    text-align: left;
    padding-left: 0;
  }
}