/* ===== Variables & Reset ===== */
:root {
  --navy: #1b2a4a;
  --navy-deep: #0f1b33;
  --navy-light: #243b6a;
  --blue: #2c5aa0;
  --gold: #d4a24e;
  --gold-light: #e4b96a;
  --gold-dark: #b8862e;
  --red: #b5314a;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --cream: #faf8f4;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --text: #1f2937;
  --text-light: #4b5563;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
  --radius: 6px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Container ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Top Banner ===== */
.top-banner {
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.top-banner a {
  color: var(--navy-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.top-banner a:hover {
  color: var(--white);
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy-deep);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-office {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--radius);
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy-deep) !important;
}

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

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero.jpg') center right / cover no-repeat;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--navy-deep) 0%,
      var(--navy-deep) 25%,
      rgba(15, 27, 51, 0.85) 45%,
      rgba(15, 27, 51, 0.4) 70%,
      rgba(15, 27, 51, 0.2) 100%),
    linear-gradient(180deg,
      rgba(15, 27, 51, 0.3) 0%,
      transparent 30%,
      transparent 70%,
      rgba(15, 27, 51, 0.5) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  min-height: 85vh;
}

.hero-text {
  flex: 1;
  padding: 4rem 0 6rem;
  max-width: 520px;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.text-gold {
  color: var(--gold);
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 162, 78, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  margin: 0.5rem;
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

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

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-label-light {
  color: var(--gold);
}

.section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.heading-light {
  color: var(--white) !important;
}

/* ===== About ===== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.about-photo-wrap {
  float: right;
  width: 320px;
  margin: 0.25rem 0 1.5rem 2.5rem;
  shape-outside: margin-box;
  position: relative;
  padding: 0.75rem;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
}

.about-photo {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.photo-caption {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* ===== Why I'm Running ===== */
.why-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-quote {
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.why-quote p {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.why-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.why-text strong {
  color: var(--gold);
}

/* ===== Priorities ===== */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.priority-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.priority-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}

.priority-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.priority-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Election Info ===== */
.election-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.info-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.info-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.info-card p:last-child {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.5;
}

.election-links {
  text-align: center;
  margin-bottom: 2.5rem;
}

.election-links p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.election-contact {
  text-align: center;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  margin: 0 auto;
}

.election-contact p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Contact Form ===== */
.contact-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: -1rem auto 2.5rem;
  font-size: 1.05rem;
}

.contact-form-wrapper {
  max-width: 620px;
  margin: 0 auto;
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--text);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 162, 78, 0.15);
}

.contact-form .btn-gold {
  align-self: flex-start;
  padding: 1rem 3rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.footer p {
  font-size: 0.85rem;
}

.footer-small {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .election-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .top-banner {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 0.85rem 1rem;
    display: block;
  }

  .nav-cta {
    margin: 0.5rem 0 0 0 !important;
    text-align: center;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.85rem 1rem !important;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta:hover {
    color: var(--gold) !important;
    background: transparent !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-bg {
    background-position: center right 30%;
  }

  .hero-fade {
    background:
      linear-gradient(90deg,
        var(--navy-deep) 0%,
        rgba(15, 27, 51, 0.9) 40%,
        rgba(15, 27, 51, 0.6) 70%,
        rgba(15, 27, 51, 0.4) 100%),
      linear-gradient(180deg,
        rgba(15, 27, 51, 0.3) 0%,
        transparent 30%,
        transparent 70%,
        rgba(15, 27, 51, 0.6) 100%);
  }

  .hero-inner {
    min-height: 70vh;
    padding-top: 2rem;
  }

  .hero-text {
    padding: 2rem 0;
    max-width: 100%;
  }

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

  .section {
    padding: 4rem 0;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .about-photo-wrap {
    float: none;
    width: 280px;
    margin: 0 auto 2rem;
  }

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

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

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

  .btn-secondary {
    display: block;
    margin: 0.5rem auto;
    max-width: 280px;
  }

  .why-quote p {
    font-size: 1.1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

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

  .hero-tagline {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .logo-name {
    font-size: 1.2rem;
  }
}

/* Landscape phones — keep hero usable */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .hero-inner {
    min-height: 100vh;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-text {
    padding: 1.5rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }

  .hero-tagline {
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: row;
    max-width: none;
  }
}
