/* ==========================================================================
   THE NESS LUXURY VILLAS & FARMHOUSES - MASTER STYLESHEET
   Visual Theme: Sophisticated Warm Luxury + Natural Villa Architecture
   Color Palette: Deep Forest Green, Warm Ivory/Cream, Soft Beige/Sand, Muted Sage
   Technology: CSS3, Bootstrap 5.3, Google Fonts, Tabler Icons
   ========================================================================== */

:root {
  /* ==========================================================================
     CORE COLOR SYSTEM
     ========================================================================== */
  --primary-color: #233e31;          /* Deep Forest / Earthy Green */
  --primary-dark: #15261e;           /* Deep Botanical / Forest Dark */
  --primary-light: #345645;          /* Muted Sage-Pine Foliage */
  --secondary-color: #587363;        /* Muted Sage / Olive Green */
  --accent-color: #bda177;           /* Subtle Warm Gold / Sand Accent */
  --heading-color: #1a241f;          /* Dark Charcoal / Deep Earthy Brown Tone */
  --body-color: #48534b;             /* Soft Dark Grey / Warm Charcoal */
  --muted-color: #758178;            /* Muted Grey-Brown */
  --light-bg: #f8f6f0;               /* Warm Ivory / Cream for Main Backgrounds */
  --cream-bg: #efece4;               /* Soft Beige / Sand for Alternate Sections */
  --feature-bg: #edf3ee;             /* Subtle Natural Green Tint for Feature Sections */
  --border-color: #e4dfd3;           /* Soft Earthy Border */
  --border-light: #ece7dc;          /* Ultra-soft hairline border */
  --border-gold: rgba(189, 161, 119, 0.45); /* Subtle warm sand/gold accent border */
  --white: #ffffff;
  
  /* Semantic Surface and Container Roles (No sterile pure white everywhere) */
  --card-bg: #fcfbf8;                /* Warm White / Ivory for Cards */
  --footer-bg: #15251d;              /* Deep Forest / Earthy Dark Tone */
  --footer-card-bg: #1b2f25;         /* Deep Botanical Container */
  --footer-text: rgba(248, 246, 240, 0.72);
  --footer-heading: #f8f6f0;
  --badge-bg: #eaf0eb;               /* Soft Sage Green Badge */
  --badge-text: #233e31;             /* Deep Earthy Green Text */
  --gold-accent: #c4a97d;            /* Refined subtle warm gold */
  --gold-accent-hover: #ab8f61;

  /* Backward-Compatible Shorthand Aliases */
  --primary: var(--primary-color);
  --primary-hover: var(--primary-dark);
  --secondary: var(--accent-color);
  --secondary-hover: var(--gold-accent-hover);
  --secondary-light: var(--cream-bg);
  --accent: var(--secondary-color);
  --heading: var(--heading-color);
  --body: var(--body-color);
  --muted: var(--muted-color);
  --bg-canvas: var(--light-bg);
  --bg-surface: var(--card-bg);
  --bg-alt: var(--cream-bg);
  --bg-dark: var(--footer-bg);
  --bg-dark-card: var(--footer-card-bg);
  --border: var(--border-color);

  /* Shadows (Refined, Natural, Never heavy) */
  --shadow-subtle: 0 4px 18px rgba(21, 37, 29, 0.04);
  --shadow-card: 0 10px 28px rgba(21, 37, 29, 0.06);
  --shadow-hover: 0 18px 45px rgba(21, 37, 29, 0.10);

  /* Radii & Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-arch: 140px 140px 16px 16px;

  /* Font Families */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* ==========================================================================
     GLOBAL BOOTSTRAP 5.3 OVERRIDES - REMOVE ALL BOOTSTRAP BLUE & HARSH DEFAULTS
     ========================================================================== */
  --bs-primary: #233e31 !important;
  --bs-primary-rgb: 35, 62, 49 !important;
  --bs-secondary: #587363 !important;
  --bs-secondary-rgb: 88, 115, 99 !important;
  --bs-success: #2e5944 !important;
  --bs-success-rgb: 46, 89, 68 !important;
  --bs-info: #587363 !important;
  --bs-info-rgb: 88, 115, 99 !important;
  --bs-dark: #15251d !important;
  --bs-dark-rgb: 21, 37, 29 !important;
  --bs-light: #f8f6f0 !important;
  --bs-light-rgb: 248, 246, 240 !important;
  --bs-body-color: #48534b !important;
  --bs-body-bg: #f8f6f0 !important;
  --bs-link-color: #233e31 !important;
  --bs-link-hover-color: #15261e !important;
  --bs-border-color: #e4dfd3 !important;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--body-color);
  line-height: 1.68;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY SCALE & HEADINGS
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
}

