/* ═══════════════════════════════════════════════════════
   NARESH MACHERLA — CAMPAIGN WEBSITE
   Palette: Navy #1A3A5C · Red #C41E3A · Gold #D4A843
═══════════════════════════════════════════════════════ */
:root {
  --navy:   #1A3A5C;
  --navy-d: #0D2240;
  --red:    #C41E3A;
  --gold:   #D4A843;
  --cream:  #FFF8EE;
  --lilac:  #EAE6F4;
  --white:  #FFFFFF;
  --text:   #1A1A1A;
  --muted:  #555;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13,34,64,0.10);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-gold { background: var(--gold); color: var(--navy-d); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── SECTION LABELS & TITLES ─────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--navy-d);
  line-height: 1.15;
  margin-bottom: 32px;
}
.section-title em { color: var(--red); font-style: italic; }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-d);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-vote {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}
.nav-name em { color: var(--gold); font-style: italic; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-d);
  padding-top: 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(212,168,67,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(196,30,58,0.08) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.hero-vote {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-tagline {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.3s forwards;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}
.hero-sub strong { color: var(--white); }
.hero-greetings {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  opacity: 0;
  animation: fadeUp 0.6s 0.5s forwards;
}
.hero-greetings strong { color: var(--white); font-weight: 700; }
.hero-greetings .dot { color: var(--red); }
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
}
.hero-photo {
  position: relative;
  opacity: 0;
  animation: fadeIn 0.8s 0.4s forwards;
}
.hero-photo img {
  width: 100%;
  border-radius: 12px;
  border: 3px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.photo-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

/* ══════════════════════════════════════════════════
   ISSUES
══════════════════════════════════════════════════ */
.issues {
  padding: 100px 0;
  background: var(--cream);
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.issue-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
.issue-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s;
}
.issue-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(13,34,64,0.14); }
.issue-icon { font-size: 32px; margin-bottom: 14px; }
.issue-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-d);
  margin-bottom: 8px;
}
.issue-stat {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
  line-height: 1.4;
}
.issue-body {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
}
.issue-actions {
  list-style: none;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.issue-actions li {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-d);
  padding: 3px 0;
}
.issue-actions li::before { content: "✔ "; color: var(--gold); }

/* ══════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.about-photo-wrap { position: sticky; top: 80px; }
.about-photo-wrap img {
  width: 100%;
  border-radius: 12px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  background: var(--navy-d);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}
.stat-lbl {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  line-height: 1.3;
}
.about-quote {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--navy-d);
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 24px;
  line-height: 1.45;
}
.about-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-text p strong { color: var(--navy-d); }
.about-brings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.bring-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-d);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}
.bring-tick { color: var(--red); flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   PLEDGE
══════════════════════════════════════════════════ */
.pledge {
  padding: 100px 0;
  background: var(--navy-d);
}
.pledge .section-title { color: var(--white); }
.pledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.pledge-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
.pledge-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.pledge-icon { font-size: 36px; margin-bottom: 14px; }
.pledge-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.pledge-card p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.6; }
.pledge-cta {
  text-align: center;
  border-top: 1px solid rgba(212,168,67,0.2);
  padding-top: 40px;
}
.pledge-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.7;
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-icon { font-size: 32px; margin-bottom: 10px; }
.contact-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-d);
  word-break: break-all;
}
.contact-value:hover { color: var(--red); }
.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy-d);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: var(--navy-d);
  border-top: 3px solid var(--gold);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
}
.footer-name em { color: var(--gold); font-style: italic; }
.footer-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-left: 8px;
}
.footer-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-imprint {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  max-width: 700px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-brings { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 63px; left: 0; right: 0; background: var(--navy-d); padding: 16px 24px; gap: 16px; border-bottom: 2px solid var(--gold); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 60px 24px; }
  .contact-form { padding: 24px 20px; }
}
