/* Design System Variables */
:root {
  /* Color Palette */
  --color-primary: #0f172a;       /* Deep slate/black */
  --color-secondary: #1e293b;     /* Slate grey */
  --color-gold: #c5a059;          /* Champagne gold */
  --color-gold-hover: #b38f48;    /* Darker gold */
  --color-gold-light: #f5f0e6;    /* Very light warm beige */
  --color-bg-light: #f8fafc;      /* Soft white */
  --color-bg-alt: #f1f5f9;        /* Warm light grey */
  --color-text-dark: #1e293b;     /* Dark grey text */
  --color-text-muted: #64748b;    /* Muted grey text */
  --color-text-light: #f8fafc;    /* Off-white text */
  --color-border: #e2e8f0;        /* Light border */
  --color-danger: #ef4444;        /* Soft red */
  --color-success: #10b981;       /* Soft green */

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
  --border-radius: 12px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.15), 0 12px 16px -8px rgba(15, 23, 42, 0.15);
}

/* Reset and Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Section Header Styles */
.section {
  padding: 100px 0;
}

.alternate-bg {
  background-color: var(--color-bg-alt);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 0 auto 24px auto;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-gold);
  color: white;
  border: 1px solid var(--color-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: white;
  color: var(--color-primary);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  height: 70px;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.site-logo {
  height: 40px;
  width: auto;
  transition: var(--transition-smooth);
}

.site-header.scrolled .site-logo {
  height: 34px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: white;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  background-color: var(--color-gold);
  color: white !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-cta-btn::after {
  display: none;
}

.nav-cta-btn:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  position: relative;
  transition: background 0.3s;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: white;
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Menu Open State */
.nav-toggle.open .hamburger {
  background-color: transparent;
}
.nav-toggle.open .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease;
  z-index: 1;
}

.hero-section:hover .hero-background {
  transform: scale(1.05);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 650px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  color: white;
  margin-bottom: 24px;
}

.hero-title .highlight {
  font-weight: 500;
  color: var(--color-gold);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-smooth);
  color: white;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  color: var(--color-gold);
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

.bounce {
  animation: bounce 2s infinite;
}

/* Grid Layouts */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.align-center {
  align-items: center;
}

/* Development Overview */
.development-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.development-text h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.development-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.key-selling-points {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.key-selling-points li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ksp-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-gold-light);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.1);
}

.ksp-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.ksp-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.development-stats {
  position: relative;
  min-height: 400px;
}

.stats-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--color-gold);
  padding-left: 20px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* Property Showcase Cards */
.properties-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.property-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.3);
}

.property-image-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.property-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.property-card:hover .property-image {
  transform: scale(1.04);
}

.property-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-primary);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.property-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.property-type {
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

.property-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.property-desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 300;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: auto;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.property-specs span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

.property-specs i {
  color: var(--color-gold);
  font-size: 0.95rem;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.property-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Site Plan Styling */
.siteplan-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* For absolute tooltip positioning relative to this container */
}

.siteplan-card {
  background-color: white;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.siteplan-image-container {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f1f5f9;
  border: 1px solid var(--color-border);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.siteplan-relative-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.siteplan-img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  transition: var(--transition-smooth);
}

/* Let wrapper scaling handle image zoom on hover slightly */
.siteplan-image-container:hover .siteplan-img {
  transform: scale(1.01);
}

/* SVG Overlay Styles */
.siteplan-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Let clicks pass to hotspots */
}

.plot-hotspot {
  pointer-events: auto; /* Hotspots capture mouse events */
  cursor: pointer;
}

.plot-hotspot rect {
  fill: rgba(255, 255, 255, 0.02);
  stroke-width: 4px;
  stroke-dasharray: 8 6;
  transition: all 0.3s ease;
}

/* Specific plot styling to align with properties types */
/* Plot 1: Detached - Gold */
.plot-hotspot[data-plot="1"] rect {
  stroke: rgba(197, 160, 89, 0.45);
}
.plot-hotspot[data-plot="1"]:hover rect {
  fill: rgba(197, 160, 89, 0.18);
  stroke: rgba(197, 160, 89, 1);
  stroke-width: 6px;
  stroke-dasharray: none;
}

/* Plots 2 & 3: Semi-Detached - Blue */
.plot-hotspot[data-plot="2"] rect,
.plot-hotspot[data-plot="3"] rect {
  stroke: rgba(59, 130, 246, 0.45);
}
.plot-hotspot[data-plot="2"]:hover rect,
.plot-hotspot[data-plot="3"]:hover rect {
  fill: rgba(59, 130, 246, 0.18);
  stroke: rgba(59, 130, 246, 1);
  stroke-width: 6px;
  stroke-dasharray: none;
}

/* Plots 4, 5 & 6: Terraced - Green */
.plot-hotspot[data-plot="4"] rect,
.plot-hotspot[data-plot="5"] rect,
.plot-hotspot[data-plot="6"] rect {
  stroke: rgba(16, 185, 129, 0.45);
}
.plot-hotspot[data-plot="4"]:hover rect,
.plot-hotspot[data-plot="5"]:hover rect,
.plot-hotspot[data-plot="6"]:hover rect {
  fill: rgba(16, 185, 129, 0.18);
  stroke: rgba(16, 185, 129, 1);
  stroke-width: 6px;
  stroke-dasharray: none;
}

/* Rich Glassmorphic Tooltip */
.siteplan-tooltip {
  position: absolute;
  z-index: 500;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 16px;
  width: 280px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translate(-50%, -105%);
}

.siteplan-tooltip.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -100%) scale(0.95);
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.tooltip-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: white;
}

