/* ============================================
   Shared stylesheet for neighborhood/area pages
   Jenn Sells Bentonville — brand-consistent styling
   ============================================ */

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

:root {
  --cream: #FAF7F2;
  --dark: #1A1A1A;
  --rust: #EF3340;
  --rust-light: #F1515C;
  --gold: #C9A96E;
  --warm-gray: #6B6056;
  --light-gray: #E8E3DC;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
}

a { color: inherit; }

/* NAV */
.np-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  border-bottom: 1px solid var(--light-gray);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 1rem;
}

.np-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
}

.np-nav-logo span { color: var(--rust); }

.np-nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.np-nav-links a {
  text-decoration: none;
  color: var(--warm-gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.np-nav-links a:hover { color: var(--rust); }

.np-nav-cta {
  background: var(--rust);
  color: #fff !important;
  padding: 0.6rem 1.3rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.np-nav-cta:hover { background: var(--rust-light); }

/* HERO */
.np-hero {
  padding: 4.5rem 6% 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.np-breadcrumb {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-bottom: 1.2rem;
}

.np-breadcrumb a { color: var(--rust); text-decoration: none; }

.np-hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

.np-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.3rem;
}

.np-hero h1 em { font-style: italic; color: var(--rust); }

.np-hero-lede {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 700px;
  margin-bottom: 2rem;
}

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

.np-btn-primary {
  background: var(--rust);
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.np-btn-primary:hover { background: var(--rust-light); transform: translateY(-1px); }

.np-btn-secondary {
  background: transparent;
  color: var(--dark);
  padding: 0.85rem 2rem;
  border: 2px solid var(--dark);
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.np-btn-secondary:hover { background: var(--dark); color: #fff; }

/* STATS STRIP */
.np-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  padding: 0 6%;
}

.np-stat {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 1.3rem 1rem;
  text-align: center;
}

.np-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rust);
}

.np-stat-label {
  font-size: 0.75rem;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

/* CONTENT SECTIONS */
.np-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 6%;
}

.np-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.np-section h2 em { font-style: italic; color: var(--rust); }

.np-section p {
  color: var(--warm-gray);
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
  max-width: 780px;
}

.np-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.np-highlight {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 1.5rem;
}

.np-highlight-icon { font-size: 1.6rem; margin-bottom: 0.7rem; }
.np-highlight h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.np-highlight p { font-size: 0.88rem; margin-bottom: 0; }

/* LISTINGS IN CITY */
.np-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
  margin-top: 1.5rem;
}

.np-listing-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s ease;
}

.np-listing-card:hover {
  box-shadow: 0 4px 28px rgba(0,0,0,0.14);
}

.np-listing-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.np-listing-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.np-listing-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--rust);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
}

.np-listing-info { padding: 1.2rem 1.3rem 1.4rem; }
.np-listing-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--rust); margin-bottom: 0.3rem; }
.np-listing-address { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.6rem; }
.np-listing-details { display: flex; flex-wrap: wrap; gap: 0.8rem; font-size: 0.78rem; color: var(--warm-gray); }

.np-no-listings {
  background: #fff;
  border: 1px dashed var(--light-gray);
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  color: var(--warm-gray);
  font-size: 0.92rem;
}

/* CTA BAND */
.np-cta-band {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 3.5rem 6%;
  margin-top: 3rem;
}

.np-cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.np-cta-band h2 em { font-style: italic; color: var(--gold); }
.np-cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 1.8rem; }
.np-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.np-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem 6%;
  font-size: 0.8rem;
}

.np-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.np-footer a:hover { color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .np-stats { grid-template-columns: 1fr 1fr; }
  .np-highlights { grid-template-columns: 1fr; }
  .np-listings-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .np-nav-links { display: none; }
  .np-stats { grid-template-columns: 1fr 1fr; }
  .np-listings-grid { grid-template-columns: 1fr; }
}


/* --- secondary button on DARK backgrounds (CTA band only) --- */
.np-cta-band .np-btn-secondary {
    color: #fff;
    border-color: #fff;
}
.np-cta-band .np-btn-secondary:hover {
    background: #fff;
    color: var(--dark);
}

/* --- footer back button --- */
.np-footer .np-btn-back {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.6rem 1.7rem;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 3px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: all 0.2s;
}
.np-footer .np-btn-back:hover {
    background: #fff;
    border-color: #fff;
    color: var(--dark);
}
