/**
 * ============================================
 * MELVIN MWANGI - LUXURY REAL ESTATE WEBSITE
 * Main Stylesheet
 * High-End Property Consultant
 * Westlands, Nairobi, Kenya
 * ============================================
 */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --deep-navy: #0B1C2D;
  --matte-black: #141414;
  --gold-accent: #C6A75E;
  --gold-hover: #D4B76A;
  --soft-white: #F8F8F8;
  --text-muted: rgba(248, 248, 248, 0.6);
  --text-light: rgba(248, 248, 248, 0.8);
  --border-color: rgba(248, 248, 248, 0.1);
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container-max-width: 1200px;
  --container-padding: 0 2rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 16px 60px rgba(0, 0, 0, 0.18);
}

/* ============================================
   2. BASE STYLES & RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--soft-white);
  background-color: var(--matte-black);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  color: var(--soft-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-padding {
  padding: var(--section-padding);
}

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

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

/* ============================================
   4. PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(198, 167, 94, 0.2);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold-accent);
  animation: loader-progress 1.5s ease-in-out infinite;
}

@keyframes loader-progress {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ============================================
   5. NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11, 28, 45, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-soft);
}

.navbar-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--soft-white);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--soft-white);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: var(--transition-normal);
}

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

.nav-links a.active {
  color: var(--gold-accent);
}

/* Mobile navigation - hidden by default, shown on small screens */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--deep-navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 1rem;
  }
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--soft-white);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-accent);
  transition: var(--transition-normal);
}

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

.nav-links a.active {
  color: var(--gold-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--soft-white);
  transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 15%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 28, 45, 0.92) 0%, rgba(11, 28, 45, 0.75) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 8rem 0 4rem;
}

.hero-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--gold-accent);
  font-style: italic;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.hero-location svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-accent);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
}

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

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--deep-navy);
  border: 2px solid var(--gold-accent);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--soft-white);
  border: 2px solid rgba(248, 248, 248, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-2px);
}

/* ============================================
   8. SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================
   9. PAGE HERO
   ============================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(11, 28, 45, 0.95) 0%, rgba(11, 28, 45, 0.85) 100%), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 2rem 4rem;
}

.page-hero-content {
  max-width: 800px;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ============================================
   10. ABOUT PREVIEW SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.about-feature svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-accent);
  flex-shrink: 0;
}

/* ============================================
   11. AFFILIATION SECTION
   ============================================ */
.affiliation {
  padding: 4rem 0;
  background: var(--deep-navy);
  overflow: hidden;
}

.affiliation-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.logo-slider {
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 4rem;
  animation: scroll-logos 20s linear infinite;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-accent);
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   12. STATISTICS SECTION
   ============================================ */
.statistics {
  background: var(--matte-black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-normal);
}

.stat-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   13. SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-normal);
  text-align: center;
}

.service-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold-accent);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--soft-white);
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   14. GALLERY SECTION
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 28, 45, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-normal);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--gold-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
}

.gallery-zoom svg {
  width: 20px;
  height: 20px;
  stroke: var(--deep-navy);
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 0.25rem;
}

.gallery-category {
  font-size: 0.8rem;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 28, 45, 0.98);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(248, 248, 248, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.lightbox-close:hover {
  background: var(--gold-accent);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--soft-white);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(248, 248, 248, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.lightbox-nav:hover {
  background: var(--gold-accent);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  stroke: var(--soft-white);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

/* ============================================
   15. EVENTS SECTION
   ============================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.event-card {
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.event-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.event-slider {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.event-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.event-slide {
  min-width: 100%;
  height: 100%;
}

.event-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-slider-nav {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.event-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.event-slider-dot.active {
  background: var(--gold-accent);
}

.event-slider-dot:hover {
  background: rgba(198, 167, 94, 0.7);
}

.event-content {
  padding: 2rem;
}

.event-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.event-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--soft-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gold-accent);
}

.event-location svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
}

.event-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   16. INSIGHTS SECTION
   ============================================ */
.insights-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition-normal);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--deep-navy);
  background: var(--gold-accent);
  border-color: var(--gold-accent);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insight-card {
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.insight-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-5px);
}

.insight-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.insight-card:hover .insight-image img {
  transform: scale(1.1);
}

.insight-content {
  padding: 1.5rem;
}

.insight-category {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.insight-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.insight-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-accent);
  transition: var(--transition-normal);
}

.insight-link:hover {
  gap: 0.75rem;
}

.insight-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   17. LISTINGS SECTION
   ============================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.listings-grid.listings-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

.listing-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.listing-card {
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.listing-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-5px);
}

.listing-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.listing-card:hover .listing-image img {
  transform: scale(1.05);
}

.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--gold-accent);
  color: var(--deep-navy);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.listing-content {
  padding: 1.5rem;
}

