/* ============================================
   Hurtado for Mayor — Moreno Valley 2026
   Shared Stylesheet
   ============================================ */

:root {
  --navy: #1F4D76;
  --navy-dark: #12283D;
  --black: #000000;
  --gold: #F5C06A;
  --gold-dark: #8A5A18;
  --off-white: #f7f6f3;
  --white: #ffffff;
  --gray-900: #1c1f26;
  --gray-600: #55606e;
  --gray-300: #d8dce1;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(18, 40, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--gold-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.brand .logo-img {
  height: 80px;
  width: auto;
  display: block;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
}
nav.main-nav a:hover { opacity: 1; text-decoration: none; border-bottom: 2px solid var(--gold); }
nav.main-nav a.active { border-bottom: 2px solid var(--gold); opacity: 1; }

.nav-donate {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 9px 18px;
  border-radius: 30px;
  font-weight: 700 !important;
  opacity: 1 !important;
}
.nav-donate:hover { background: var(--navy-dark); color: var(--white) !important; border-bottom: none !important; }

.nav-toggle {
  display: none;
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0 70px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 44ch;
  margin-bottom: 28px;
}

.hero-photo {
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.hero-photo--filled {
  border: none;
  padding: 0;
  background: none;
  aspect-ratio: 1/1;
}
.hero-photo--filled img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--navy-dark); color: var(--white); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); text-decoration: none; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); text-decoration: none; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head .eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.grid-5 .card { padding: 24px 20px; }
.grid-5 .card h3 { font-size: 1.1rem; }
.grid-5 .card p { font-size: 0.92rem; }
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon-bar {
  width: 42px;
  height: 5px;
  background: var(--gold);
  border-radius: 3px;
  margin-bottom: 18px;
}

.stat-strip {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}
.stat-strip .grid-3 { text-align: center; }
.stat-strip .num {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-strip .label {
  color: var(--gray-300);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-band {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn-primary { background: var(--gold); color: var(--navy-dark); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--navy-dark); }

/* placeholder photo blocks */
.photo-placeholder {
  background: var(--gray-300);
  border: 2px dashed var(--gray-600);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ---------- Issues page ---------- */
.issue-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-300);
}
.issue-block:last-child { border-bottom: none; }
.issue-num {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Forms ---------- */
form.card label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--navy);
}
form.card input,
form.card select,
form.card textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: inherit;
}
form.card textarea { resize: vertical; min-height: 110px; }
form.card .btn { width: 100%; border: none; margin-top: 6px; }

.form-note {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 14px 0 0;
}

/* ---------- Contact info list ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-300);
}
.contact-list strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.social-row a:hover { background: var(--gold-dark); text-decoration: none; }

/* ---------- Hero photo beside hero text ---------- */
.hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .hero-figure { margin-top: 28px; }
}

/* ---------- Story photo (About page) ---------- */
.story-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Social links list (Contact page) ---------- */
.social-list { list-style: none; padding: 0; margin: 18px 0 0; }
.social-list li { margin-bottom: 10px; }
.social-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}
.social-list a:hover {
  border-color: var(--navy);
  text-decoration: none;
}
.social-list .ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}
.social-list a:hover .ico { background: var(--gold-dark); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: var(--gray-300);
  padding: 48px 0 24px;
  margin-top: 40px;
}
footer.site-footer .grid-3 { margin-bottom: 32px; }
footer.site-footer h4 { color: var(--white); font-size: 1rem; }
footer.site-footer a { color: var(--gray-300); }
footer.site-footer a:hover { color: var(--white); }
footer.site-footer .fine-print {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    padding: 16px 24px;
    display: none;
    gap: 16px;
  }
  nav.main-nav ul.open { display: flex; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
  }
  .brand .logo-img { height: 56px; }
  .issue-block { grid-template-columns: 50px 1fr; }
}