.tooltip-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.tooltip-badge.available {
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tooltip-badge.reserved {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.tooltip-model {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.tooltip-specs {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.tooltip-specs i {
  color: var(--color-gold);
  margin-right: 4px;
}

.tooltip-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 4px;
}

.siteplan-overlay-instruction {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.siteplan-image-container:hover .siteplan-overlay-instruction {
  background-color: var(--color-gold);
}

.siteplan-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.detached { background-color: var(--color-gold); }
.legend-dot.semi { background-color: #3b82f6; }
.legend-dot.terraced { background-color: #10b981; }

/* Lightbox Styling */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
  z-index: 1010;
}

.lightbox-close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

.lightbox-wrapper {
  position: relative;
  width: 90%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Lightbox relative wrapper and zoom target */
.lightbox-image-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transition: transform 0.1s ease-out; /* Fast response for panning */
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  user-select: none;
  pointer-events: none; /* Let overlay handle inputs */
}

.lightbox-image-container .siteplan-svg-overlay {
  z-index: 20;
}

/* Highlight Animation for Property Cards */
.property-card-highlight {
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.5) !important;
  transform: translateY(-5px) scale(1.01);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-controls {
  position: absolute;
  bottom: -40px;
  display: flex;
  gap: 16px;
  background-color: rgba(15, 23, 42, 0.7);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-smooth);
}

.lightbox-controls button:hover {
  color: var(--color-gold);
}

.lightbox-tip {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 60px;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Specifications Section */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.specs-card {
  background-color: white;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.specs-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.2);
}

.specs-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.specs-header i {
  font-size: 1.8rem;
  color: var(--color-gold);
}

.specs-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.specs-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.specs-card li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.specs-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* Register Section (CTA Form) */
.register-section {
  position: relative;
  background-color: var(--color-primary);
  color: white;
  overflow: hidden;
  padding: 120px 0;
}

.register-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.register-section .container {
  position: relative;
  z-index: 2;
}

.register-info-text h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.register-info-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
}

.gold-text {
  color: var(--color-gold) !important;
}

.light-text {
  color: white !important;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.c-method {
  display: flex;
  align-items: center;
  gap: 20px;
}

.c-method i {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.c-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
}

/* Registration Form Card */
.register-form-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  outline: none;
  background-color: var(--color-bg-light);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--color-danger);
}

.error-msg {
  color: var(--color-danger);
  font-size: 0.75rem;
  margin-top: 6px;
  display: none;
  font-weight: 500;
}

.form-group input.invalid + .error-msg,
.form-group checkbox-group input.invalid ~ .error-msg,
.form-group.has-error .error-msg {
  display: block;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group input {
  margin-top: 4px;
  accent-color: var(--color-gold);
}

.checkbox-group label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  cursor: pointer;
  user-select: none;
}

.form-submit-btn {
  margin-top: 10px;
}

/* Success State styling */
.form-success-alert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.6s ease-out;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-success);
  margin-bottom: 20px;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success-alert h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.form-success-alert p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 320px;
}