.listing-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 0.5rem;
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.listing-location svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
}

.listing-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.listing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.listing-feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
}

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.listing-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-accent);
}

/* ============================================
   BUY PAGE STYLES
   ============================================ */

/* Buy Navigation Dropdown - FIXED */
.buy-nav {
  position: relative;
}

.buy-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--deep-navy);
  min-width: 220px;
  box-shadow: var(--shadow-medium);
  border-radius: 0 0 8px 8px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 1001;
}

.buy-nav:hover .buy-dropdown,
.buy-dropdown.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  padding: 1rem 0;
}

.buy-dropdown li {
  padding: 0.75rem 1.5rem;
}

.buy-dropdown a {
  font-size: 0.9rem;
  display: block;
  padding: 0.5rem 0;
  transition: var(--transition-normal);
}

.buy-dropdown a:hover {
  color: var(--gold-accent);
  padding-left: 0.5rem;
}

/* Buy Section */
.buy-section {
  background: var(--matte-black);
}

/* Search Bar */
.search-bar {
  display: flex;
  max-width: 600px;
  margin: 0 auto 3rem;
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--soft-white);
  font-size: 1rem;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
}

.search-btn {
  padding: 1.25rem 2rem;
  background: var(--gold-accent);
  color: var(--deep-navy);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--gold-hover);
}

/* Filter Bar */
.filters {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-select {
  padding: 1rem 1.25rem;
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-color);
  color: var(--soft-white);
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 4px;
  min-width: 160px;
  transition: var(--transition-normal);
}

.filter-select:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.1);
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
}

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

.property-card {
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-normal);
  cursor: pointer;
}

.property-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.property-card .listing-image {
  height: 250px;
}

.property-details {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.property-details span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.favourite {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(248, 248, 248, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
}

.property-card:hover .favourite {
  opacity: 1;
  transform: scale(1);
}

.favourite:hover {
  background: rgba(198, 167, 94, 0.2);
}

.favourite.active {
  background: var(--gold-accent);
}

.favourite svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: var(--transition-fast);
}

.favourite.active svg {
  fill: var(--deep-navy);
  stroke: var(--deep-navy);
}

/* ============================================
   PROPERTY DETAIL MODAL
   ============================================ */
.pm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: background 0.3s ease;
  overflow-y: auto;
}

.pm-overlay.active {
  background: rgba(0, 0, 0, 0.85);
}

.pm-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: var(--deep-navy);
  border: 1px solid rgba(198, 167, 94, 0.2);
  border-radius: 16px;
  overflow: hidden;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              opacity 0.3s ease;
}

.pm-overlay.active .pm-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Scrollbar styling for modal */
.pm-card::-webkit-scrollbar {
  width: 5px;
}
.pm-card::-webkit-scrollbar-track {
  background: transparent;
}
.pm-card::-webkit-scrollbar-thumb {
  background: rgba(198, 167, 94, 0.3);
  border-radius: 10px;
}

/* Close button */
.pm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-normal);
}

.pm-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--soft-white);
}

.pm-close:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
}

.pm-close:hover svg {
  stroke: var(--deep-navy);
}

/* Image section */
.pm-image-section {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.pm-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pm-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(11, 28, 45, 1) 0%, rgba(11, 28, 45, 0.6) 50%, transparent 100%);
  pointer-events: none;
}

.pm-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 1rem;
  background: var(--gold-accent);
  color: var(--deep-navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.pm-image-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}

.pm-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 0.25rem;
}

.pm-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pm-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pm-location svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
  flex-shrink: 0;
}

/* Body */
.pm-body {
  padding: 1.5rem 1.5rem 2rem;
}

/* Stats grid */
.pm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pm-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(248, 248, 248, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: var(--transition-normal);
}

.pm-stat:hover {
  border-color: rgba(198, 167, 94, 0.3);
  background: rgba(198, 167, 94, 0.05);
}

.pm-stat > svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-accent);
  flex-shrink: 0;
}

.pm-stat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pm-stat-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Description */
.pm-description {
  margin-bottom: 1.5rem;
}

.pm-description h3,
.pm-features h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 0.75rem;
}

.pm-description p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Features grid */
.pm-features {
  margin-bottom: 1.5rem;
}

.pm-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.pm-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: rgba(248, 248, 248, 0.02);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition-normal);
}

.pm-feature:hover {
  background: rgba(198, 167, 94, 0.06);
}

.pm-feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
  flex-shrink: 0;
}

/* Action buttons */
.pm-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.pm-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pm-btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 2px solid #25D366;
}

.pm-btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  color: #fff;
}

.pm-btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.pm-btn-schedule {
  background: var(--gold-accent);
  color: var(--deep-navy);
  border: 2px solid var(--gold-accent);
}

