/* =============================================
   ABOUT PAGE STYLES
   about.css — page-specific styles for about.html
   ============================================= */

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--color-primary);
  color: white;
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== OUR STORY ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-story-text h2 {
  margin-bottom: 1.5rem;
}

.about-story-text .section-tag {
  display: inline-block;
  margin-bottom: 1rem;
}

.about-story-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-story-image:hover img {
  transform: scale(1.03);
}

/* ===== TEAM SECTION ===== */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.team-card {
  flex: 0 1 300px;
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  background: var(--color-bg-alt);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-initial {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== WHY FULL REMODELS ONLY ===== */
.about-remodels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-remodels-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-remodels-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-remodels-image:hover img {
  transform: scale(1.03);
}

.about-remodels-text .section-tag {
  display: inline-block;
  margin-bottom: 1rem;
}

.about-remodels-text h2 {
  margin-bottom: 1.5rem;
}

.about-remodels-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-remodels-text p:last-child {
  margin-bottom: 0;
}

/* ===== VALUES SECTION ===== */
.values-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.values-card {
  flex: 0 1 320px;
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.values-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.values-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary);
}

.values-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.values-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== APPROACH SECTION ===== */
.approach-section {
  background: var(--color-bg-alt);
  text-align: center;
}

.approach-section .section-header {
  margin-bottom: 1.5rem;
}

.approach-section p {
  max-width: 700px;
  margin: 0 auto 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.approach-section p:last-child {
  margin-bottom: 0;
}

/* ===== ABOUT CTA ===== */
.about-cta {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
}

.about-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .about-story,
  .about-remodels {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story-image {
    order: -1;
  }

  .about-remodels-image {
    order: -1;
  }

  .team-grid {
    gap: 1.5rem;
  }

  .team-card {
    flex: 0 1 100%;
    max-width: 360px;
  }

  .values-card {
    flex: 0 1 100%;
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 5.5rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  /* Team cards — truly full width on small phones */
  .team-card {
    max-width: 100%;
    padding: 1.5rem;
  }

  /* Values cards — truly full width on small phones */
  .values-card {
    max-width: 100%;
    padding: 1.5rem;
  }

  /* About CTA buttons — stack vertically */
  .about-cta .cta-band-actions,
  .about-cta .btn {
    width: 100%;
    text-align: center;
  }

  /* Approach section text */
  .approach-section p {
    font-size: 0.95rem;
  }
}
