/* ==========================================================================
   GRAND ABODE REALTY — LUXURY REAL ESTATE STYLESHEET
   Palette: Deep Emerald (#0D261F), Warm Ivory (#FAF7F2), Champagne Gold (#C89D3C)
   ========================================================================== */

:root {
  --emerald-950: #081813;
  --emerald-900: #0D261F;
  --emerald-800: #153B30;
  --emerald-700: #1E5243;
  --gold-500: #C89D3C;
  --gold-400: #DFB858;
  --gold-200: #F4E6C3;
  --ivory-100: #FAF7F2;
  --ivory-200: #F1ECE1;
  --charcoal: #1E2421;
  --slate: #535E59;
  --white: #FFFFFF;
  --shadow-sm: 0 6px 20px rgba(13, 38, 31, 0.06);
  --shadow-md: 0 14px 36px rgba(13, 38, 31, 0.11);
  --shadow-lg: 0 24px 56px rgba(8, 24, 19, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--ivory-100);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-serif {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--emerald-900);
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Utility Bar */
.top-bar {
  background: var(--emerald-950);
  color: var(--gold-200);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(200, 157, 60, 0.2);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 38, 31, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
  border: 1.5px solid var(--gold-500);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--emerald-900);
  letter-spacing: 0.4px;
  line-height: 1.05;
}

.logo-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--gold-500);
  font-weight: 700;
}

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

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--emerald-900);
  position: relative;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), #B38728);
  color: var(--emerald-950);
  box-shadow: 0 8px 20px rgba(200, 157, 60, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 157, 60, 0.4);
}

.btn-emerald {
  background: var(--emerald-900);
  color: var(--white);
}

.btn-emerald:hover {
  background: var(--emerald-800);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-400);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--emerald-900);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, #1B4B3C 0%, var(--emerald-900) 55%, var(--emerald-950) 100%);
  color: var(--white);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(200, 157, 60, 0.15);
  border: 1px solid rgba(200, 157, 60, 0.45);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 4.5vw, 3.85rem);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold-400);
  font-style: italic;
}

.hero p {
  color: rgba(250, 247, 242, 0.84);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric h3 {
  color: var(--gold-400);
  font-size: 2rem;
  margin-bottom: 2px;
}

.metric p {
  font-size: 0.84rem;
  color: rgba(250, 247, 242, 0.72);
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(200, 157, 60, 0.45);
  box-shadow: var(--shadow-lg);
  background: var(--emerald-950);
}

.hero-floating-badge {
  position: absolute;
  bottom: -22px;
  left: -24px;
  background: var(--white);
  color: var(--emerald-900);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold-500);
  max-width: 275px;
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.96rem;
  color: var(--emerald-900);
}

.hero-floating-badge span {
  font-size: 0.82rem;
  color: var(--slate);
}

/* Interactive Search Filter Bar */
.search-dock {
  margin-top: -38px;
  position: relative;
  z-index: 20;
}

.search-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 38, 31, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.field-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
}

.field-group select,
.field-group input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #D9DDD8;
  background: var(--ivory-100);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--emerald-900);
  font-weight: 500;
}

.field-group select:focus,
.field-group input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}

/* Section Generic */
.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--ivory-200);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px;
}

.section-tag {
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

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

.section-header p {
  color: var(--slate);
  font-size: 1.02rem;
}

/* Property Filter Pills */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(13, 38, 31, 0.14);
  color: var(--emerald-900);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--emerald-900);
  color: var(--gold-400);
  border-color: var(--emerald-900);
}

/* Property Cards Grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 38, 31, 0.07);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.property-thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

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

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

.prop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 38, 31, 0.9);
  color: var(--gold-400);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.prop-price {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--gold-500);
  color: var(--emerald-950);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
}

.property-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prop-location {
  font-size: 0.82rem;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 4px;
}

.property-body h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.property-body p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 18px;
  flex: 1;
}

.prop-specs {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #ECEAE4;
  border-bottom: 1px solid #ECEAE4;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald-900);
  margin-bottom: 18px;
}

.prop-actions {
  display: flex;
  gap: 10px;
}

.prop-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.84rem;
}

/* About & Why Choose Us */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold-500);
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--emerald-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--emerald-900);
  transition: var(--transition);
}

.service-card:hover {
  border-top-color: var(--gold-500);
  transform: translateY(-4px);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* EMI Calculator + Lead Capture */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.panel-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 38, 31, 0.08);
}

.panel-card.dark-panel {
  background: var(--emerald-900);
  color: var(--white);
}

.panel-card.dark-panel h3 {
  color: var(--white);
}

.slider-group {
  margin-bottom: 22px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.slider-header span:last-child {
  color: var(--gold-500);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.emi-result-box {
  background: var(--ivory-100);
  padding: 22px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(200, 157, 60, 0.35);
  margin-top: 24px;
}

.emi-result-box small {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--slate);
  font-weight: 700;
}

.emi-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin: 4px 0;
}

/* Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--gold-500);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 0.94rem;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 18px;
}

.reviewer strong {
  display: block;
  color: var(--emerald-900);
  font-size: 0.95rem;
}

.reviewer span {
  font-size: 0.8rem;
  color: var(--slate);
}

/* Contact & Location */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
}

.info-box {
  background: var(--emerald-900);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.info-box h3 {
  color: var(--gold-400);
  font-size: 2rem;
  margin-bottom: 12px;
}

.info-list {
  list-style: none;
  margin: 28px 0;
  display: grid;
  gap: 20px;
}

.info-list li strong {
  display: block;
  color: var(--gold-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-control {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid #D5D9D4;
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--ivory-100);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}

/* Footer */
.footer {
  background: var(--emerald-950);
  color: rgba(250, 247, 242, 0.78);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--gold-400);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(250, 247, 242, 0.55);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 19, 0.72);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 34px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold-500);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--slate);
}

/* Floating WhatsApp CTA */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1E8E5A;
  color: var(--white);
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(30, 142, 90, 0.35);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #177549;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .tools-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .property-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-box {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links, .nav-actions .btn-emerald {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: var(--shadow-md);
  }
  .property-grid, .reviews-grid, .services-grid, .search-box, .form-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-badge {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
}

/* Photography Framing Enhancements */
.hero-card-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.property-thumb {
  background: var(--emerald-950);
}