h2, .h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 500;
}

h3, .h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}

h4, .h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

p.lead {
  font-size: 1.15rem;
  color: var(--body-color);
  font-weight: 300;
  line-height: 1.8;
}

/* Theme Links - Strict Blue Elimination */
a, .btn-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, .btn-link:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Section Kickers / Editorial Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--accent-color);
}

.eyebrow.eyebrow-center::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--accent-color);
}

/* ==========================================================================
   TOP NOTIFICATION / INFO BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: rgba(248, 246, 240, 0.82);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(248, 246, 240, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a:hover {
  color: var(--accent-color);
}

.top-bar .icon-wrapper {
  color: var(--accent-color);
}

/* ==========================================================================
   MAIN HEADER & NAVBAR
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(251, 249, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.main-header.scrolled {
  background-color: rgba(252, 251, 248, 0.98);
  box-shadow: 0 6px 25px rgba(21, 37, 29, 0.05);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-color);
  font-weight: 600;
  margin-top: 2px;
}

/* Navigation Links */
.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--heading-color);
  padding: 1.25rem 0.9rem;
  position: relative;
  transition: var(--transition);
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* Dropdown Menu - Luxury Ivory & Earthy Styling */
.navbar-nav .dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background-color: var(--card-bg);
  padding: 0.6rem;
  min-width: 220px;
  animation: fadeInMenu 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar-nav .dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--heading-color);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-nav .dropdown-item i {
  color: var(--secondary-color);
  transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background-color: var(--cream-bg);
  color: var(--primary-color);
  transform: translateX(3px);
}

.navbar-nav .dropdown-item:hover i {
  color: var(--primary-color);
}

/* ==========================================================================
   BUTTONS SYSTEM - LUXURY NATURAL VILLA THEME
   ========================================================================== */
.btn-luxury-primary,
.btn-primary {
  background-color: var(--primary-color) !important;
  color: #fcfbf8 !important;
  border: 1px solid var(--primary-color) !important;
  padding: 0.78rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: none;
}

.btn-luxury-primary:hover,
.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  color: #ffffff !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 38, 29, 0.22);
}

.btn-luxury-secondary,
.btn-secondary {
  background-color: var(--cream-bg) !important;
  color: var(--primary-color) !important;
  border: 1px solid var(--border-color) !important;
  padding: 0.78rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-luxury-secondary:hover,
.btn-secondary:hover {
  background-color: var(--border-color) !important;
  color: var(--primary-dark) !important;
  border-color: var(--border-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 38, 29, 0.08);
}

.btn-luxury-outline,
.btn-outline-primary {
  background-color: transparent !important;
  color: var(--heading-color) !important;
  border: 1px solid var(--border-color) !important;
  padding: 0.78rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-luxury-outline:hover,
.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: #fcfbf8 !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 38, 29, 0.16);
}

.btn-luxury-outline-light {
  background-color: transparent !important;
  color: #fcfbf8 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  padding: 0.78rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-luxury-outline-light:hover {
  background-color: #fcfbf8 !important;
  color: var(--primary-color) !important;
  border-color: #fcfbf8 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HERO SECTION - CINEMATIC NATURAL VILLA OVERLAY
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  color: #fcfbf8;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.78;
}

/* Sophisticated natural villa dark overlay - balanced luminosity */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(21, 37, 29, 0.52) 0%,
    rgba(21, 37, 29, 0.76) 65%,
    rgba(21, 37, 29, 0.92) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(248, 246, 240, 0.12);
  border: 1px solid rgba(248, 246, 240, 0.25);
  border-radius: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #fcfbf8;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  font-weight: 500;
  max-width: 860px;
}

