/* ===================================================
   Lanka Prime Realtors — Main Stylesheet
   Black #1A1A1A | Green #2E9E5B | Yellow #FFC93C | White #FFFFFF
   =================================================== */

:root {
  --navy: #1A1A1A;
  --navy-dark: #0D0D0D;
  --navy-mid: #2E2E2E;
  --gold: #2E9E5B;
  --gold-light: #5CC98A;
  --gold-dark: #1F7A43;
  --yellow: #FFC93C;
  --yellow-dark: #E0A800;
  --logo-gold: #D4AF37;
  --logo-gold-light: #E8CD6E;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-light: #f0f2f8;
  --gray: #8892a4;
  --gray-dark: #4a5568;
  --text-dark: #1a1a2e;
  --text-medium: #4a5568;
  --success: #28a745;
  --danger: #dc3545;
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.08);
  --shadow-md: 0 4px 20px rgba(26,26,26,0.12);
  --shadow-lg: 0 8px 40px rgba(26,26,26,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--text-medium); }

/* ==================== UTILITIES ==================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.bg-navy { background: var(--navy); }
.bg-gold { background: var(--gold); }
.bg-off-white { background: var(--off-white); }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

.section-label {
  display: inline-block;
  background: rgba(46,158,91,0.15);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,158,91,0.4);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-telegram {
  background: #0088cc;
  color: var(--white);
  border-color: #0088cc;
}
.btn-telegram:hover {
  background: #0077b5;
  border-color: #0077b5;
  transform: translateY(-2px);
}

.btn-email {
  background: #ea4335;
  color: var(--white);
  border-color: #ea4335;
}
.btn-email:hover {
  background: #d33426;
  border-color: #d33426;
  transform: translateY(-2px);
}

.btn-call {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-call:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ==================== HEADER ==================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

#header.scrolled {
  background: var(--navy-dark);
  box-shadow: var(--shadow-lg);
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-dark);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img { width: 100%; height: 100%; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: 0.5px; }
.logo-tagline { font-size: 0.65rem; color: var(--logo-gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

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

.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav a:hover, .nav a.active {
  color: var(--gold);
  background: rgba(46,158,91,0.1);
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== MOBILE NAV ==================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 20px;
  z-index: 999;
  border-bottom: 1px solid rgba(46,158,91,0.2);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav a:last-child { border-bottom: none; }

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: var(--navy-dark);
}

/* Rotating hero background slideshow */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideFade 18s infinite;
}

.hero-slide-1 {
  /* Tea estate colonial bungalow, Nuwara Eliya - hill country nature view */
  background-image: url('https://images.unsplash.com/photo-1576675466969-38eeae4b41f6?w=1920&q=80');
  animation-delay: 0s;
}

.hero-slide-2 {
  /* Luxury apartment interior */
  background-image: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=1920&q=80');
  animation-delay: 6s;
}

.hero-slide-3 {
  /* Beach side luxury property */
  background-image: url('https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?w=1920&q=80');
  animation-delay: 12s;
}

@keyframes heroSlideFade {
  0%, 100% { opacity: 0; }
  4%, 28% { opacity: 1; }
  33% { opacity: 0; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(13,13,13,0.45) 0%, rgba(26,26,26,0.38) 50%, rgba(46,46,46,0.4) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,158,91,0.15);
  border: 1px solid rgba(46,158,91,0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 span { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Search Box */
.search-box {
  background: var(--white);
  border-radius: 20px;
  padding: 8px;
  max-width: 900px;
  margin: 0 auto 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.search-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--gray-light);
  border-radius: 14px;
  margin-bottom: 8px;
}

.search-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: var(--transition);
  text-align: center;
}

.search-tab.active, .search-tab:hover {
  background: var(--navy);
  color: var(--white);
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.search-field {
  position: relative;
}

.search-field select,
.search-field input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border: 1.5px solid var(--gray-light);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: var(--transition);
  appearance: none;
}

.search-field select:focus,
.search-field input:focus {
  border-color: var(--navy);
  background: var(--white);
}

.search-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
  pointer-events: none;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ==================== CARDS ==================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(26,26,26,0.06);
}

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

.card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale { background: var(--navy); color: var(--white); }
.badge-rent { background: #17a2b8; color: var(--white); }
.badge-lease { background: #6f42c1; color: var(--white); }
.badge-hot { background: var(--yellow); color: var(--navy-dark); }
.badge-new { background: var(--gold); color: var(--white); }
.badge-featured { background: var(--gold); color: var(--white); }

.card-favourite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--gray);
}

.card-favourite:hover, .card-favourite.active { color: #dc3545; background: var(--white); }

.card-price-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(26,26,26,0.92);
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.card-body { padding: 18px; }

.card-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 14px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.meta-item i { color: var(--gold); font-size: 0.85rem; }

.card-actions {
  display: flex;
  gap: 8px;
}

.card-actions .btn { flex: 1; font-size: 0.82rem; padding: 9px 12px; }

/* ==================== FEATURED SECTION ==================== */
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==================== HOT DEALS ==================== */
.hot-deals {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hot-deals::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46,158,91,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hot-deals .section-label { background: rgba(255,255,255,0.1); color: var(--gold); }
.hot-deals .section-title { color: var(--white); }
.hot-deals .section-subtitle { color: rgba(255,255,255,0.65); }

/* ==================== PROCESS STEPS ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
  transition: var(--transition);
}

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

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-text { color: var(--text-medium); font-style: italic; margin-bottom: 20px; line-height: 1.7; }

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.author-role { font-size: 0.78rem; color: var(--gray); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--navy-dark); margin-bottom: 12px; }
.cta-banner p { color: rgba(26,26,26,0.75); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(46,158,91,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-label { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.contact-value { font-weight: 600; color: var(--navy); margin-top: 2px; }

/* ==================== FORM ==================== */
.enquiry-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,26,26,0.06);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

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

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}

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

