/* === Metro Realty — Urban Modern Template === */
:root {
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --bg-dark: #0f1923;
    --text: #0f172a;
    --text-muted: #64748b;
    --accent: #1a56db;
    --accent-hover: #1444b0;
    --border: #e5e7eb;
    --radius: 10px;
    --font: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; font-weight: 400; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 16px 0; background: transparent; transition: background .3s, box-shadow .3s, padding .3s; }
.header.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 1px 20px rgba(0,0,0,.06); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: 1px; }
.logo-dot { color: var(--accent); }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .3s; }
.nav a:hover { color: var(--text); }

.btn { display: inline-block; padding: 14px 28px; background: var(--accent); color: white; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .9rem; border: none; cursor: pointer; transition: all .3s; }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,.2); }
.btn-outline { background: transparent; border: 2px solid var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: white; box-shadow: none; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-full { width: 100%; text-align: center; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 24px 60px; position: relative; background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%); }
.hero-content { max-width: 1120px; margin: 0 auto; width: 100%; }
.hero-tag { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; }
.hero-title { font-size: clamp(2.8rem, 5.5vw, 4.2rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 48px; max-width: 1120px; margin: 80px auto 0; width: 100%; padding: 0 24px; }
.stat { text-align: left; }
.stat-num { font-size: 2.4rem; font-weight: 700; color: var(--text); }
.stat-suffix { font-size: 1.4rem; font-weight: 600; color: var(--accent); margin-left: 2px; }
.stat p { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: white; }
.section-dark .section-sub { color: rgba(255,255,255,.6); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); font-size: 1rem; }

/* Filter */
.filter-bar { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border: 1px solid var(--border); border-radius: 24px; background: transparent; cursor: pointer; font-size: .85rem; font-weight: 500; transition: all .3s; font-family: var(--font); }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

/* Listings */
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: white; transition: transform .3s, box-shadow .3s; }
.listing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.listing-card.hidden { display: none; }
.listing-img { position: relative; overflow: hidden; }
.listing-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.listing-card:hover .listing-img img { transform: scale(1.05); }
.listing-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: white; padding: 4px 12px; border-radius: 4px; font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.listing-body { padding: 20px; }
.listing-price { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.listing-body h3 { font-size: .92rem; font-weight: 500; color: var(--text-muted); margin-bottom: 10px; }
.listing-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--text-muted); margin-bottom: 10px; }
.listing-meta span { padding: 3px 10px; background: var(--bg-alt); border-radius: 4px; }
.listing-desc { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { padding: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); transition: background .3s; }
.service-card:hover { background: rgba(255,255,255,.05); }
.service-num { font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; letter-spacing: 1px; }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { text-align: center; }
.team-img { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: .85rem; color: var(--text-muted); max-width: 280px; margin: 0 auto; }

/* Suburbs */
.suburbs-scroll { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.suburb-chip { padding: 10px 22px; border: 1px solid var(--border); border-radius: 24px; font-size: .88rem; font-weight: 500; transition: all .3s; cursor: default; }
.suburb-chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(26,86,219,.04); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; }
.contact-text > p { color: var(--text-muted); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item strong { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.contact-item p { margin-top: 4px; font-size: .92rem; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input { padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); font-size: .92rem; font-family: var(--font); transition: border-color .3s; }
.contact-form input:focus { outline: none; border-color: var(--accent); }

/* Footer */
.footer { padding: 50px 0 30px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.footer-brand p { color: var(--text-muted); font-size: .85rem; margin-top: 6px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .85rem; transition: color .3s; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); text-decoration: none; font-size: .85rem; transition: color .3s; }
.footer-social a:hover { color: var(--accent); }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: .78rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .listings-grid, .services-grid, .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-stats { flex-direction: column; gap: 24px; }
}
@media (max-width: 768px) {
    .nav, .hide-mobile { display: none; }
    .nav-toggle { display: block; }
    .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: white; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.08); gap: 16px; }
    .hero { min-height: auto; padding: 140px 24px 60px; }
    .hero-title { font-size: 2.2rem; }
}
