:root {
  /* Colors - Dark Mode Premium */
  --bg-body: #09090b;
  --bg-card: #18181b;
  --bg-elevated: #27272a;
  --text-main: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --primary: #f59e0b; /* Amber/Gold for premium feel */
  --primary-hover: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.3);
  
  --border: #3f3f46;
  --border-light: #52525b;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 48px;
  --spacing-xxl: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 20px var(--primary-glow);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--text-main);
  line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--spacing-lg); }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--spacing-sm); }

p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: var(--spacing-xl) 0; }
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #b45309 100%);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255,255,255,0.05);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15), transparent 60%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

/* Floor Plan Feature */
.floor-plan-container {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

/* Placeholders */
.placeholder-image {
  background: var(--bg-elevated);
  width: 100%;
  height: 100%;
  min-height: 240px;
  transition: all 0.3s ease;
}

.interior-card:hover .placeholder-image {
  transform: scale(1.02);
}

.interior-card {
  overflow: hidden;
}

.placeholder-image.tall {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, var(--bg-card) 25%, transparent 25%), 
    linear-gradient(-45deg, var(--bg-card) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, var(--bg-card) 75%), 
    linear-gradient(-45deg, transparent 75%, var(--bg-card) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.1;
}

.placeholder-floorplan {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Simple CSS Floorplan representation */
.fp-box {
  border: 2px solid var(--text-secondary);
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.5fr 1fr;
  gap: 4px;
  background: #000;
  padding: 4px;
}

.fp-room {
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
}

.fp-room:hover {
  background: var(--bg-card);
  color: var(--primary);
}

.fp-room span {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.fp-room.living {
  grid-column: span 2;
}

.fp-balcony {
  position: absolute;
  right: 0;
  bottom: 20%;
  width: 40px;
  height: 60px;
  border-left: 2px dashed #52525b;
  display: flex;
  align-items: center;
  font-size: 10px;
  justify-content: center;
  color: var(--text-muted);
}

/* Feature Grid */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table td {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table td:first-child {
  font-weight: 500;
  color: var(--text-main);
  width: 40%;
}

/* Contact Form */
.form-group {
  margin-bottom: var(--spacing-md);
}
.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}
