/*
Theme Name: Jim Eschrich for State House — Child Theme
Theme URI: https://eschrichforhouse.com
Description: Campaign website child theme for Jim Eschrich, Kansas State House District 17. Built on Hello Elementor. American Civic Modernism design: Navy #1a2744, Gold #c8922a, Red accent #b22234, Cream #f5f0e8.
Author: Campaign Web Team
Author URI: https://eschrichforhouse.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: jim-eschrich-campaign

DESIGN SYSTEM
=============
Primary Navy:   #1a2744
Gold Accent:    #c8922a
Red Accent:     #b22234
Cream BG:       #f5f0e8
Muted Text:     #5a6480
Border/Divider: #d8d0c0
White:          #ffffff

Fonts:
  Headlines — Playfair Display (Google Fonts, Bold/Black)
  Body/Nav  — Source Sans 3 (Google Fonts, Regular/SemiBold)
*/

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ── CSS CUSTOM PROPERTIES ───────────────────────────────── */
:root {
  --navy:   #1a2744;
  --gold:   #c8922a;
  --red:    #b22234;
  --cream:  #f5f0e8;
  --muted:  #5a6480;
  --border: #d8d0c0;
}

/* ── BASE ─────────────────────────────────────────────────── */
body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--cream);
  color: #1a2744;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

/* ── ELEMENTOR SECTION OVERRIDES ─────────────────────────── */
.elementor-section.bg-navy,
.e-con.bg-navy {
  background-color: var(--navy) !important;
}

.elementor-section.bg-cream,
.e-con.bg-cream {
  background-color: var(--cream) !important;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-gold,
.elementor-button.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold);
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-gold:hover {
  background-color: #b07a22;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-navy,
.elementor-button.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 27px;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.btn-navy:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.08);
  color: #ffffff !important;
}

/* ── SECTION LABELS ───────────────────────────────────────── */
.section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label-red {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── TRICOLOR RULE ────────────────────────────────────────── */
.tricolor-rule {
  display: flex;
  height: 4px;
  width: 80px;
  overflow: hidden;
  margin-bottom: 20px;
}

.tricolor-rule .navy-bar  { flex: 2; background: var(--navy); border: 1px solid rgba(255,255,255,0.2); }
.tricolor-rule .red-bar   { flex: 2; background: var(--red); }
.tricolor-rule .gold-bar  { flex: 1; background: var(--gold); }

/* ── ISSUE CARDS ──────────────────────────────────────────── */
.issue-card {
  background: #ffffff;
  border-left: 4px solid var(--gold);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.issue-card:hover {
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
  transform: translateY(-3px);
}

.issue-card.accent-red {
  border-left-color: var(--red);
}

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── PULL QUOTE ───────────────────────────────────────────── */
.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  line-height: 1.5;
}

/* ── TIMELINE ─────────────────────────────────────────────── */
.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  border-left: 2px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--gold);
  min-width: 60px;
  font-size: 1rem;
}

/* ── ENDORSEMENT CARDS ────────────────────────────────────── */
.endorsement-card {
  background: var(--navy);
  padding: 28px;
  position: relative;
}

.endorsement-card::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  padding: 60px 0 30px;
}

.site-footer a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

/* ── TOP RED STRIPE ───────────────────────────────────────── */
.red-top-stripe {
  height: 4px;
  background: var(--red);
  width: 100%;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .stat-number { font-size: 2.2rem; }
  .pull-quote { font-size: 1.3rem; }
}