.pm-btn-schedule:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  color: var(--deep-navy);
}

.pm-btn-call {
  background: transparent;
  color: var(--soft-white);
  border: 2px solid rgba(248, 248, 248, 0.25);
}

.pm-btn-call:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .pm-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .pm-card {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }

  .pm-overlay.active .pm-card {
    transform: scale(1) translateY(0);
  }

  .pm-image-section {
    height: 250px;
  }

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

  .pm-features-grid {
    grid-template-columns: 1fr;
  }

  .pm-actions {
    flex-direction: column;
  }

  .pm-btn {
    width: 100%;
    justify-content: center;
  }

  .pm-price {
    font-size: 1.6rem;
  }

  .pm-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .pm-image-section {
    height: 200px;
  }

  .pm-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .pm-stat {
    padding: 0.75rem;
  }
}

/* ============================================
   18. CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-accent);
}

.contact-item-content h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-accent);
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--soft-white);
}

.contact-text p,
.contact-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-text a:hover {
  color: var(--gold-accent);
}

.contact-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-social a {
  width: 36px;
  height: 36px;
  background: rgba(198, 167, 94, 0.1);
  border: 1px solid rgba(198, 167, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

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

.contact-social a svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-accent);
  transition: var(--transition-normal);
}

.contact-social a:hover svg {
  stroke: var(--deep-navy);
}

.contact-form {
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--soft-white);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-accent);
  background: rgba(248, 248, 248, 0.08);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
}

.error-message {
  display: block;
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 0.5rem;
}

/* ============================================
   19. FOOTER
   ============================================ */
.footer {
  background: var(--deep-navy);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(198, 167, 94, 0.1);
  border: 1px solid rgba(198, 167, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

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

.footer-social a svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-accent);
  transition: var(--transition-normal);
}

.footer-social a:hover svg {
  stroke: var(--deep-navy);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-copyright,
.footer-credits {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   20. BIOGRAPHY SECTION
   ============================================ */
.biography {
  background: var(--matte-black);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.bio-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.bio-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bio-text h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--soft-white);
}

.bio-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.bio-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bio-highlight {
  padding: 1.5rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.bio-highlight h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
}

.bio-highlight p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ============================================
   21. SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-scale {
  transform: scale(0.9);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   22. TESTIMONIAL SLIDER
   ============================================ */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.testimonial-content {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--soft-white);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--soft-white);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--gold-accent);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
}

.testimonial-prev svg,
.testimonial-next svg {
  width: 20px;
  height: 20px;
  stroke: var(--soft-white);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(248, 248, 248, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--gold-accent);
}

/* ============================================
   23. BLOG POST STYLES
   ============================================ */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.blog-featured-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
}

.blog-content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--soft-white);
}

.blog-content h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 2rem 0 1rem;
  color: var(--soft-white);
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content ul li,
.blog-content ol li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 3px solid var(--gold-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

/* ============================================
   24. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--deep-navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }

  /* Mobile dropdown inside side nav */
  .buy-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: unset;
    display: none;
  }

  .buy-dropdown.active {
    display: block;
    padding: 0;
  }

  .buy-dropdown li {
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .buy-dropdown a {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  .menu-toggle {
    display: flex !important;
    z-index: 1000;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--soft-white);
    transition: var(--transition-normal);
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--deep-navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 1rem;
  }

  /* Mobile dropdown inside side nav */
  .buy-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: unset;
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-hero-title {
    font-size: 2.2rem;
  }
  
  .about-grid,
  .bio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .insights-grid,
  .gallery-grid,
  .stats-grid,
  .listings-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features,
  .bio-highlights {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }

  .search-bar {
    flex-direction: column;
    margin: 0 auto 2rem;
  }
  
  .search-input {
    border-radius: 4px 4px 0 0;
    border-bottom: none;
  }
  
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .filter-select,
  .filters .btn {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .property-card .listing-content {
    padding: 1.25rem;
  }
  
  .property-details {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .insights-filter {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 100%;
    max-width: 200px;
  }

  .page-hero-title {
    font-size: 2rem;
  }
  
  .filters {
    padding: 0 1rem;
  }
  
  .property-card .listing-image {
    height: 220px;
  }
}

/* ============================================
   25. LISTINGS PAGE STYLES
   ============================================ */

.listing-image-slider {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider-img.active {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.slider-prev,
.slider-next {
  width: 40px;
  height: 40px;
  background: rgba(11, 28, 45, 0.7);
  border: none;
  border-radius: 50%;
  color: var(--soft-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-normal);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--gold-accent);
  color: var(--deep-navy);
}

.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dots .dot.active {
  background: var(--gold-accent);
}

.slider-dots .dot:hover {
  background: rgba(198, 167, 94, 0.7);
}

.listing-type {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(11, 28, 45, 0.8);
  color: var(--soft-white);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 4px;
  z-index: 2;
}

body.listings-page .listing-badge,
body.listings-page .listing-type {
  display: none;
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.investment-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-normal);
}

.investment-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-5px);
}

