/* ================================================================
   Bhavya Realty - Main Stylesheet
   Theme: Premium Luxury Real Estate
   Colors: Baby Pink (#F7D6E0) | White | Gold (#D4AF37) | Dark Gray
================================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --pink:       #F7D6E0;
  --pink-dark:  #e8b4c6;
  --pink-light: #fdf0f4;
  --gold:       #D4AF37;
  --gold-dark:  #b8961f;
  --gold-light: #f5e8a0;
  --white:      #FFFFFF;
  --bg-light:   #FAFAFA;
  --text-dark:  #2E2E2E;
  --text-muted: #6c757d;
  --border:     #e8e8e8;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.07);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.18);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --transition: all .3s ease;
  --font:       'Poppins', sans-serif;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { 
  scroll-behavior: smooth;
  overflow-y: scroll !important;
  overflow-x: hidden;
  height: 100%;
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  min-height: 100%;
  position: relative;
  /* Note: overflow-x:hidden on body breaks scroll on iOS/mobile.
     Use a wrapper div approach instead for horizontal overflow control. */
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--text-dark); }

/* ── Utility Colors ─────────────────────────────────────────── */
.text-gold       { color: var(--gold) !important; }
.text-pink       { color: var(--pink-dark) !important; }
.bg-gold         { background-color: var(--gold) !important; }
.bg-pink         { background-color: var(--pink) !important; }
.bg-pink-light   { background-color: var(--pink-light) !important; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: .55rem 1.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212,175,55,.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,.5);
}
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: .5rem 1.4rem;
  transition: var(--transition);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition);
}
.btn-white:hover { background: var(--gold); color: var(--white); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #128C7E; color: var(--white); transform: translateY(-2px); }
.btn-pink {
  background: var(--pink);
  color: var(--text-dark);
  border: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-pink:hover { background: var(--pink-dark); color: var(--text-dark); }

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  background: linear-gradient(90deg, var(--text-dark) 0%, #3a3a3a 100%);
  padding: .4rem 0;
  font-size: .82rem;
}
.top-bar-text, .top-bar-text a { color: rgba(255,255,255,.85); }
.top-bar-text a:hover { color: var(--gold); }
.top-bar-link { color: rgba(255,255,255,.8); font-size: .8rem; }
.top-bar-link:hover { color: var(--gold); }
.top-bar-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--white);
  font-size: .75rem;
  margin-left: .3rem;
  transition: var(--transition);
}
.top-bar-social:hover { background: var(--gold); color: var(--white); }

/* ── Navbar CTA Buttons ─────────────────────────────────────── */
.navbar-cta-call,
.navbar-cta-enquire {
  white-space: nowrap;
  height: 38px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.navbar-cta-call {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  min-width: 155px;
}
.navbar-cta-call:hover {
  background: var(--gold);
  color: var(--white);
}
.navbar-cta-enquire {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(212,175,55,.35);
}
.navbar-cta-enquire:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212,175,55,.5);
}
.navbar-phone-text {
  letter-spacing: .3px;
}
/* On mobile collapse, stack them full width */
@media (max-width: 991px) {
  .navbar-cta-call,
  .navbar-cta-enquire {
    width: 100%;
    height: 42px;
    font-size: .9rem;
    justify-content: center;
  }
  .navbar-cta-call { min-width: unset; }
  .navbar-cta-enquire { min-width: unset; }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.main-navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
}
.main-navbar.scrolled {
  padding: .3rem 0;
  box-shadow: var(--shadow-md);
}
.navbar-brand .brand-text { font-size: 1.5rem; font-weight: 800; }
.brand-primary { color: var(--pink-dark); }
.brand-secondary { color: var(--gold); }

.main-navbar .nav-link {
  font-weight: 500;
  font-size: .9rem;
  color: var(--text-dark);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--gold); }
.main-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  padding: .75rem 0;
  animation: fadeDown .2s ease;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.main-navbar .dropdown-item {
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}
.main-navbar .dropdown-item:hover { background: var(--pink-light); color: var(--gold); }