.hero-title em {
  font-style: italic;
  color: #dfcaa6; /* Subtle warm gold champagne */
  font-weight: 400;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(248, 246, 240, 0.88);
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

/* Hero Floating Quick Info Card */
.hero-floating-card {
  background: rgba(252, 251, 248, 0.97);
  color: var(--heading-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(21, 37, 29, 0.18);
  backdrop-filter: blur(10px);
}

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

.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--cream-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ==========================================================================
   PAGE HERO BANNER
   ========================================================================== */
.page-hero {
  background-color: var(--primary-dark);
  color: #fcfbf8;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(189, 161, 119, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: #fcfbf8;
}

.page-hero .breadcrumb {
  margin-bottom: 1rem;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  font-size: 0.85rem;
  color: rgba(248, 246, 240, 0.72);
}

.page-hero .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-hero .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(248, 246, 240, 0.4);
}

/* ==========================================================================
   SECTION SPACING & BACKGROUND UTILITIES
   ========================================================================== */
.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-py-sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Section Background Classes */
.bg-canvas {
  background-color: var(--light-bg) !important;
}

.bg-alt-section,
.bg-sand {
  background-color: var(--cream-bg) !important;
}

.bg-feature-section {
  background-color: var(--feature-bg) !important;
}

/* Override standard Bootstrap surface classes to enforce warm ivory/cream */
.bg-white {
  background-color: var(--card-bg) !important;
}

.bg-light {
  background-color: var(--light-bg) !important;
}

.bg-dark {
  background-color: var(--primary-dark) !important;
}

/* Override borders */
.border,
.border-top,
.border-bottom,
.border-start,
.border-end {
  border-color: var(--border-color) !important;
}

/* Override text color helpers */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

/* ==========================================================================
   CARDS & SURFACES - WARM WHITE / IVORY WITH SOFT EARTHY BORDER
   ========================================================================== */
.luxury-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

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

/* Property Cards */
.property-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-subtle);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.property-image-box {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--cream-bg);
}

.property-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.property-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-dark);
  color: #fcfbf8;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.property-price-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(252, 251, 248, 0.96);
  color: var(--primary-color);
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(21, 37, 29, 0.12);
  z-index: 2;
}

.property-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted-color);
  margin-bottom: 0.4rem;
}

.property-location i {
  color: var(--secondary-color);
}

.property-title {
  font-size: 1.45rem;
  color: var(--heading-color);
  margin-bottom: 0.85rem;
}

.property-desc {
  font-size: 0.9rem;
  color: var(--body-color);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
  text-align: center;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spec-icon {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 0.2rem;
}

.spec-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading-color);
}

.spec-label {
  font-size: 0.68rem;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

.property-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.84rem;
}

/* Feature / Amenity Cards */
.amenity-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

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

.amenity-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.amenity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.amenity-card:hover .amenity-img-wrap img {
  transform: scale(1.06);
}

.amenity-content {
  padding: 1.75rem;
  flex-grow: 1;
}

.amenity-icon-float {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-top: -40px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(21, 37, 29, 0.16);
  border: 2px solid var(--card-bg);
}

/* Architectural Framed Image (Arches) */
.arch-frame {
  border-radius: var(--radius-arch);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Metric Stamp */
.metric-stamp {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}

.metric-stamp-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1;
}

.metric-stamp-text {
  font-size: 0.8rem;
  color: var(--body-color);
  line-height: 1.3;
}

/* Statistics Counter Section */
.counter-box {
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border-color);
}

.counter-box:last-child {
  border-right: none;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-color);
  font-weight: 600;
}

/* ==========================================================================
   GALLERY & MASONRY GRID
   ========================================================================== */
.gallery-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--body-color);
  padding: 0.55rem 1.35rem;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background-color: var(--primary-color);
  color: #fcfbf8;
  border-color: var(--primary-color);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  margin-bottom: 1.5rem;
  background-color: var(--cream-bg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(21, 37, 29, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

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

.gallery-title {
  color: #fcfbf8;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.gallery-cat {
  color: var(--accent-color);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 25, 19, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
  color: #fcfbf8;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(248, 246, 240, 0.15);
  color: #fcfbf8;
  border: 1px solid rgba(248, 246, 240, 0.3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary-color);
  color: #fcfbf8;
  border-color: var(--primary-color);
}

/* ==========================================================================
   TEAM MEMBER CARDS
   ========================================================================== */
.team-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

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

.team-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: var(--cream-bg);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.3rem;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--body-color);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* ==========================================================================
   TESTIMONIAL CARDS
   ========================================================================== */
.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-subtle);
}

.testimonial-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.stars {
  color: var(--gold-accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.author-info h6 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--heading-color);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--muted-color);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.accordion-luxury .accordion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-luxury .accordion-item:hover {
  border-color: var(--border-color);
}

.accordion-luxury .accordion-button {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  padding: 1.25rem 1.5rem;
  background-color: transparent;
  box-shadow: none;
}

.accordion-luxury .accordion-button:focus {
  box-shadow: 0 0 0 2px rgba(35, 62, 49, 0.15) !important;
  border-color: var(--border-color) !important;
}

