:root {
  --primary: #cba876; /* Luxury Gold */
  --primary-hover: #b3915f;
  --bg-dark: #0f1115;
  --bg-darker: #08090a;
  --bg-card: #16191f;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Navbar - Glassmorphism */
.navbar {
  background-color: rgba(15, 17, 21, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(8, 9, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 1rem 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.contact-btn {
  background-color: transparent;
  color: white;
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: var(--primary);
  color: var(--bg-dark);
}

/* Page Headers */
.page-header {
  padding: 6rem 5% 4rem;
  text-align: center;
  background-image: linear-gradient(rgba(15,17,21,0.9), rgba(15,17,21,1)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2075&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  height: 85vh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2075&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-subtitle {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

/* Properties Grid */
.featured {
  padding: 4rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.property-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.property-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.property-details {
  padding: 1.5rem;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.property-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.property-address {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.property-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Generic Content Area */
.content-section {
  padding: 4rem 5%;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
}

.content-section h2 {
  color: white;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--bg-darker);
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 4rem;
}

.footer-content {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* --- Filtering UI --- */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

/* Hide filtered items */
.property-card.hide {
  display: none;
}