.quick-enquiry-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-about p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.8; margin: 16px 0 24px; }

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--white);
}
.social-btn.whatsapp { background: #25D366; }
.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.telegram { background: #0088cc; }
.social-btn:hover { transform: translateY(-3px); opacity: 0.9; }

.footer-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

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

/* ==================== FLOATING BUTTONS ==================== */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  position: relative;
}

.float-btn:hover { transform: scale(1.1); }

.float-btn-tooltip {
  position: absolute;
  right: 66px;
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn:hover .float-btn-tooltip { opacity: 1; }

.float-whatsapp { background: #25D366; }
.float-telegram { background: #0088cc; }
.float-call { background: var(--navy); }

.float-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2s ease infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==================== PROPERTY LISTING PAGE ==================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* Filter Bar */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  margin: -30px auto 40px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(26,26,26,0.08);
}

.filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}

.filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.filter-select, .filter-input {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition: var(--transition);
  width: 100%;
  appearance: none;
  cursor: pointer;
}

.filter-select:focus, .filter-input:focus {
  border-color: var(--navy);
  background: var(--white);
}

.filter-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-light);
  align-self: flex-end;
  margin-bottom: 2px;
}

/* Results bar */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count { font-size: 0.9rem; color: var(--text-medium); }
.results-count strong { color: var(--navy); }

.sort-view-controls { display: flex; align-items: center; gap: 12px; }
.view-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
  cursor: pointer;
}
.view-btn.active, .view-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(26,26,26,0.05);
}

/* List View */
.property-card.list-view {
  display: grid;
  grid-template-columns: 280px 1fr;
}
.property-card.list-view .card-image { height: 100%; min-height: 200px; }
.property-card.list-view .card-body { padding: 24px; }
.property-card.list-view .card-actions { max-width: 400px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  transition: var(--transition);
  cursor: pointer;
}

.page-btn.active, .page-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ==================== PROPERTY DETAIL PAGE ==================== */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
}

.gallery-main { grid-row: 1 / 3; position: relative; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { overflow: hidden; position: relative; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.detail-main { }
.detail-sidebar { position: sticky; top: 90px; }

.detail-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
  margin-bottom: 28px;
}

.detail-price { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.detail-price-note { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.detail-features {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
  margin-bottom: 28px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-medium);
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}

.feature-item i { color: var(--gold); font-size: 0.9rem; }

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.detail-meta-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
}

.detail-meta-icon { font-size: 1.3rem; color: var(--gold); margin-bottom: 8px; }
.detail-meta-value { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.detail-meta-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }

/* Sidebar */
.sidebar-enquiry {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,26,26,0.06);
}

.sidebar-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 20px 24px;
  color: var(--white);
}

.sidebar-header h3 { color: var(--white); font-size: 1.1rem; }
.sidebar-header p { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-top: 4px; }

.sidebar-body { padding: 24px; }

.instant-contact {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.agent-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.agent-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

.agent-info .agent-name { font-weight: 700; font-size: 1rem; color: var(--navy); }
.agent-info .agent-role { font-size: 0.78rem; color: var(--gray); }
.agent-info .agent-rating { font-size: 0.78rem; color: var(--gold); margin-top: 2px; }

/* ==================== MODAL ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,16,40,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  animation: modalIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 { color: var(--white); font-size: 1.15rem; }
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.25); }
.modal-body { padding: 28px; }

/* ==================== LIGHTBOX ==================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }

/* ==================== TOAST ==================== */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--navy-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  animation: toastIn 0.3s ease;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success { border-left-color: #28a745; }
.toast.error { border-left-color: #dc3545; }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==================== LOADING ==================== */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, var(--gray-light) 25%, #e8eaf0 50%, var(--gray-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer { to { background-position: -200% 0; } }

/* ==================== BLOG SECTION ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,26,26,0.06);
  transition: var(--transition);
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.blog-meta { font-size: 0.78rem; color: var(--gray); display: flex; gap: 12px; }

/* ==================== SEARCH SUGGESTIONS ==================== */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--gray-light);
  border-top: none;
}

.suggestion-item {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestion-item:hover { background: var(--gray-light); color: var(--navy); }
.suggestion-item i { color: var(--gold); font-size: 0.8rem; }

/* ==================== NO RESULTS ==================== */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}

.no-results i { font-size: 3rem; margin-bottom: 16px; color: var(--gray-light); }

/* ==================== BACK TO TOP ==================== */
#back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .property-gallery { grid-template-columns: 1fr 1fr; height: 380px; }
}

@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-content { padding: 60px 0 100px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .btn-primary { grid-column: 1 / -1; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 1.6rem; }
  .properties-grid { grid-template-columns: 1fr; }
  .property-card.list-view { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; }
  .filter-divider { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-enquiry-btns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .property-gallery { grid-template-columns: 1fr; height: 260px; }
  .gallery-thumb { display: none; }
  .gallery-main { grid-row: 1; }
  .floating-buttons { bottom: 16px; right: 16px; }
  .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .detail-price-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .search-fields { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; gap: 16px; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.7rem; }
  .properties-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .detail-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ==================== PROPERTY TYPE ICONS ==================== */
.type-icon { font-size: 0.9rem; }

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==================== MAP PLACEHOLDER ==================== */
.map-container {
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
}

.map-placeholder i { font-size: 2.5rem; color: var(--navy); }

/* Print */
@media print {
  #header, .floating-buttons, #back-to-top { display: none !important; }
  body { padding-top: 0; }
}
