/* ============================================
   REAL ESTATE PORTFOLIO — Luxury Trust
   Colors: Navy #0F172A, Gold #D4AF37, Cream #FAFAFA
   Fonts: Cormorant Garamond, Montserrat
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-dark: #0F172A;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-light: #F8FAFC;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #B89626;
  --border-color: #E2E8F0;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
  --max-width: 1280px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }

/* ── Navbar ── */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 30px 0;
  transition: var(--transition);
  background: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar.scrolled {
  position: fixed;
  padding: 15px 0;
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: var(--shadow);
  border-bottom: none;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; letter-spacing: 1px; }
.nav-logo span { color: var(--accent-gold); }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--accent-gold); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: currentColor; margin: 5px 0; transition: var(--transition); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); z-index: -1;
}
.hero-content h1 {
  font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600; line-height: 1.1; margin-bottom: 20px; text-transform: capitalize;
}
.hero-content p { font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 40px; color: #ddd; }
.btn {
  display: inline-block; padding: 15px 40px;
  font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px;
  background: var(--accent-gold); color: #fff; border: 1px solid var(--accent-gold); transition: var(--transition); cursor: pointer;
}
.btn:hover { background: transparent; color: var(--accent-gold); }

/* ── Sections ── */
.section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-tag { color: var(--accent-gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px; display: block; }
.section-title { font-family: var(--font-heading); font-size: 3rem; font-weight: 500; color: var(--bg-dark); }

/* ── Properties Grid ── */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; }
.property-card { background: var(--bg-secondary); box-shadow: var(--shadow); transition: var(--transition); }
.property-card:hover { transform: translateY(-10px); }
.property-image { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.property-card:hover .property-image img { transform: scale(1.05); }
.property-price { position: absolute; bottom: 0; left: 0; background: var(--bg-dark); color: #fff; padding: 10px 20px; font-family: var(--font-heading); font-size: 1.2rem; }
.property-status { position: absolute; top: 20px; right: 20px; background: var(--accent-gold); color: #fff; padding: 5px 15px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.property-info { padding: 30px; }
.property-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; color: var(--bg-dark); }
.property-address { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 5px; }
.property-features { display: flex; gap: 20px; border-top: 1px solid var(--border-color); padding-top: 20px; font-size: 0.9rem; color: var(--text-secondary); }
.feature { display: flex; align-items: center; gap: 8px; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; padding-right: 40px; padding-bottom: 40px; }
.about-image img { width: 100%; box-shadow: var(--shadow); }
.about-image::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60%; height: 60%; border: 2px solid var(--accent-gold); z-index: -1; }
.about-text h3 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 20px; color: var(--bg-dark); }
.about-text p { margin-bottom: 20px; color: var(--text-secondary); }

/* ── Footer ── */
.footer { background: var(--bg-dark); color: var(--text-light); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 20px; }
.footer-logo span { color: var(--accent-gold); }
.footer h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 20px; color: var(--accent-gold); }
.footer p, .footer li { color: #94A3B8; font-size: 0.9rem; margin-bottom: 15px; }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #94A3B8; }

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--bg-secondary); color: var(--text-primary);
    flex-direction: column; justify-content: center; padding: 40px;
    transition: var(--transition); box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }
  .nav-links.active { right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
