/* ============================================================
   POCO NAPA AUTOPRO — About Page Styles
   All shared variables, utilities, nav, footer, and
   global component styles live in style.css.
   This file contains only about-page-specific styles.
   ============================================================ */


/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background:
    linear-gradient(160deg, rgba(6,13,46,0.92) 0%, rgba(10,18,64,0.80) 100%),
    url('images/shop.jpg') center 30% / cover no-repeat;
  overflow: hidden;
  text-align: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,13,46,0.55) 0%, rgba(6,13,46,0.85) 100%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.page-hero-content h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 0 72px; }
}


/* ============================================================
   ABOUT — COMPANY STORY
   Two-column: text on the left, value card stack on the right.
   ============================================================ */
.about-story {
  position: relative;
  padding: var(--section-v) 0;
  background: var(--bg-base);
  overflow: hidden;
}

/* Faint ambient radial glow in the background */
.about-story::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 0% 50%,  rgba(255,255,255,0.022) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 100% 60%, rgba(255,199,44,0.04)   0%, transparent 65%);
}

.about-story > * { position: relative; z-index: 1; }

/* Two-column grid — text | value cards */
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left column — copy */
.about-story-text .section-eyebrow {
  margin-bottom: 18px;
}

.about-story-text h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.about-story-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  line-height: 1.85;
  margin-bottom: 20px;
}

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

/* Right column — 4 value cards stacked vertically */
.about-story-values {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Individual value card — glassmorphism */
.about-value-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 2px 8px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.09);
  padding: 26px 28px;
  transition: transform var(--trans), border-color var(--trans), background var(--trans), box-shadow var(--trans);
}

.about-value-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,199,44,0.30);
  box-shadow:
    0 16px 44px rgba(0,0,0,0.45),
    0 4px 12px rgba(0,0,0,0.25),
    0 0 28px rgba(255,199,44,0.06),
    inset 0 1px 0 rgba(255,255,255,0.11);
}

/* Yellow icon container */
.about-value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255,199,44,0.18) 0%, rgba(255,199,44,0.07) 100%);
  border: 1px solid rgba(255,199,44,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255,199,44,0.10);
  transition: var(--trans);
}

.about-value-icon svg {
  width: 22px;
  height: 22px;
  color: var(--yellow);
}

.about-value-card:hover .about-value-icon {
  background: linear-gradient(135deg, rgba(255,199,44,0.28) 0%, rgba(255,199,44,0.12) 100%);
  box-shadow: 0 6px 20px rgba(255,199,44,0.20);
  transform: scale(1.05);
}

/* Card text */
.about-value-card > div:last-child h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: var(--font-head);
}

.about-value-card > div:last-child p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   ABOUT — TEAM SECTION
   ============================================================ */
.about-team {
  position: relative;
  padding: var(--section-v) 0;
  background: var(--bg-section);
  overflow: hidden;
}

/* Subtle background texture */
.about-team::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 50% at 50% 0%,   rgba(255,199,44,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 15% 80%,  rgba(255,255,255,0.018) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 75%,  rgba(255,255,255,0.018) 0%, transparent 60%);
}

.about-team > * { position: relative; z-index: 1; }

/* Section header block */
.section-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header .section-sub {
  max-width: 580px;
  margin: 0 auto;
}


/* --------------------------------------------------------
   Avatar circle — letter-based placeholder
   -------------------------------------------------------- */
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4dbf 100%);
  border: 2px solid rgba(255,199,44,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--yellow);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.45),
    0 0 0 4px rgba(255,199,44,0.08);
  transition: transform var(--trans), box-shadow var(--trans);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Large variant — for Carling's featured row */
.team-avatar--large {
  width: 100px;
  height: 100px;
  font-size: 38px;
  border-width: 2px;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.50),
    0 0 0 6px rgba(255,199,44,0.08);
}

/* Apprentice tint — slightly cooler blue */
.team-avatar--apprentice {
  background: linear-gradient(135deg, #051840 0%, var(--navy) 100%);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.70);
  box-shadow:
    0 8px 28px rgba(0,0,0,0.40),
    0 0 0 4px rgba(255,255,255,0.05);
}


/* --------------------------------------------------------
   FEATURED ROW — Carling (full-width horizontal layout)
   -------------------------------------------------------- */
.team-featured {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.40),
    0 4px 12px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.09);
  padding: 48px;
  margin-bottom: 40px;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.team-featured:hover {
  border-color: rgba(255,199,44,0.25);
  box-shadow:
    0 20px 56px rgba(0,0,0,0.50),
    0 4px 16px rgba(0,0,0,0.30),
    0 0 40px rgba(255,199,44,0.05),
    inset 0 1px 0 rgba(255,255,255,0.11);
}

.team-featured:hover .team-avatar--large {
  transform: scale(1.04);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.55),
    0 0 0 6px rgba(255,199,44,0.14);
}

.team-featured-content {
  flex: 1;
}

.team-featured-content h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
}

.team-featured-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 16px;
}

.team-featured-content p:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------
   ROLE BADGE — tag below the avatar / above the name
   -------------------------------------------------------- */
.team-role-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,199,44,0.10);
  border: 1px solid rgba(255,199,44,0.22);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 10px;
}

/* Apprentice variant — muted colour */
.team-role-badge--apprentice {
  color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}


/* --------------------------------------------------------
   TEAM GRID — owners row (2-col) and apprentices row (2-col)
   -------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

/* Apprentice row — slightly smaller visual weight */
.team-grid--apprentices {
  margin-bottom: 48px;
}


/* --------------------------------------------------------
   TEAM CARD — standard owner / apprentice card
   -------------------------------------------------------- */
.team-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 2px 8px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 40px 36px;
  transition: transform var(--trans), border-color var(--trans), background var(--trans), box-shadow var(--trans);
}

.team-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,199,44,0.25);
  box-shadow:
    0 20px 52px rgba(0,0,0,0.48),
    0 4px 14px rgba(0,0,0,0.28),
    0 0 36px rgba(255,199,44,0.05),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
  box-shadow:
    0 12px 36px rgba(0,0,0,0.50),
    0 0 0 4px rgba(255,199,44,0.15);
}

.team-card .team-avatar {
  margin-bottom: 20px;
}

.team-card h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  line-height: 1.80;
}


/* --------------------------------------------------------
   PHOTO COMING SOON NOTE
   -------------------------------------------------------- */
.team-photo-note {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  letter-spacing: 0.01em;
}


/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet — story goes single column, team grid collapses */
@media (max-width: 1000px) {
  .about-story-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-story-values {
    max-width: 640px;
  }
}

@media (max-width: 860px) {
  .team-featured {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
    gap: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-card {
    text-align: center;
  }

  .team-card .team-avatar {
    margin-left: auto;
    margin-right: auto;
  }

  .team-role-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .team-featured {
    padding: 32px 22px;
  }

  .team-avatar--large {
    width: 84px;
    height: 84px;
    font-size: 32px;
  }

  .team-featured-content h3 {
    font-size: 22px;
  }

  .team-card {
    padding: 32px 24px;
  }

  .section-header {
    margin-bottom: 52px;
  }
}
