/* ================================================================
   WESTKATE SAFARIS — About Page Styles
   assets/css/about.css
   Requires: global.css loaded first
================================================================ */

/* ── HERO OVERRIDE ────────────────────────────────────────────── */
#aboutHeroBg {
  background-image: url("../img/about-hero.jpeg");
}

/* ── SECTION TITLE (about-page h2 variant) ────────────────────── */
.sec-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--earth);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.sec-title em {
  font-style: italic;
  color: var(--gold);
}
.sec-title.light {
  color: var(--ivory);
}

/* ── SECTION 1 — INTRO SPLIT ──────────────────────────────────── */
.intro-section {
  padding: 8rem 5%;
}
.intro-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.intro-quote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--earth);
  line-height: 1.3;
  border-left: 3px solid var(--gold);
  padding-left: 1.75rem;
  margin-bottom: 2rem;
}
.intro-body {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.intro-cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Image collage */
.intro-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 180px;
  gap: 12px;
}
.intro-img {
  border-radius: 4px;
  overflow: hidden;
  background: var(--sand);
}
.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.intro-img:hover img {
  transform: scale(1.05);
}
.intro-img.tall {
  grid-row: 1 / 3;
}
.intro-img.offset {
  margin-top: 2rem;
}

/* Founded badge */
.founded-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--ivory);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  gap: 0.2rem;
  flex-shrink: 0;
}
.founded-badge .year {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}
.founded-badge .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ── SECTION 2 — STATS BAR ────────────────────────────────────── */
.stats-bar {
  background: var(--earth);
  padding: 4.5rem 5%;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 1rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.45);
}

/* ── SECTION 3 — STORY TIMELINE ───────────────────────────────── */
.story-section {
  padding: 8rem 5%;
  background: var(--sand);
}
.story-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.story-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}
.story-header p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1rem;
}
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(200, 136, 42, 0.1));
}
.tl-item {
  position: relative;
  padding-bottom: 3.5rem;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-dot {
  position: absolute;
  left: -3.35rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--sand);
  box-shadow: 0 0 0 1px var(--gold);
}
.tl-year {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.tl-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--earth);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.tl-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 640px;
}

/* ── SECTION 4 — VALUES ───────────────────────────────────────── */
.values-section {
  padding: 8rem 5%;
  background: var(--ivory);
}
.values-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.values-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.values-header-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.value-card {
  background: var(--ivory);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
}
.value-card:hover {
  background: var(--sand);
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 136, 42, 0.1);
  border: 1px solid rgba(200, 136, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.value-card:hover .value-icon {
  background: var(--gold);
  border-color: var(--gold);
}
.value-card:hover .value-icon svg {
  stroke: var(--ivory);
}
.value-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--earth);
  margin-bottom: 0.6rem;
}
.value-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── SECTION 5 — TEAM ─────────────────────────────────────────── */
.team-section {
  padding: 8rem 5%;
  background: var(--earth);
}
.team-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.team-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 5rem;
}
.team-header p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.5);
  line-height: 1.8;
  margin-top: 1rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  position: relative;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--dusk);
  margin-bottom: 1.25rem;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.team-card:hover .team-photo img {
  transform: scale(1.04);
}
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dusk), var(--earth));
}
.team-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.team-bio {
  font-size: 0.83rem;
  color: rgba(250, 247, 242, 0.45);
  line-height: 1.75;
}
.team-footer-note {
  text-align: center;
  margin-top: 3.5rem;
}
.team-footer-note p {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.4);
  margin-bottom: 1.5rem;
}

/* ── SECTION 6 — CERTIFICATIONS ───────────────────────────────── */
.certs-section {
  padding: 5rem 5%;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}
.certs-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem 5rem;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.cert-item:hover {
  opacity: 1;
}
.cert-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--earth);
}
.cert-name {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* ── SECTION 7 — TESTIMONIALS ─────────────────────────────────── */
.testi-section {
  padding: 8rem 5%;
  background: var(--ivory);
  overflow: hidden;
}
.testi-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.testi-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.testi-controls {
  display: flex;
  gap: 0.75rem;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--earth);
}
.testi-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ivory);
}
.testi-track-wrap {
  overflow: hidden;
}
.testi-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testi-card {
  flex: 0 0 calc(50% - 0.75rem);
  margin-right: 1.5rem;
  background: var(--sand);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1rem;
}
.testi-quote-mark {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 300;
  color: rgba(200, 136, 42, 0.1);
  line-height: 1;
}
.testi-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--earth);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 500;
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--earth);
  margin-bottom: 0.15rem;
}
.testi-origin {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── SECTION 8 — CTA BANNER ───────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 9rem 5%;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(26, 20, 9, 0.7), rgba(26, 20, 9, 0.7)),
    url("https://images.unsplash.com/photo-1547471080-7cc2caa01a7e?w=1600&q=80")
      center/cover no-repeat;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-sub {
  font-size: 0.93rem;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE
================================================================ */

/* ── Tablet landscape / small desktop (≤1100px) ─────────────────*/
@media (max-width: 1100px) {
  .intro-grid {
    gap: 3.5rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-inner {
    gap: 1rem;
  }
}

/* ── Tablet portrait (≤860px) ───────────────────────────────────*/
@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .intro-images {
    grid-template-rows: 220px 150px;
  }
  .testi-card {
    flex: 0 0 calc(100% - 1.5rem);
  }
  .story-section {
    padding: 5rem 5%;
  }
  .values-section {
    padding: 5rem 5%;
  }
  .team-section {
    padding: 5rem 5%;
  }
  .intro-section {
    padding: 5rem 5%;
  }
  .cta-banner {
    padding: 6rem 5%;
  }
  .story-header {
    margin-bottom: 3rem;
  }
  .team-header {
    margin-bottom: 3rem;
  }
}

/* ── Mobile landscape (≤640px) ──────────────────────────────────*/
@media (max-width: 640px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    padding-left: 2rem;
  }
  .tl-dot {
    left: -2.35rem;
  }
  .intro-images {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .intro-img.tall {
    grid-row: auto;
  }
  .intro-img.offset {
    margin-top: 0;
  }
  .intro-img {
    height: 220px;
  }
  .certs-inner {
    gap: 2rem 3rem;
  }
}

/* ── Mobile portrait (≤420px) ───────────────────────────────────*/
@media (max-width: 420px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .intro-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .testi-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .testi-controls {
    align-self: flex-end;
  }
  .values-header {
    margin-bottom: 2rem;
  }
  .story-header {
    margin-bottom: 2rem;
  }
  .founded-badge {
    align-self: flex-start;
  }
}
