/* ============================================
   John Duresky for Congress — Campaign Site
   Palette: Navy + Wheat Gold + Crimson Accent
   Inspired by katforillinois.com design system
   ============================================ */

:root {
  --navy: #0a1f44;
  --navy-light: #132d5e;
  --cream: #f5f0e1;
  --wheat: #d4a843;
  --wheat-light: #f0d68a;
  --crimson: #c41e3a;
  --crimson-dark: #9b1830;
  --white: #ffffff;
  --gray-100: #f7f7f5;
  --gray-200: #e8e5dd;
  --gray-600: #6b6b6b;
  --gray-900: #1a1a1a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-padding: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ---- Kicker ---- */
.kicker {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--crimson);
  color: var(--white);
  border-bottom: 4px solid var(--crimson-dark);
}
.btn-primary:hover { background: var(--crimson-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 18px 40px; font-size: 18px; }
.btn-full { width: 100%; text-align: center; }

/* ============ MASTHEAD ============ */
.masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--wheat);
}
.masthead-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.lang-toggle {
  font-size: 12px;
  color: var(--wheat-light);
  margin-left: 10px;
  white-space: nowrap;
}
.lang-toggle a {
  color: var(--wheat-light);
  text-decoration: none;
  font-weight: 700;
}
.lang-toggle a[aria-current="page"] { text-decoration: underline; }
.logo-accent { color: var(--wheat); }
.nav-desktop { display: flex; gap: 32px; }
.nav-desktop a {
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--wheat); }
.nav-ctas { display: flex; gap: 12px; }
.nav-ctas .btn { padding: 10px 22px; font-size: 14px; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 20px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu a {
  color: var(--cream);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-desktop, .nav-ctas { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  margin-top: 72px;
  overflow: hidden;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,31,68,0.9) 0%, rgba(10,31,68,0.55) 40%, rgba(10,31,68,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 900px;
}
.hero-kicker {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ PLAIN TALK BANNER ============ */
.plain-talk-banner {
  background: var(--wheat);
  padding: 48px 24px;
  text-align: center;
}
.plain-talk-quote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}
.plain-talk-attr {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 16px;
  opacity: 0.7;
}

/* ============ CAMPAIGN VIDEO ============ */
.campaign-video {
  padding: 80px 0;
  background: var(--navy);
}
.video-section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.video-wrapper video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; max-width: 500px; }
}

/* YouTube Shorts */
.yt-shorts-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.yt-short-wrapper {
  width: 280px;
  height: 498px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.yt-short-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 600px) {
  .yt-short-wrapper { width: 100%; max-width: 320px; height: 568px; }
}

/* ============ MEET JOHN ============ */
.meet-john {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.meet-john-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.meet-john-photo img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.meet-john-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
}
.meet-john-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-900);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .meet-john-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ ISSUES ============ */
.issues {
  padding: var(--section-padding) 0;
  background: var(--navy);
  color: var(--white);
}
.issues h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 12px;
}
.issues .kicker { color: var(--wheat-light); }
.issues-intro {
  font-size: 20px;
  color: var(--cream);
  max-width: 640px;
  margin-bottom: 48px;
  opacity: 0.85;
}
.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.issue-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 36px 28px;
  transition: transform 0.2s, background 0.2s;
}
.issue-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.issue-icon { font-size: 36px; margin-bottom: 16px; }
.issue-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--wheat-light);
}
.issue-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  opacity: 0.85;
}

@media (max-width: 900px) { .issues-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .issues-grid { grid-template-columns: 1fr; } }

/* ============ ENDORSEMENTS ============ */
.endorsements {
  padding: var(--section-padding) 0;
  background: var(--cream);
  text-align: center;
}
.endorsements h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
}
.endorsements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.endorsement-badge {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

/* ============ VOLUNTEER ============ */
.volunteer {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.volunteer-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.volunteer-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.volunteer-form form {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px;
}
.volunteer-form h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}
.volunteer-form input,
.volunteer-form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--white);
}
.volunteer-form input:focus,
.volunteer-form select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,31,68,0.1);
}

@media (max-width: 768px) {
  .volunteer-grid { grid-template-columns: 1fr; }
}

