:root {
  --brand: #0f5132;
  --brand-dark: #0a3822;
  --brand-light: #e8f5ee;
  --accent: #d4a017;
  --sold: #dc3545;
  --available: #198754;
  --hold: #fd7e14;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f7f8f6;
  color: #212529;
}

/* Navbar */
.navbar-brand-custom {
  font-weight: 700;
  color: var(--brand) !important;
  font-size: 1.4rem;
}
.navbar-custom {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.navbar-custom .nav-link {
  color: #333 !important;
  font-weight: 500;
}
.navbar-custom .nav-link:hover { color: var(--brand) !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 70px 0 90px;
}
.hero h1 { font-weight: 700; }
.hero .btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
}
.hero .btn-accent:hover { background: #c1901a; color: #1a1a1a; }

/* Sticky contact bar (mobile) */
.sticky-contact-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.12);
  z-index: 1030;
  display: flex;
}
.sticky-contact-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}
.sticky-contact-bar .call-btn { background: var(--brand); color: #fff; }
.sticky-contact-bar .whatsapp-btn { background: #25D366; color: #fff; }
.sticky-contact-bar .callback-btn { background: var(--accent); color: #1a1a1a; }

/* Property cards */
.property-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}
.property-card .card-img-top {
  height: 210px;
  object-fit: cover;
  background: #ddd;
}
.badge-type {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--brand);
  color: #fff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-status {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 600;
  color: #fff;
}
.badge-status.Active { background: var(--available); }
.badge-status.SoldOut { background: var(--sold); }
.img-wrap { position: relative; }

.price-tag { color: var(--brand); font-weight: 700; font-size: 1.15rem; }
.location-tag { color: #6c757d; font-size: .9rem; }

/* Plot grid on layout detail page */
.plot-box {
  border-radius: 10px;
  text-align: center;
  padding: 10px 4px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  cursor: default;
}
.plot-box.Available { background: var(--available); }
.plot-box.Sold { background: var(--sold); }
.plot-box.Hold { background: var(--hold); }
.plot-box small { display: block; font-weight: 400; opacity: .9; }

.stat-card {
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: #fff;
}
.stat-card h3 { font-weight: 700; margin-bottom: 2px; }
.stat-available { background: var(--available); }
.stat-sold { background: var(--sold); }
.stat-hold { background: var(--hold); }
.stat-total { background: var(--brand); }

.cert-card {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  background: #fff;
}
.cert-card i { font-size: 2rem; color: var(--brand); }

section-title {
  font-weight: 700;
  color: var(--brand-dark);
}
.section-heading {
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.section-sub { color: #6c757d; margin-bottom: 32px; }

footer.site-footer {
  background: var(--brand-dark);
  color: #d9e6df;
  padding: 40px 0 90px;
}
footer.site-footer a { color: #fff; }

.gallery-thumb {
  border-radius: 10px;
  height: 140px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

@media (min-width: 768px) {
  .sticky-contact-bar { display: none; }
}