/* ── Section Titles ─────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 30px;
  border: 1px solid var(--pink-dark);
  margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .5rem; }
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--text-muted); font-size: .95rem; max-width: 600px; }
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink-dark));
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(47,47,47,.75) 0%, rgba(20,20,20,.55) 100%);
  z-index: 1;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stat-item { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: .75rem; color: rgba(255,255,255,.8); letter-spacing: 1px; }

/* ── Search Box ─────────────────────────────────────────────── */
.search-box-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  position: relative;
  z-index: 10;
}
.search-tabs { border-bottom: 2px solid var(--border); margin-bottom: 1rem; }
.search-tab-btn {
  background: none;
  border: none;
  padding: .6rem 1.5rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.search-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.search-tab-btn:hover  { color: var(--gold); }
.search-form-row .form-select,
.search-form-row .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  padding: .55rem .9rem;
  transition: var(--transition);
}
.search-form-row .form-select:focus,
.search-form-row .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(212,175,55,.2);
}
.btn-search {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: .6rem 2rem;
  font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212,175,55,.4);
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,.5); color: var(--white); }

/* ── Property Cards ─────────────────────────────────────────── */
.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.property-card-img-wrap { position: relative; overflow: hidden; height: 220px; }
.property-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.property-card:hover .property-card-img { transform: scale(1.07); }
.property-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .72rem; font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 30px;
  letter-spacing: .5px;
}
.badge-new  { background: var(--gold); color: var(--white); }
.badge-uc   { background: #17a2b8; color: var(--white); }
.badge-rtm  { background: #28a745; color: var(--white); }
.property-featured-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.6);
  color: var(--gold);
  font-size: .7rem;
  padding: .25rem .7rem;
  border-radius: 30px;
  font-weight: 600;
}
.property-luxury-tag {
  position: absolute; top: 40px; right: 12px;
  background: rgba(212,175,55,.9);
  color: var(--white);
  font-size: .7rem;
  padding: .25rem .7rem;
  border-radius: 30px;
  font-weight: 600;
}
.wishlist-btn {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.wishlist-btn:hover, .wishlist-btn.active { color: #e74c3c; }
.property-card-body { padding: 1.1rem 1.25rem; }
.property-price { font-size: 1.15rem; font-weight: 800; color: var(--gold); }
.property-orig-price { font-size: .8rem; color: var(--text-muted); text-decoration: line-through; }
.property-id-tag { font-size: .72rem; color: var(--text-muted); background: var(--bg-light); padding: .15rem .5rem; border-radius: 4px; }
.property-name { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; line-height: 1.4; }
.property-name a:hover { color: var(--gold); }
.property-location { font-size: .82rem; color: var(--text-muted); }
.property-specs { font-size: .8rem; color: var(--text-muted); }
.property-specs span { display: flex; align-items: center; gap: .3rem; }
.property-specs i { color: var(--gold); }

/* ── Glassmorphism Card ─────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ── Category Cards ─────────────────────────────────────────── */
.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.category-card .cat-icon {
  width: 64px; height: 64px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}
.category-card:hover .cat-icon { background: var(--gold); color: var(--white); }
.category-card .cat-name { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.category-card .cat-count { font-size: .8rem; color: var(--text-muted); }

/* ── Why Choose Us ──────────────────────────────────────────── */
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid transparent;
}
.why-card:hover {
  border-left-color: var(--gold);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ── Testimonial Cards ──────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 20px;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: .25;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}
.star-rating i { font-size: .8rem; }

/* ── Blog Cards ─────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img-wrap { height: 200px; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.06); }
.blog-card-body { padding: 1.25rem; }
.blog-cat-tag {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--pink-light);
  padding: .2rem .7rem;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: .5rem;
}
.blog-title { font-size: .95rem; font-weight: 700; line-height: 1.5; margin-bottom: .5rem; }
.blog-title a:hover { color: var(--gold); }
.blog-meta { font-size: .78rem; color: var(--text-muted); }

/* ── Site Visit Form ────────────────────────────────────────── */
.site-visit-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}
.form-icon {
  width: 52px; height: 52px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 1.4rem;
  color: var(--gold);
}
.form-title { font-size: 1.15rem; font-weight: 800; }
.form-subtitle { font-size: .82rem; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--text-dark) 0%, #3a3a3a 60%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; color: var(--white); }
.cta-sub { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.main-footer { background: #1a1a1a; color: rgba(255,255,255,.75); }
.footer-top  { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand-name { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.8; }
.footer-contact p { font-size: .85rem; margin-bottom: .4rem; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: var(--transition);
}
.social-icon:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.footer-heading { font-size: .9rem; font-weight: 700; color: var(--white); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-small { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-newsletter .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter .form-control:focus { border-color: var(--gold); background: rgba(255,255,255,.12); box-shadow: none; }
.footer-disclaimer { background: rgba(0,0,0,.3); font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-bottom { background: #111; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-link-sm { color: rgba(255,255,255,.4); }
.footer-link-sm:hover { color: var(--gold); }

/* ── Floating Buttons ───────────────────────────────────────── */
.float-whatsapp, .float-call {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.float-whatsapp { background: #25D366; color: var(--white); bottom: 155px; animation: pulse-wa 2s infinite; }
.float-call     { background: var(--gold); color: var(--white); animation: pulse-call 2.5s infinite; }
.float-whatsapp:hover { transform: scale(1.1); color: var(--white); }
.float-call:hover     { transform: scale(1.1); color: var(--white); }

@keyframes pulse-wa {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}
@keyframes pulse-call {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,.4); }
  50%      { box-shadow: 0 0 0 12px rgba(212,175,55,0); }
}

/* ── Sticky Bottom CTA (Mobile) ─────────────────────────────── */
.sticky-bottom-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.sticky-btn {
  flex: 1; padding: .75rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  gap: .4rem;
  transition: var(--transition);
}
.sticky-call    { background: var(--gold); color: var(--white); }
.sticky-wa      { background: #25D366; color: var(--white); }
.sticky-enquire { background: var(--text-dark); color: var(--white); }
.sticky-btn:hover { filter: brightness(1.1); color: var(--white); }
body { padding-bottom: 0; }
@media (max-width:767px) { body { padding-bottom: 56px; } }

/* ── Modal Scroll Lock Prevention ───────────────────────────── */
/* Ensure body scroll is NEVER locked permanently */
body.modal-open {
  /* Allow scroll even with modal open on mobile */
  overflow: auto !important;
  padding-right: 0 !important;
}
html {
  overflow-y: scroll !important;
}
/* For larger screens, restore normal modal behavior */
@media (min-width: 768px) {
  body.modal-open {
    overflow: hidden !important;
  }
}

/* ── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(30,30,30,.97);
  color: var(--white);
  padding: .9rem 0;
  z-index: 9999;
  border-top: 2px solid var(--gold);
}

/* ── Exit Intent Popup ──────────────────────────────────────── */
.exit-popup { border-radius: var(--radius-md); overflow: hidden; border: none; }
.exit-popup-img {
  background: linear-gradient(160deg, var(--pink) 0%, var(--gold-light) 100%),
              url('assets/images/exit-popup-bg.jpg') center/cover no-repeat;
  min-height: 320px;
}
.exit-close {
  position: absolute; top: .75rem; right: .75rem; z-index: 10;
}

/* ── Builders Card ──────────────────────────────────────────── */
.builder-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}
.builder-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.builder-logo {
  width: 90px; height: 90px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--pink);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.builder-card:hover .builder-logo { border-color: var(--gold); }

/* ── Stats Counter ──────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--gold);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: .4rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-wrap {
  background: var(--pink-light);
  padding: .75rem 0;
  border-bottom: 1px solid var(--pink-dark);
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }
.breadcrumb-item a { color: var(--text-muted); font-size: .85rem; }
.breadcrumb-item.active { color: var(--gold); font-size: .85rem; }

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--text-dark) 0%, #2a1a0a 100%);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/images/hero-pattern.png') repeat;
  opacity: .04;
}
.page-hero-title  { color: var(--white); font-size: clamp(1.5rem, 4vw, 2.5rem); }
.page-hero-sub    { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination .page-link { color: var(--gold); border-radius: var(--radius-sm) !important; margin: 0 2px; border-color: var(--border); }
.pagination .page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pagination .page-link:hover { background: var(--pink-light); color: var(--gold); }

/* ── Filter Sidebar ─────────────────────────────────────────── */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px; /* Adjusted for navbar height */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.filter-heading {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-dark);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--pink);
}

/* ── Property Detail ────────────────────────────────────────── */
.detail-gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 420px;
  max-height: 420px;
  min-height: 420px;
  background: var(--pink-light);
  position: relative;
  display: block;
}
.detail-gallery-main img { 
  width: 100% !important; 
  height: 420px !important;
  max-height: 420px !important;
  min-height: 420px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  position: absolute;
  top: 0; left: 0;
  border-radius: 0 !important;
}
.detail-thumb-strip { display: flex; gap: .5rem; margin-top: .5rem; overflow-x: auto; }
.detail-thumb { width: 80px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: var(--transition); flex-shrink: 0; }
.detail-thumb:hover, .detail-thumb.active { border-color: var(--gold); }
.detail-spec-card {
  background: var(--pink-light);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  text-align: center;
  border: 1px solid var(--pink-dark);
}
.detail-spec-val  { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.detail-spec-key  { font-size: .75rem; color: var(--text-muted); }
.amenity-badge {
  background: var(--white);
  border: 1px solid var(--pink-dark);
  border-radius: 30px;
  padding: .3rem 1rem;
  font-size: .82rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.amenity-badge i { color: var(--gold); }

/* ── Property Detail Right Column - Sticky Sidebar Fix ────── */
.property-detail-sidebar-sticky {
  position: sticky;
  top: 100px; /* Adjusted to account for sticky navbar height */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  /* Custom scrollbar for sidebar */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--pink-light);
}
.property-detail-sidebar-sticky::-webkit-scrollbar {
  width: 6px;
}
.property-detail-sidebar-sticky::-webkit-scrollbar-track {
  background: var(--pink-light);
  border-radius: 10px;
}
.property-detail-sidebar-sticky::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}
.property-detail-sidebar-sticky::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ── Calculator ─────────────────────────────────────────────── */
.calc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}
.calc-result {
  background: var(--pink-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--gold);
  margin-top: 1.5rem;
}
.calc-result-main { font-size: 2rem; font-weight: 800; color: var(--gold); }
.range-slider { accent-color: var(--gold); }

/* ── Admin Styles ───────────────────────────────────────────── */
.admin-body { background: #f5f6fa; }
.admin-sidebar {
  width: 260px; min-height: 100vh;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  position: fixed; left: 0; top: 0;
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
}
.admin-content { margin-left: 260px; padding: 1.5rem; }
.admin-nav-link {
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: .15rem;
}
.admin-nav-link:hover,
.admin-nav-link.active { background: rgba(212,175,55,.15); color: var(--gold); }
.admin-nav-link i { width: 18px; text-align: center; font-size: .9rem; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .hero-section { min-height: 70vh; }
  .property-detail-sidebar-sticky {
    position: relative;
    top: auto;
    max-height: none;
    overflow-y: visible;
  }
  .filter-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }
}
@media (max-width: 767px) {
  .hero-title  { font-size: 1.8rem; }
  .hero-stats  { gap: 1.25rem; }
  .float-whatsapp, .float-call { display: none; }
  .detail-gallery-main { 
    height: 260px !important;
    max-height: 260px !important;
    min-height: 260px !important;
  }
  .detail-gallery-main img {
    height: 260px !important;
    max-height: 260px !important;
    min-height: 260px !important;
  }
}
@media (max-width: 575px) {
  .search-box-wrap { padding: 1rem; }
  .section-title { font-size: 1.4rem; }
  .stat-num { font-size: 1.8rem; }
  .detail-gallery-main {
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
  }
  .detail-gallery-main img {
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
  }
}

/* ── Animations & Misc ──────────────────────────────────────── */
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-5px); }
.gold-border { border: 2px solid var(--gold); }
.separator-gold { border-top: 2px solid var(--gold); opacity: 1; }
.bg-hero-gradient { background: linear-gradient(135deg, var(--pink-light) 0%, var(--white) 100%); }
.section-pink { background: var(--pink-light); }
.section-dark { background: var(--text-dark); }

/* ── Spinner overlay ────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .4s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 50px; height: 50px;
  border: 4px solid var(--pink);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Auth Pages (Login / Register / Forgot) ──────────────────── */
.auth-card {
  border: 1px solid var(--border);
  transition: var(--transition);
}
.auth-card:hover { box-shadow: var(--shadow-md); }
.auth-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212,175,55,.35);
}
.auth-divider {
  position: relative; text-align: center; margin: 1.25rem 0;
}
.auth-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0;
  border-top: 1px solid var(--border);
}
.auth-divider span {
  position: relative; background: var(--white);
  padding: 0 .75rem; color: var(--text-muted);
  font-size: .8rem;
}

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  height: 100%;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--white) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--gold);
  border: 2px solid var(--pink-dark);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border-color: var(--gold);
}

