/* ============================================
   history.css — History page specific styles
============================================ */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10,28,60,.92) 0%, rgba(26,58,107,.88) 60%, rgba(15,35,71,.95) 100%),
    url('assets/images/hero-bg.jpg') center/cover no-repeat;
  padding: 5rem 0 4rem;
  margin-top: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(200,168,75,.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .3s;
}
.breadcrumb a:hover { color: var(--gold); }
.bc-sep { color: rgba(255,255,255,.35); }
.breadcrumb span:last-child { color: var(--gold); font-weight: 600; }

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.page-hero-content p {
  color: rgba(255,255,255,.72);
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== INTRO NARRATIVE ===== */
.hist-intro {
  padding: 4rem 0;
  background: var(--gray-50);
}
.hist-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 860px) { .hist-intro-grid { grid-template-columns: 1fr; gap: 2rem; } }

.hist-intro-text .section-tag { margin-bottom: .6rem; display: inline-block; }
.hist-intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
}
.hist-intro-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.hist-intro-text p strong { color: var(--navy); }

.hist-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hstat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.hstat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hstat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: .3rem;
}
.hstat-label {
  font-size: .78rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.3;
}

/* ===== FOUNDING SECTION ===== */
.founding-section {
  padding: 3rem 0;
  background: var(--white);
}
.founding-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  border-left: 6px solid var(--gold);
}
@media (max-width: 640px) { .founding-card { flex-direction: column; } }

.founding-icon svg { width: 64px; height: 64px; flex-shrink: 0; }

.founding-label {
  display: inline-block;
  background: rgba(200,168,75,.2);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .6rem;
}
.founding-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: .85rem;
}
.founding-body p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: .75rem;
}
.founding-body p:last-child { margin-bottom: 0; }
.founding-body strong { color: var(--gold-light); }

/* ===== FULL TIMELINE ===== */
.hist-timeline-section { background: var(--gray-50); }

.full-timeline {
  position: relative;
  padding-left: 0;
  max-width: 860px;
  margin: 0 auto;
}
.full-timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--navy) 100%);
}
@media (max-width: 640px) {
  .full-timeline::before { left: 20px; }
}

.ft-item {
  display: grid;
  grid-template-columns: 90px 40px 1fr;
  gap: 0 1.25rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.ft-item:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .ft-item { grid-template-columns: 20px 24px 1fr; gap: 0 .75rem; }
}

.ft-marker {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: .35rem;
}
.ft-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--gray-50);
  box-shadow: 0 0 0 2px var(--gold);
  flex-shrink: 0;
  z-index: 1;
}

.ft-year-badge {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold-dark);
  padding-top: .3rem;
  padding-right: .5rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .ft-year-badge { display: none; }
}

.ft-card {
  grid-column: 3;
  grid-row: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ft-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.ft-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.ft-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.ft-card strong { color: var(--navy-dark); }
.ft-card em { color: var(--gold-dark); font-style: normal; font-weight: 600; }

/* ===== IMPACT SECTION ===== */
.hist-impact-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.impact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}
.impact-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }

.impact-icon { margin-bottom: 1.1rem; }
.impact-icon svg { width: 48px; height: 48px; }

.impact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}
.impact-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
}

/* ===== CTA SECTION ===== */
.hist-cta-section {
  background: var(--gold);
  padding: 4rem 0;
}
.hist-cta-inner {
  text-align: center;
}
.hist-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--navy-dark);
  margin-bottom: .75rem;
}
.hist-cta-inner p {
  color: var(--navy-dark);
  opacity: .8;
  max-width: 500px;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
}
.hist-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hist-cta-btns .btn-gold {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.hist-cta-btns .btn-gold:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.hist-cta-btns .btn-outline-white {
  border-color: var(--navy-dark);
  color: var(--navy-dark);
}
.hist-cta-btns .btn-outline-white:hover { background: var(--navy-dark); color: var(--white); }
