/* ============================================================
   about.css — Page-specific styles for about.html
   Overberg Service Centre
   ============================================================ */

/* ============================================================
   Page Hero — bg image override (base styles in components.css)
   ============================================================ */
.about-hero {
  background-image: url('../../img/about_us_hero.jpeg');
  background-image: url('../../img/about_us_hero.webp');
}

/* ============================================================
   Mission Strip — centered tabs + statement
   ============================================================ */
.mission-section {
  background-color: var(--color-bg);
  padding-block: var(--space-xl);
  text-align: center;
}

.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 800px;
  margin-inline: auto;
  color: var(--color-white);
}

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface);
  padding-block: var(--space-xl);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Watermark */
.why-watermark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.why-copy .section-label {
  display: block;
  margin-bottom: var(--space-sm);
}

.why-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.why-desc {
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

/* Large outline checklist */
.why-list {
  list-style: none;
  margin-bottom: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.why-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-white);
  transition: color var(--transition);
}

.why-list li:hover { color: var(--color-accent); }

.why-list-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-accent-dim);
  border: 1px solid rgba(59,130,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

/* Angled image frame */
.why-visual {
  position: relative;
}

.why-frame {
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/5;
}

.why-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Stats Strip
   ============================================================ */
.about-stats {
  background-color: var(--color-accent);
  padding-block: var(--space-lg);
}

.about-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.about-stat-item {
  text-align: center;
  flex: 1;
}

.about-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
}

.about-stat-div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ============================================================
   Team Section
   ============================================================ */
.team-section {
  background-color: var(--color-bg);
  padding-block: var(--space-xl);
}

.team-intro {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.team-intro .section-label {
  display: block;
  margin-bottom: var(--space-sm);
}

.team-intro h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.team-intro p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-bio-overlay {
  position: absolute;
  inset: 0;
  bottom: auto;
  top: 0;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13,13,18,0.15) 0%, rgba(13,13,18,0.97) 55%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-card:hover .team-bio-overlay {
  opacity: 1;
}

.team-bio-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin: 0;
  padding-bottom: 3.5rem; /* sit above the name strip */
}

.team-info {
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  background: linear-gradient(to bottom, var(--color-surface), var(--color-bg));
  border-top: 2px solid var(--color-accent);
}

.team-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.team-nickname {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================================
   CTA Strip
   ============================================================ */
.about-cta {
  background-color: var(--color-surface);
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.about-cta-text {
  padding-left: var(--space-lg);
  border-left: 4px solid var(--color-accent);
}

.about-cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.about-cta-text p {
  color: var(--color-text-muted);
  max-width: 48ch;
  line-height: 1.7;
}

.about-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual { display: none; }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-inner {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .about-stat-div { display: none; }

}
