/* ============================================
   Wayne Cooper for PSC - Campaign Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy: #1a2744;
  --navy-dark: #0f1a2e;
  --navy-light: #243556;
  --gold: #c5962c;
  --gold-light: #dbb04a;
  --gold-pale: #f5e6c0;
  --red: #b22234;
  --red-dark: #8b1a29;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

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

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 16px auto 20px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 650px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-donate-nav {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  padding: 10px 24px;
  font-size: 0.85rem;
}
.btn-donate-nav:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--gold);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.logo-wayne {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 3px;
}

.logo-cooper {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-links li a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-links li a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 75px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 150, 44, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(178, 34, 52, 0.06) 0%, transparent 50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 24px 120px;
}

.hero-pre {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.hero-slogan {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.headshot-frame {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 6px solid var(--gold);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headshot-frame.placeholder {
  position: relative;
}

.headshot-frame.placeholder::after {
  content: 'WC';
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  color: var(--navy-dark);
  z-index: 5;
  padding: 12px 0;
}

.ticker-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-sep {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
}

/* --- About --- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-200);
  position: relative;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.about-photo.placeholder::after {
  content: 'Photo Coming Soon';
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--navy);
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid var(--gray-200);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* --- Issues --- */
.issues {
  background: var(--off-white);
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.issue-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: all var(--transition);
}

.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.issue-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: var(--red);
}

.issue-icon svg {
  width: 100%;
  height: 100%;
}

.issue-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.issue-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Quote Banner --- */
.quote-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 70px 0;
  text-align: center;
}

.quote-banner blockquote p {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.quote-banner cite {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- District --- */
.district {
  background: var(--white);
}

.district-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.district-info p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.parish-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
  margin: 20px 0;
}

.parish-list li {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  padding-left: 16px;
  position: relative;
}

.parish-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.parish-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

.district-cta {
  margin-top: 30px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.district-cta h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.district-cta p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.district-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.district-map-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* --- Election Info --- */
.election-info {
  background: var(--off-white);
}

.election-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.election-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.election-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.election-card.accent {
  background: var(--navy);
}

.election-card.accent .election-date,
.election-card.accent .election-year,
.election-card.accent h3,
.election-card.accent p {
  color: var(--white);
}

.election-card.accent .election-date {
  color: var(--gold);
}

.election-date {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.election-year {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.election-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.election-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
}

/* --- Get Involved --- */
.involved {
  background: var(--white);
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.involved-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
}

.involved-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.involved-card > p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.involved-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.involved-card input,
.involved-card select,
.involved-card textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  width: 100%;
  background: var(--white);
}

.involved-card input:focus,
.involved-card select:focus,
.involved-card textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* --- Donate --- */
.donate {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  text-align: center;
  padding: 80px 0;
}

.donate-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.donate-content > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 36px;
}

.donate-amounts {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.donate-btn {
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.donate-btn:hover,
.donate-btn.active {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-donate-large {
  display: inline-block;
  padding: 18px 60px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-bottom: 24px;
}

.btn-donate-large:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.donate-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- Contact --- */
.contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info a {
  color: var(--gold);
  font-weight: 600;
}

.contact-info a:hover {
  color: var(--red);
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.5);
}

.footer-brand .logo-wayne,
.footer-brand .logo-cooper {
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-social a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-social svg {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom p {
  margin-bottom: 4px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-sub { margin: 0 auto 32px; }

  .hero-cta { justify-content: center; }

  .headshot-frame { width: 300px; height: 300px; }

  .hero h1 { font-size: 4rem; }

  .about-grid { grid-template-columns: 1fr; }

  .about-photo { max-height: 400px; }

  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .issues-grid { grid-template-columns: repeat(2, 1fr); }

  .district-content { grid-template-columns: 1fr; }

  .district-map { order: -1; }

  .election-grid { grid-template-columns: repeat(3, 1fr); }

  .involved-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-content { flex-direction: column; gap: 20px; text-align: center; }

  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 3px solid var(--gold);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li a {
    display: block;
    padding: 12px 16px;
    text-align: center;
  }

  .hero h1 { font-size: 3rem; }

  .hero-slogan { font-size: 1.4rem; }

  .hero-pre { font-size: 0.8rem; letter-spacing: 2px; }

  .headshot-frame { width: 240px; height: 240px; }

  .section { padding: 60px 0; }

  .section-header h2 { font-size: 2rem; }

  .issues-grid { grid-template-columns: 1fr; }

  .election-grid { grid-template-columns: 1fr; }

  .involved-grid { grid-template-columns: 1fr; }

  .ticker-inner {
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
  }

  .ticker-sep { display: none; }

  .donate-content h2 { font-size: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .quote-banner blockquote p { font-size: 1.3rem; }

  .parish-list { grid-template-columns: 1fr; }

  .donate-amounts { gap: 8px; }

  .donate-btn { padding: 10px 20px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.5rem; }

  .hero-slogan { font-size: 1.2rem; }

  .headshot-frame { width: 200px; height: 200px; }

  .hero-cta { flex-direction: column; align-items: center; }

  .btn { padding: 12px 24px; font-size: 0.85rem; width: 100%; }

  .btn-donate-large { padding: 16px 40px; font-size: 1rem; }

  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .stat-number { font-size: 1.6rem; }
}
