/* ── SHARED STYLES — Jonathan St. Clair for City Council 2026 ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --orange: #E8530A;
  --blue:   #5B8DB8;
  --blue-dark: #3A6A94;
  --blue-light: #EBF2F9;
  --deep:   #1A1208;
  --warm:   #F5EFE6;
  --gold:   #C9913A;
  --text:   #2D2010;
  --muted:  #7A6A52;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(245,239,230,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,145,58,0.2);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--orange); letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}
.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  border-bottom: none !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 2px;
  margin-left: 1rem;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* ── SHARED TYPOGRAPHY ── */
.section-label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--deep);
}
.section-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 540px; line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: white;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); }
.btn-blue {
  background: var(--blue); color: white;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--gold); color: var(--gold);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: white; }

/* ── ORNAMENT ── */
.ornament {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 4rem; margin: 0.5rem 0;
}
.ornament-line { flex: 1; height: 1px; background: rgba(201,145,58,0.3); }
.ornament-icon { color: var(--gold); font-size: 1rem; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 10rem 4rem 5rem;
  background: var(--deep);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}
.page-header .section-label { color: var(--blue); }
.page-header .section-title { color: white; font-size: clamp(2.5rem,5vw,4rem); }
.page-header p { color: rgba(255,255,255,0.55); font-size: 1.05rem; line-height: 1.7; max-width: 560px; margin-top: 0.75rem; }

/* ── PHOTO PLACEHOLDER ── */
.photo-placeholder {
  background: linear-gradient(145deg, #d4c4a8, #b8a07a);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px;
  position: relative; overflow: hidden;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  width: 60px; height: 75px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px 30px 20px 20px;
  top: 50%; left: 50%;
  transform: translate(-50%, -80%);
}
.photo-placeholder::after {
  content: '';
  position: absolute;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -250%);
}
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,18,8,0.7);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 1rem; text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.35);
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--orange), var(--blue)) 1;
}
footer a { color: var(--blue); text-decoration: none; }
footer a:hover { color: white; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links a { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .ornament { padding: 0 1.5rem; }
  .page-header { padding: 8rem 1.5rem 4rem; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 2rem 1.5rem; }
}