/* ── Timeline (About page) ──────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--pink-dark) 100%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-dot {
  position: absolute;
  left: -2.8rem; top: 3px;
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}
.timeline-year {
  font-size: .8rem; font-weight: 700;
  color: var(--gold); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: .25rem;
}
.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.timeline-desc  { font-size: .875rem; color: var(--text-muted); }

/* ── Property Detail Tabs ───────────────────────────────────── */
.detail-tabs .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: .875rem;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: .75rem 1.25rem;
  transition: var(--transition);
}
.detail-tabs .nav-link.active,
.detail-tabs .nav-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: transparent;
}
.detail-tabs { border-bottom: 2px solid var(--border); }

/* ── Nearby Places ──────────────────────────────────────────── */
.nearby-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .75rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .84rem;
  margin-bottom: .5rem;
}
.nearby-item i { color: var(--gold); width: 18px; text-align: center; }

/* ── Payment Plan Table ─────────────────────────────────────── */
.payment-table th { background: var(--pink-light); color: var(--text-dark); font-weight: 700; }
.payment-table td { font-size: .875rem; }
.payment-table tr:hover td { background: var(--pink-light); }

/* ── Swiper overrides ───────────────────────────────────────── */
.swiper-pagination-bullet-active { background: var(--gold) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--gold) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.2rem !important; }

