/* Shared styles for all neighborhood pages */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-white: #FFFFFF; --cream: #FAFAF8; --sand: #F5F3EF; --warm-gray: #EDEBE7;
    --accent: #B8956A; --accent-light: #D4BC9A; --charcoal: #1C1917; --warm-dark: #2C2723;
    --muted: #8C8279; --muted-light: #A89F96; --border: rgba(184, 149, 106, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.9); --glass-shadow: 0 8px 32px rgba(28, 25, 23, 0.05);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background-color: var(--bg-white); color: var(--warm-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; backdrop-filter: blur(10px); background-color: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--warm-gray); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--warm-dark); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent); }

.btn-primary { background-color: var(--charcoal); color: var(--bg-white); border: none; padding: 0.65rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary:hover, .nav-links a.btn-primary:hover { background-color: var(--accent); color: #FFFFFF !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(184,149,106,0.3); }
.btn-primary::after { content: "\2192"; transition: transform 0.3s ease; }
.btn-primary:hover::after { transform: translateX(4px); }

.btn-secondary { background-color: transparent; color: var(--charcoal); border: 1.5px solid var(--accent); padding: 0.65rem 1.5rem; border-radius: 50px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-secondary:hover { background-color: var(--accent); color: var(--bg-white); }

.hero { margin-top: 60px; min-height: 600px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.hero-content { text-align: center; max-width: 700px; padding: 3rem 2rem; position: relative; z-index: 10; animation: fadeInUp 1s ease-out; }
.hero-badge { display: inline-block; background-color: var(--glass-bg); border: 1px solid var(--border); color: var(--accent); font-size: 0.85rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; backdrop-filter: blur(20px); }
.hero-content h1 { font-size: 3.5rem; color: var(--warm-dark); margin-bottom: 1rem; line-height: 1.1; }
.hero-content p { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.8; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.section { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.section-title { font-size: 2rem; color: var(--warm-dark); margin-bottom: 1.5rem; text-align: center; }
.overview { background-color: var(--cream); }
.overview-content { font-size: 1.05rem; line-height: 1.8; color: var(--warm-dark); }
.overview-content p { margin-bottom: 1.5rem; }
.highlight { color: var(--accent); font-weight: 600; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.stat-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; text-align: center; box-shadow: var(--glass-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(28, 25, 23, 0.08); }
.stat-card h3 { color: var(--accent); font-size: 1.25rem; margin-bottom: 0.5rem; }
.stat-card p { font-size: 0.95rem; color: var(--muted); }

.features { background-color: var(--bg-white); }
.features-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-text h3 { font-size: 1.5rem; color: var(--warm-dark); margin-bottom: 1rem; margin-top: 2rem; }
.feature-text p { font-size: 0.95rem; color: var(--warm-dark); margin-bottom: 1.5rem; line-height: 1.8; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 3rem 0; }
.photo-grid img { width: 100%; height: 350px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 32px rgba(28, 25, 23, 0.08); transition: transform 0.3s ease; }
.photo-grid img:hover { transform: scale(1.02); }

.cta { background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%); text-align: center; }
.cta-content { max-width: 600px; margin: 0 auto; }
.cta h2 { font-size: 2rem; color: var(--warm-dark); margin-bottom: 1.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-buttons a { text-decoration: none; }

footer { background-color: var(--warm-dark); color: var(--cream); padding: 3rem 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; margin-bottom: 2rem; }
.footer-section h4 { color: var(--accent-light); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-section p { font-size: 0.9rem; line-height: 1.8; color: var(--muted-light); }
.footer-section a { color: var(--accent-light); text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(212, 188, 154, 0.2); padding-top: 2rem; text-align: center; font-size: 0.85rem; color: var(--muted-light); }

.section-subtitle { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }

.resilience-note { background: var(--sand); border-left: 3px solid var(--accent); padding: 1.5rem 2rem; border-radius: 0 8px 8px 0; margin: 2rem 0; font-size: 0.95rem; line-height: 1.8; color: var(--warm-dark); }

.sub-neighborhoods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.sub-card { background: var(--glass-bg); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: transform 0.3s ease; }
.sub-card:hover { transform: translateY(-3px); }
.sub-card h4 { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.5rem; }
.sub-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .nav-links { gap: 1.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .section { padding: 3rem 1.5rem; }
    .section-title { font-size: 1.75rem; }
    .features-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
    .stat-card { padding: 2rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons a { width: 100%; }
    .cta-buttons .btn-primary, .cta-buttons .btn-secondary { width: 100%; justify-content: center; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .navbar { padding-top: 1rem; }
    .nav-container { padding: 0.75rem 1rem; flex-wrap: wrap; gap: 1rem; }
    .nav-links { display: none; }
    .hero { margin-top: 120px; min-height: 400px; }
    .hero-content { padding: 2rem 1rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 0.95rem; }
    .section { padding: 2rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .photo-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .photo-grid img { height: 250px; }
}