/* ============ DONATE ============ */
.donate {
  padding: var(--section-padding) 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.donate-inner { max-width: 700px; }
.donate h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
}
.donate > p, .donate-inner > p { font-size: 18px; color: var(--cream); opacity: 0.85; margin-bottom: 32px; }
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.donate-btn {
  display: inline-block;
  background: var(--wheat);
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 6px;
  min-width: 100px;
  text-align: center;
  transition: all 0.2s;
  border-bottom: 4px solid var(--crimson);
}
.donate-btn:hover { background: var(--wheat-light); transform: translateY(-2px); }
.donate-btn-other { background: transparent; border: 2px solid var(--wheat); color: var(--wheat); border-bottom: 4px solid var(--crimson); }
.donate-btn-other:hover { background: rgba(212,168,67,0.15); }
.donate-note { font-size: 13px; color: var(--cream); opacity: 0.5; max-width: 500px; margin: 0 auto 12px; }
.donate-mail { font-size: 14px; color: var(--cream); opacity: 0.6; }

/* ============ TOWN HALL STRIP (homepage) ============ */
.townhall-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.townhall-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .townhall-strip { grid-template-columns: 1fr; }
  .townhall-strip img { height: 180px; }
}

/* ============ ABOUT PAGE ============ */
.about-photo-gallery {
  background: var(--navy);
  padding: 4px;
}
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.photo-gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .photo-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery-grid img { height: 200px; }
}
.about-speaking-up {
  padding: 60px 0 80px;
  background: var(--cream);
}
.about-speaking-up h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.about-speaking-up p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; max-width: 720px; }
.about-platform-preview {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}
.about-platform-preview h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.platform-intro { font-size: 20px; color: var(--gray-600); margin-bottom: 32px; }
.platform-list {
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
}
.platform-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
}
.platform-check {
  color: var(--wheat);
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============ NAV DROPDOWNS ============ */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-arrow { font-size: 10px; opacity: 0.7; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-light);
  border-radius: 0 0 8px 8px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: var(--wheat); }
.nav-desktop a.active, .nav-desktop .nav-dropdown-trigger.active { color: var(--wheat); }
.mobile-sub { padding-left: 24px !important; font-size: 15px !important; opacity: 0.75; }

/* ============ PAGE HERO (subpages) ============ */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  background: var(--navy);
  background-image: url('images/john-hero.jpg');
  background-size: cover;
  background-position: center top;
  margin-top: 72px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,31,68,0.88);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

/* ============ PAGE CONTENT ============ */
.page-content {
  padding: 60px 0 80px;
  background: var(--white);
}
.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.sidebar-photo {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 24px;
}
.sidebar-facts {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 24px;
}
.sidebar-facts h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy);
}
.sidebar-facts ul { list-style: none; }
.sidebar-facts li {
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-facts li:last-child { border-bottom: none; }
.content-main h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.content-main h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}
.content-main p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; }
.content-main blockquote {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--wheat);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--gray-100);
  border-radius: 0 8px 8px 0;
}
.content-single h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.content-single h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}
.content-single p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; max-width: 720px; }
.content-single ul { margin: 12px 0 20px 24px; max-width: 720px; }
.content-single li { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }
.content-single a { color: var(--crimson); font-weight: 600; }
.content-single a:hover { text-decoration: underline; }
.issues-page-intro {
  font-size: 20px;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 48px;
}

/* Issue sections on issues page */
.issue-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.issue-section:last-child { border-bottom: none; }
.issue-section-icon { font-size: 40px; margin-bottom: 12px; }
.issue-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Get Involved cards */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.involve-card {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.involve-icon { font-size: 40px; margin-bottom: 12px; }
.involve-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.involve-card p { font-size: 16px; max-width: none; }

/* Events placeholder */
.event-card {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
}
.event-icon { font-size: 48px; margin-bottom: 16px; }
.event-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
}

/* Media list */
.media-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.media-item h3 a { color: var(--crimson); }
.media-item h3 a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.page-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.footer-tagline {
  font-size: 14px;
  color: var(--wheat);
  margin-top: 4px;
}
.footer-social {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
  background: var(--wheat);
  color: var(--navy);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--wheat); }
.footer-legal {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: 8px;
}
.footer-legal p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