.hidden {
  display: none !important;
}

/* Footer styling */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 24px;
  align-self: flex-start;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.footer-links-group h4,
.footer-contact h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-links-group a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--color-gold);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  font-size: 0.75rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Showcase Section Styles */
.showcase-section {
  padding: 100px 0;
  background-color: var(--color-bg-light);
}

.showcase-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: var(--color-gold-light);
}

.filter-btn.active {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-text-light);
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.25);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
  transition: var(--transition-smooth);
}

.showcase-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-primary);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.showcase-item.showcase-hidden {
  display: none !important;
}

.showcase-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0) 30%,
    rgba(15, 23, 42, 0.7) 70%,
    rgba(15, 23, 42, 0.95) 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.showcase-item-tag {
  color: var(--color-gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.showcase-item-title {
  color: var(--color-text-light);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 4px;
  transform: translateY(15px);
  transition: transform 0.45s ease;
}

.showcase-item-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.4;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.showcase-zoom-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  z-index: 3;
}

.showcase-zoom-icon:hover {
  background-color: var(--color-gold);
  color: var(--color-text-light);
}

/* Hover States */
.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase-item:hover .showcase-image {
  transform: scale(1.08);
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-item:hover .showcase-item-tag,
.showcase-item:hover .showcase-item-title,
.showcase-item:hover .showcase-item-desc {
  transform: translateY(0);
}

.showcase-item:hover .showcase-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.showcase-actions {
  margin-top: 40px;
}

/* Lightbox Modal Styles */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  user-select: none;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 70vh;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-modal.open .lightbox-content img {
  opacity: 1;
  transform: scale(1);
}

/* Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  transition: var(--transition-smooth);
  outline: none;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-gold);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  line-height: 1;
  z-index: 1010;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: rgba(30, 41, 59, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1010;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Caption Container */
.lightbox-caption-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 800px;
  padding: 0 24px;
  color: var(--color-text-light);
  text-align: left;
}

.lightbox-caption h3 {
  color: var(--color-text-light);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.lightbox-caption p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.lightbox-counter {
  background-color: rgba(30, 41, 59, 0.6);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Responsive Header Adjustments to prevent menu items from wrapping */
@media (max-width: 1200px) {
  .nav-list {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.8rem;
  }
  .nav-cta-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}

@media (max-width: 950px) {
  .nav-list {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }
  .nav-cta-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  .site-logo {
    height: 30px;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .grid-2-col {
    gap: 40px;
  }

  .property-card {
    grid-template-columns: 1fr;
  }
  
  .property-image-wrapper {
    min-height: 300px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
    margin-bottom: 20px;
  }

  /* Mobile Menu active at 1024px and below */
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .nav-link {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .development-stats {
    min-height: 300px;
  }

  .stats-box {
    padding: 30px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .siteplan-image-container {
    height: 320px;
  }

  .register-section {
    padding: 60px 0;
  }

  .register-info-text h2 {
    font-size: 2.2rem;
  }

  .register-form-card {
    padding: 24px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  /* Showcase Responsive Rules */
  .showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
  }

  .lightbox-caption-container {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    padding: 0 16px;
  }
}

/* ==========================================================================
   Legal Pages Styles
   ========================================================================== */
.site-header.always-scrolled {
  background-color: var(--color-primary) !important;
  backdrop-filter: blur(15px) !important;
  height: 70px !important;
  box-shadow: var(--shadow-sm) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-header.always-scrolled .site-logo {
  height: 34px !important;
}

.legal-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  background-color: var(--color-bg-light);
  min-height: 70vh;
}

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

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.legal-content .last-updated {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.legal-content p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-content ul, 
.legal-content ol {
  margin-left: 24px;
  margin-bottom: 24px;
}

.legal-content li {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-content strong {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .legal-section {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }
  
  .legal-content h1 {
    font-size: 2.2rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
  }
}