/* ── Tag cloud ──────────────────────────────────────────────── */
.tag-cloud a {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: .2rem .9rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin: .2rem;
  transition: var(--transition);
}
.tag-cloud a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── User Dashboard ─────────────────────────────────────────── */
.dashboard-stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}
.dashboard-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dashboard-stat-num   { font-size: 2rem; font-weight: 800; color: var(--gold); }
.dashboard-stat-label { font-size: .82rem; color: var(--text-muted); }

/* ── Thank You Page ─────────────────────────────────────────── */
.thankyou-icon {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(34,197,94,.3);
  animation: scaleIn .5s ease;
}
@keyframes scaleIn { from { transform: scale(0); opacity:0; } to { transform: scale(1); opacity:1; } }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-accordion .accordion-button {
  font-weight: 600; font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gold);
  background: var(--pink-light);
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  filter: invert(75%) sepia(50%) saturate(500%) hue-rotate(5deg);
}
.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .5rem;
  overflow: hidden;
}
.faq-accordion .accordion-body { font-size: .9rem; color: var(--text-muted); }

/* ── Legal Pages (Privacy, Terms, etc.) ─────────────────────── */
.legal-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-top: 2rem; }
.legal-content h3 { font-size: 1rem; font-weight: 700; margin-top: 1.5rem; }
.legal-content p, .legal-content li { font-size: .9rem; color: var(--text-muted); line-height: 1.9; }
.legal-content ul { padding-left: 1.5rem; }

/* ── Gallery Filter ─────────────────────────────────────────── */
.gallery-filter .btn { border-radius: 30px; font-size: .82rem; padding: .35rem 1.1rem; }
.gallery-filter .btn.active { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── Map Wrapper ────────────────────────────────────────────── */
.map-wrap { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; }

/* ── Contact Info Card ──────────────────────────────────────── */
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.contact-info-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-info-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.contact-info-title { font-weight: 700; font-size: .9rem; margin-bottom: .15rem; }
.contact-info-value { font-size: .85rem; color: var(--text-muted); }

/* ── Back to top (supplemental) ────────────────────────────── */
#backToTop:hover { background: var(--gold) !important; transform: translateY(-3px); }

/* ── Print styles ───────────────────────────────────────────── */
@media print {
  .float-whatsapp, .float-call, .sticky-bottom-cta,
  .cookie-banner, .main-navbar, .top-bar { display: none !important; }
}