.investment-icon {
  width: 60px;
  height: 60px;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.investment-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-accent);
}

.investment-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 0.75rem;
}

.investment-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .investment-grid {
    grid-template-columns: 1fr;
  }
  
  .listing-image-slider {
    height: 240px;
  }
}

/* ============================================
   26. PROJECT PAGE STYLES (DG West / DG JKIA)
   ============================================ */

.project-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.project-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 28, 45, 0.92) 0%, rgba(11, 28, 45, 0.75) 100%);
  z-index: -1;
}

.project-hero-content {
  padding: 8rem 2rem 4rem;
  max-width: 800px;
}

.project-hero-title {
  font-size: 4rem;
  font-weight: 600;
  color: var(--soft-white);
  margin-bottom: 0.5rem;
}

.project-hero-subtitle {
  font-size: 1.3rem;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.project-hero-tags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tag {
  padding: 0.5rem 1rem;
  background: rgba(198, 167, 94, 0.15);
  border: 1px solid rgba(198, 167, 94, 0.3);
  color: var(--gold-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.project-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.project-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.project-quick-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.quick-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--soft-white);
}

.quick-value.highlight {
  color: var(--gold-accent);
}

.project-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.gallery-thumbs .thumb {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
  opacity: 1;
  border-color: var(--gold-accent);
}

.unit-mix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.unit-card {
  text-align: center;
  padding: 2rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-normal);
}

.unit-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
  transform: translateY(-5px);
}

.unit-icon {
  width: 60px;
  height: 60px;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.unit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-accent);
}

.unit-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--soft-white);
  margin-bottom: 0.5rem;
}

.unit-count {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(198, 167, 94, 0.15);
  color: var(--gold-accent);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.unit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.total-units {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(198, 167, 94, 0.05);
  border: 1px solid rgba(198, 167, 94, 0.2);
  border-radius: 8px;
}

.total-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.total-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-accent);
}

.pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pricing-image {
  border-radius: 8px;
  overflow: hidden;
}

.pricing-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.pricing-table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(198, 167, 94, 0.05);
}

.pricing-table td {
  font-size: 0.95rem;
  color: var(--text-light);
}

.pricing-table .price {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold-accent);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-normal);
}

.amenity-item:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
}

.amenity-icon {
  width: 44px;
  height: 44px;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-accent);
}

.amenity-item span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.location-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.proximity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.proximity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.proximity-time {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-accent);
  min-width: 40px;
}

.proximity-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.location-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-card {
  padding: 1.5rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.highlight-card ul {
  list-style: none;
  padding: 0;
}

.highlight-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(248, 248, 248, 0.05);
}

.highlight-card li:last-child {
  border-bottom: none;
}

.investment-promise {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.promise-text {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.promise-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: left;
}

.promise-icon {
  width: 36px;
  height: 36px;
  background: rgba(198, 167, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promise-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-accent);
}

.promise-item span {
  font-size: 1rem;
  color: var(--text-light);
}

.promise-conclusion {
  font-size: 1.1rem;
  color: var(--gold-accent);
}

.returns-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.returns-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.returns-highlight {
  text-align: center;
  padding: 2rem;
  background: rgba(198, 167, 94, 0.1);
  border: 2px solid var(--gold-accent);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.returns-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 600;
  color: var(--gold-accent);
}

.returns-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.returns-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.returns-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.returns-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.returns-feature span {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.returns-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.returns-card {
  text-align: center;
  padding: 2rem;
  background: rgba(248, 248, 248, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-normal);
}

.returns-card:hover {
  background: rgba(248, 248, 248, 0.04);
  border-color: rgba(198, 167, 94, 0.3);
}

.returns-card-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
}

.returns-card-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .project-overview-grid,
  .location-grid,
  .returns-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .project-gallery {
    position: relative;
    top: 0;
  }
  
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .unit-mix-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-container {
    grid-template-columns: 1fr;
  }
  
  .returns-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .project-hero-title {
    font-size: 2.5rem;
  }
  
  .project-hero-subtitle {
    font-size: 1rem;
  }
  
  .gallery-main {
    height: 250px;
  }
  
  .gallery-thumbs .thumb {
    width: 60px;
    height: 45px;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .project-quick-info {
    grid-template-columns: 1fr;
  }
  
  .returns-number {
    font-size: 2.5rem;
  }
}

/* ============================================
   27. PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .footer,
  .page-loader,
  .scroll-indicator,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero,
  .page-hero {
    min-height: auto;
    padding: 2rem 0;
  }
}