/* ECH Property Management — global stylesheet
   Built 2026-05-09 per ECH-WEBSITE-REBUILD-BRIEF.md
   Colors: lavender #B0A8E0, dark navy #1F2937, white #FFFFFF
*/

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

:root {
  --lavender: #B0A8E0;
  --lavender-light: #DCD7F0;
  --navy: #1F2937;
  --navy-light: #374151;
  --white: #FFFFFF;
  --text-dark: #1A202C;
  --text-muted: #64748B;
  --bg-soft: #F9FAFB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text-dark); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--lavender); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4rem 0; }

.nav { background: var(--white); border-bottom: 1px solid #E5E7EB; padding: 1rem 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.logo strong { font-weight: 800; }
.logo .light { font-weight: 400; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.nav-links a { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--lavender); }
.nav-links .dropdown { position: relative; cursor: pointer; }
.nav-links .dropdown:hover .submenu { display: flex; }
.submenu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); flex-direction: column; min-width: 220px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 0.5rem 0; z-index: 50; }
.submenu a { padding: 0.5rem 1rem; }
.submenu a:hover { background: var(--lavender-light); }

.btn { display: inline-block; padding: 0.75rem 1.5rem; background: var(--navy); color: var(--white); border: none; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.2s, transform 0.1s; text-align: center; }
.btn:hover { background: var(--navy-light); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-lavender { background: var(--lavender); }
.btn-lavender:hover { background: #9990C8; color: var(--white); }

.hero { background-image: linear-gradient(rgba(31,41,55,0.55), rgba(31,41,55,0.55)), url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; color: var(--white); padding: 6rem 0 5rem; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.hero .pre-title { color: var(--lavender-light); letter-spacing: 0.15em; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.hero .post-title { font-size: 1.25rem; margin-bottom: 2rem; color: var(--white); }
.hero p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 1.5rem; }

.find-rental { background: var(--lavender-light); text-align: center; padding: 4rem 0; }
.find-rental .icon { width: 64px; height: 64px; margin: 0 auto 1rem; display: block; }
.find-rental h2 { font-size: 1.75rem; }
.find-rental p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 2rem; }
.find-rental .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col .text h2 { margin-bottom: 1rem; }
.two-col .text p { margin-bottom: 1.25rem; font-size: 1.05rem; }
.two-col img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

.available-rentals { background: var(--bg-soft); }
.available-rentals .phone { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 1rem 0; display: block; }

.cta-banner { background: var(--navy); color: var(--white); text-align: center; padding: 4rem 0; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 800px; margin: 0 auto 2rem; font-size: 1.1rem; }

.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
.listing-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.2s, box-shadow 0.2s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-card img { height: 220px; object-fit: cover; }
.listing-card .body { padding: 1.5rem; }
.listing-card h3 { margin-bottom: 0.5rem; }
.listing-card .meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.listing-card .meta span { margin-right: 1rem; }
.listing-card .price { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.listing-card .btn { width: 100%; }

.faq { background: var(--lavender-light); }
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq-item { background: var(--white); border-radius: var(--radius-md); margin-bottom: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 1.25rem 1.5rem; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; position: relative; padding-right: 3rem; }
.faq-item summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--lavender); }
.faq-item[open] summary::after { content: '-'; }
.faq-item .content { padding: 0 1.5rem 1.5rem; color: var(--text-muted); }

footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 4rem 0 2rem; background-image: linear-gradient(rgba(31,41,55,0.92), rgba(31,41,55,0.92)), url('https://images.unsplash.com/photo-1546412414-e1885259563a?auto=format&fit=crop&w=1600&q=80'); background-size: cover; background-position: center; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 2rem; margin-bottom: 2rem; }
footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1.1rem; }
footer .logo { color: var(--white); margin-bottom: 1rem; display: block; }
footer p { color: rgba(255,255,255,0.7); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.85); }
footer a:hover { color: var(--lavender); }
.footer-contact strong { color: var(--white); }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

.page-header { background: var(--lavender-light); padding: 5rem 0 3rem; text-align: center; }
.page-header .pre-title { color: var(--navy-light); letter-spacing: 0.15em; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { font-size: 1.15rem; max-width: 700px; margin: 0 auto; }

@media (max-width: 768px) {
  .nav-inner { flex-direction: column; gap: 1rem; }
  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  section { padding: 3rem 0; }
  .hero { padding: 4rem 0 3rem; }
}
