/* Shared styles for city landing pages — /near/ */
:root {
  --cream: #F5EDE0; --warm-white: #FAF7F2; --linen: #EDE5D8;
  --honey: #C4993B; --barn-red: #7A2E2E; --barn-red-light: #9B4A4A;
  --timber: #3E2C1C; --text: #2E2318; --text-soft: #5C4F42; --stone: #8E8578;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Serif 4', Georgia, serif; color: var(--text); background: var(--warm-white); line-height: 1.65; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(62, 44, 28, 0.08);
  transition: all 0.4s;
}
nav.scrolled {
  padding: 0.75rem 3rem;
  box-shadow: 0 2px 20px rgba(62, 44, 28, 0.08);
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: #8B2020; letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-soft);
  font-size: 0.85rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--barn-red); }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--timber); transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.page-hero {
  position: relative; height: 50vh; min-height: 350px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(46, 35, 24, 0.1) 0%,
    rgba(46, 35, 24, 0.4) 60%,
    rgba(46, 35, 24, 0.7) 100%
  );
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 2.5rem 3rem;
  max-width: 700px;
}
.page-hero-content .eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--honey); font-weight: 600; margin-bottom: 0.5rem;
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--cream); margin-bottom: 0.75rem;
}
.page-hero-content p {
  color: rgba(245, 237, 224, 0.8); font-size: 1rem;
  line-height: 1.7; font-weight: 300;
}

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem 1rem; }
.section h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--timber); margin-bottom: 0.35rem; }
.section .section-desc { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1.5rem; font-weight: 300; }
.section .accent-line { width: 40px; height: 3px; background: var(--honey); margin-bottom: 1.25rem; }
.section p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 1rem; }
.section a { color: var(--barn-red); text-decoration: none; border-bottom: 1px solid var(--barn-red-light); transition: color 0.3s; }
.section a:hover { color: var(--barn-red-light); }

/* Quick facts grid */
.quick-facts {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1.5rem 0;
}
.quick-facts .fact {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.5rem 1rem; border-radius: 4px;
  background: var(--cream); color: var(--text-soft);
}

/* Perfect-for grid */
.perfect-for {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin: 1.5rem 0;
}
.perfect-for .use-case {
  padding: 1rem 1.25rem;
  background: var(--cream); border-radius: 6px;
}
.perfect-for .use-case h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: var(--timber);
  margin-bottom: 0.3rem;
}
.perfect-for .use-case p {
  font-size: 0.85rem; margin-bottom: 0;
}

/* Also-near cross-links */
.also-near {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 1.5rem 0;
}
.also-near a {
  display: block; padding: 1.25rem;
  background: var(--cream); border-radius: 6px;
  text-decoration: none; border: none;
  transition: box-shadow 0.3s;
}
.also-near a:hover { box-shadow: 0 4px 12px rgba(62,44,28,0.1); }
.also-near .city-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700; color: var(--timber);
  margin-bottom: 0.2rem;
}
.also-near .city-drive {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--barn-red); font-weight: 600;
}

/* CTA */
.cta-bar { text-align: center; padding: 3rem 2rem; background: var(--cream); margin-top: 2rem; }
.cta-bar h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--timber); margin-bottom: 0.5rem; }
.cta-bar p { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 1.5rem; }
.btn { display: inline-block; padding: 0.9rem 2.2rem; background: var(--barn-red); color: var(--cream); text-decoration: none; font-family: 'Source Serif 4', serif; font-size: 0.8rem; letter-spacing: 0.06em; font-weight: 600; border-radius: 4px; transition: all 0.35s; }
.btn:hover { background: var(--barn-red-light); }

/* Footer */
footer { text-align: center; padding: 2rem; font-size: 0.75rem; color: var(--stone); border-top: 1px solid var(--linen); }

/* Hub page cards */
.city-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin: 1.5rem 0;
}
.city-card {
  display: block; padding: 1.5rem;
  background: var(--cream); border-radius: 8px;
  text-decoration: none; border: none;
  transition: box-shadow 0.3s, transform 0.3s;
}
.city-card:hover { box-shadow: 0 6px 20px rgba(62,44,28,0.12); transform: translateY(-2px); }
.city-card .city-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--timber);
  margin-bottom: 0.25rem;
}
.city-card .city-drive {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--barn-red); font-weight: 600; margin-bottom: 0.5rem;
}
.city-card .city-hook {
  font-size: 0.85rem; color: var(--text-soft); line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem; flex-wrap: wrap;
    background: rgba(250, 247, 242, 0.65);
  }
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    width: 100%; gap: 0; padding: 1rem 0 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.6rem 0; }
  .nav-links a { font-size: 0.95rem; }
  .page-hero { height: 40vh; min-height: 280px; }
  .page-hero-content { padding: 1.5rem; }
  .section { padding: 2rem 1.5rem 0.5rem; }
  .perfect-for { grid-template-columns: 1fr; }
  .also-near { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
}