.accordion-luxury .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--cream-bg);
}

.accordion-luxury .accordion-button::after {
  filter: brightness(0.2) sepia(0.8) hue-rotate(90deg);
}

.accordion-luxury .accordion-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.94rem;
  color: var(--body-color);
  line-height: 1.7;
}

/* ==========================================================================
   FORMS & INPUTS - CREAM/IVORY WITH GREEN FOCUS (NO BLUE FOCUS)
   ========================================================================== */
.form-luxury .form-control,
.form-luxury .form-select,
.form-control,
.form-select {
  border: 1px solid var(--border-color) !important;
  background-color: var(--card-bg) !important;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--heading-color) !important;
  transition: var(--transition);
}

.form-luxury .form-control::placeholder,
.form-control::placeholder {
  color: var(--muted-color) !important;
  opacity: 0.85;
}

.form-luxury .form-control:focus,
.form-luxury .form-select:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(35, 62, 49, 0.16) !important;
  outline: none !important;
  background-color: #ffffff !important;
}

.form-luxury label,
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-color);
  margin-bottom: 0.4rem;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(35, 62, 49, 0.16) !important;
  border-color: var(--primary-color) !important;
}

/* ==========================================================================
   LOCATION LANDMARKS CARD
   ========================================================================== */
.landmark-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.landmark-card:hover {
  border-color: var(--accent-color);
  transform: translateX(4px);
  background-color: var(--cream-bg);
}

.landmark-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.landmark-name i {
  color: var(--secondary-color);
}

.landmark-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--badge-bg);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

/* ==========================================================================
   MASTERPLAN HOTSPOTS
   ========================================================================== */
.masterplan-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--cream-bg);
}

.masterplan-container img {
  width: 100%;
  display: block;
}

.masterplan-legend-item {
  padding: 1rem 1.25rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.masterplan-legend-item:hover,
.masterplan-legend-item.active {
  background-color: var(--primary-color);
  color: #fcfbf8;
  border-color: var(--primary-color);
}

.masterplan-legend-item:hover .zone-badge,
.masterplan-legend-item.active .zone-badge {
  background-color: var(--accent-color);
  color: var(--primary-dark);
}

.masterplan-legend-item:hover .text-muted,
.masterplan-legend-item.active .text-muted {
  color: rgba(248, 246, 240, 0.75) !important;
}

.zone-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--cream-bg);
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   MASTER FOOTER - DEEP FOREST / EARTHY DARK BACKGROUND
   ========================================================================== */
.master-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.master-footer h5 {
  color: var(--footer-heading);
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.master-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--footer-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #9bbda8;
  transform: translateX(4px);
}

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

.footer-contact-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 2px;
}

.footer-newsletter-box {
  background-color: var(--footer-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fcfbf8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary-light);
  color: #fcfbf8;
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.75rem 0;
  margin-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--footer-text);
}

.footer-bottom a:hover {
  color: #9bbda8;
}

/* ==========================================================================
   BADGES & LABELS - NATURE-INSPIRED PALETTE
   ========================================================================== */
.badge {
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45em 0.75em;
  border-radius: 4px;
}

.badge.bg-primary {
  background-color: var(--primary-color) !important;
  color: #fcfbf8 !important;
}

.badge.bg-secondary {
  background-color: var(--secondary-color) !important;
  color: #fcfbf8 !important;
}

.badge.bg-light {
  background-color: var(--badge-bg) !important;
  color: var(--badge-text) !important;
  border: 1px solid #d3e0d5 !important;
}

/* Modal and Offcanvas */
.modal-content {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-hover) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border-color) !important;
}

.modal-footer {
  border-top: 1px solid var(--border-color) !important;
}

.offcanvas {
  background-color: var(--card-bg) !important;
}

.offcanvas-header {
  border-bottom: 1px solid var(--border-color) !important;
}

/* Toast Notification */
.luxury-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary-dark);
  color: #fcfbf8;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-hover);
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--accent-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(21, 37, 29, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: #dfcaa6;
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE RULES
   ========================================================================== */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }

  .top-bar {
    display: none;
  }

  .hero-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .hero-floating-card {
    margin-top: 2rem;
  }

  .counter-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
  }

  .counter-box:last-child {
    border-bottom: none;
  }

  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .metric-stamp {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .property-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

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

  .hero-stat-item {
    margin-bottom: 1rem;
  }

  .btn-luxury-primary,
  .btn-luxury-secondary,
  .btn-luxury-outline {
    width: 100%;
    justify-content: center;
  }
}
