/* ===== Variables ===== */
:root {
    --gold: #c9a962;
    --gold-dark: #b8953f;
    --navy: #1a1a2e;
    --dark: #0f0f1a;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --border: #e5e5e5;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --ease: all 0.3s ease;
    --max-w: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Type ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--navy); }
.section-subtitle { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); margin-bottom: 12px; display: block; }
.section-title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 20px; }
.section-header { text-align: center; margin-bottom: 52px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-family: var(--font-body); font-size: 14px; font-weight: 500; border-radius: 3px; border: 1.5px solid transparent; cursor: pointer; transition: var(--ease); }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--dark); border-color: var(--dark); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-full { width: 100%; }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: var(--ease); }
.navbar.scrolled { background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-container { max-width: var(--max-w); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 19px; font-weight: 600; color: var(--white); }
.logo-mark { width: 32px; height: 32px; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-family: var(--font-body); border-radius: 3px; flex-shrink: 0; }
.logo-type { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-parent { font-size: 13px; color: rgba(255,255,255,0.6); }
.nav-parent:hover { color: var(--gold); }
.btn-nav { padding: 9px 20px; background: var(--gold); color: var(--navy) !important; font-size: 13px; font-weight: 600; border-radius: 3px; }
.btn-nav:hover { background: var(--gold-dark); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background-size: cover; background-position: center; background-attachment: fixed; padding: 120px 24px 100px; text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,20,0.82) 0%, rgba(10,10,20,0.55) 50%, rgba(10,10,20,0.88) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 4px; color: var(--gold); margin-bottom: 24px; display: block; }
.hero-title { font-size: clamp(38px, 7vw, 68px); font-weight: 700; color: var(--white); margin-bottom: 24px; line-height: 1.08; }
.hero-description { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 580px; margin: 0 auto 40px; line-height: 1.75; }
.hero-metrics { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 44px; padding: 22px 40px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; backdrop-filter: blur(8px); }
.hero-metrics .metric strong { display: block; font-family: var(--font-heading); font-size: 26px; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.hero-metrics .metric span { font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1px; }
.metric-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ===== Intro Stats ===== */
.intro-stats { background: var(--navy); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 36px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-cell:last-child { border-right: none; }
.stat-cell strong { display: block; font-family: var(--font-heading); font-size: 32px; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.stat-cell span { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* ===== Listings ===== */
.listings { padding: 100px 0; background: var(--off-white); }
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.loading { grid-column: span 3; text-align: center; padding: 80px 0; color: var(--text-muted); font-size: 15px; }

/* Property Card */
.prop-card { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); position: relative; }
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prop-card.featured { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; }
.prop-image { position: relative; height: 260px; background-size: cover; background-position: center; }
.prop-card.featured .prop-image { height: 100%; min-height: 320px; }
.prop-badge { position: absolute; top: 16px; left: 16px; padding: 5px 12px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 3px; }
.prop-badge.new { background: #27ae60; color: var(--white); }
.prop-badge.exclusive { background: var(--navy); color: var(--gold); }
.prop-location-tag { position: absolute; bottom: 16px; left: 16px; padding: 5px 12px; background: rgba(0,0,0,0.65); color: var(--white); font-size: 12px; font-weight: 500; border-radius: 3px; backdrop-filter: blur(4px); }
.prop-yield-tag { position: absolute; bottom: 16px; right: 16px; padding: 6px 14px; background: var(--navy); color: var(--gold); font-size: 13px; font-weight: 700; border-radius: 3px; }

/* Shortlist button */
.prop-save { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--ease); z-index: 2; }
.prop-save:hover { background: var(--white); transform: scale(1.1); }
.prop-save.saved { background: var(--gold); color: var(--navy); }

.prop-body { padding: 28px; display: flex; flex-direction: column; }
.prop-card.featured .prop-body { padding: 40px; justify-content: center; }
.prop-location-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.prop-body h3 { font-size: 20px; margin-bottom: 8px; }
.prop-card.featured .prop-body h3 { font-size: 26px; }
.prop-spec { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.prop-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; flex-grow: 1; }

/* Yield bar (condos) */
.yield-bar { margin-bottom: 20px; }
.yield-bar-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.yield-value { font-weight: 700; color: var(--navy); }
.yield-track { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.yield-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.8s ease; }

.prop-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.prop-price { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--navy); }
.prop-enquire { font-size: 14px; font-weight: 500; color: var(--gold); }
.prop-enquire:hover { color: var(--gold-dark); }

/* ===== Shortlist Bar ===== */
.shortlist-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--navy); border-top: 1px solid rgba(201,169,98,0.3); transform: translateY(100%); transition: transform 0.35s ease; }
.shortlist-bar.visible { transform: translateY(0); }
.shortlist-inner { max-width: var(--max-w); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.shortlist-left { display: flex; align-items: center; gap: 12px; }
.shortlist-count { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--gold); color: var(--navy); border-radius: 50%; font-size: 13px; font-weight: 700; }
.shortlist-label { font-size: 14px; color: rgba(255,255,255,0.8); }
.shortlist-view-btn { background: none; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); font-size: 13px; padding: 5px 12px; border-radius: 3px; cursor: pointer; transition: var(--ease); }
.shortlist-view-btn:hover { border-color: var(--gold); color: var(--gold); }
.shortlist-drawer { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.shortlist-drawer.open { max-height: 300px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.shortlist-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.shortlist-item:last-child { border-bottom: none; }
.shortlist-item span { font-size: 14px; color: rgba(255,255,255,0.8); }
.shortlist-remove { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; transition: var(--ease); }
.shortlist-remove:hover { color: #e74c3c; }

/* ===== Why Section ===== */
.why { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-lead { font-size: 17px; color: var(--text-light); line-height: 1.8; margin-bottom: 36px; }
.why-points { display: flex; flex-direction: column; gap: 28px; }
.why-point { display: flex; gap: 16px; }
.why-icon { width: 28px; height: 28px; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 13px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.why-point strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 6px; font-family: var(--font-heading); }
.why-point p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }
.why-image { height: 520px; border-radius: 4px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; background: var(--navy); }
.testimonials .section-subtitle { color: var(--gold); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 36px; }
.testimonial-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--navy); background: rgba(201,169,98,0.85); padding: 4px 10px; border-radius: 3px; margin-bottom: 20px; }
.testimonial p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 44px; height: 44px; background: var(--gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 15px; color: var(--white); margin-bottom: 3px; }
.testimonial-author span { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===== Enquire ===== */
.enquire { padding: 100px 0; background: var(--off-white); }
.enquire-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.enquire-content .section-subtitle { color: var(--gold); }
.enquire-content > p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 32px; }
.enquire-note { background: var(--white); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 0 4px 4px 0; margin-bottom: 24px; }
.enquire-note strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.enquire-note p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.6; }
.shortlist-summary { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 20px; }
.shortlist-summary strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 12px; }
.shortlist-summary ul { display: flex; flex-direction: column; gap: 8px; }
.shortlist-summary li { font-size: 14px; color: var(--text-light); padding-left: 16px; position: relative; }
.shortlist-summary li::before { content: '›'; position: absolute; left: 0; color: var(--gold); }

.enquire-form { background: var(--white); border-radius: 4px; padding: 44px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 14px; border: 1px solid var(--border); border-radius: 3px; background: var(--white); transition: border-color 0.2s ease; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { margin-bottom: 12px; }
.footer > .container > .footer-inner > div > p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.parent-link { font-size: 13px; color: var(--gold); }
.parent-link:hover { text-decoration: underline; }
.footer-links-inline { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links-inline a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-links-inline a:hover { color: var(--gold); }
.footer-bottom { padding: 24px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-metrics { flex-wrap: wrap; gap: 20px; padding: 20px 24px; }
    .metric-divider { display: none; }
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    .prop-card.featured { grid-column: span 2; grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .why-image { height: 380px; }
    .enquire-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-cell { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .listings-grid { grid-template-columns: 1fr; }
    .prop-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
    .prop-card.featured .prop-image { height: 260px; }
    .loading { grid-column: span 1; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-links-inline { align-items: flex-start; }
    .shortlist-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
    .hero { background-attachment: scroll; }
    .enquire-form { padding: 28px 20px; }
}
