/* ========================================
   Sanny Ong for School Board – Campaign Site
   Parental Rights • Academics First • Transparency
   ======================================== */

:root {
  --navy: #0b1f3a;
  --navy-mid: #142f52;
  --navy-light: #1e3f6b;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-300: #c5cad3;
  --gray-600: #5a6370;
  --gray-800: #2d3440;
  --text: #1a1f2a;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-office {
  font-size: 0.72rem;
  color: var(--gold-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--gold-soft);
}

.btn-nav {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 600 !important;
}

.btn-nav:hover {
  background: var(--gold-soft) !important;
  color: var(--navy) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3558 100%);
  color: var(--white);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== Sections ========== */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0.75rem auto 0;
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.8);
}

.accent-line {
  width: 56px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

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

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

.lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.about-text p {
  margin-bottom: 1.15rem;
  color: var(--gray-800);
}

.about-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.highlight strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.highlight span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portrait-wrap {
  text-align: center;
}

.portrait {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.portrait-caption {
  font-size: 0.9rem;
  color: var(--navy);
  margin-top: 0.75rem;
  line-height: 1.45;
  font-style: normal;
}
.portrait-caption strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.2rem;
}

.about-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

.office-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.office-detail {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.about-card hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

.office-focus {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

/* ========== Platform ========== */
.platform {
  background: var(--navy);
  color: var(--white);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.platform-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: transform var(--transition), background var(--transition);
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.platform-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.platform-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  line-height: 1.3;
}

.platform-card ul {
  display: grid;
  gap: 0.7rem;
}

.platform-card li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.platform-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ========== Priorities ========== */
.priorities {
  background: var(--white);
}

.priorities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.priority-item {
  padding: 1.75rem;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.priority-item:hover {
  box-shadow: var(--shadow);
}

.priority-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.priority-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ========== Involve ========== */
.involve {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  color: var(--white);
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.involve-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.involve-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.involve-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info .lead {
  margin-bottom: 1.75rem;
}

.contact-info p {
  margin-bottom: 1.25rem;
  color: var(--gray-800);
}

.contact-info a {
  color: var(--navy-mid);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.contact-info a:hover {
  border-bottom-color: var(--gold);
}

.note {
  font-size: 0.88rem;
  color: var(--gray-600);
  font-style: italic;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ========== Footer ========== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top strong {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

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

.footer-bottom p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .platform-grid,
  .involve-grid,
  .priorities-list {
    grid-template-columns: 1fr;
  }

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

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 7rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }
}
