:root {
  --navy: #1B214F;
  --gold: #C9952D;
  --white: #FFFFFF;
  --dark-text: #222222;
  --gray-bg: #F7F7FA;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
}

a { text-decoration: none; color: var(--navy); transition: color .2s ease; }
a:hover { color: var(--gold); }

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

/* ---------- Buttons ---------- */
.btn-navy { background: var(--navy); color: var(--white); border: 1px solid var(--navy); }
.btn-navy:hover { background: #131735; color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border: 1px solid var(--gold); }
.btn-gold:hover { background: #ad7d22; color: var(--white); }
.btn-outline-navy { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.bg-light-gray { background: var(--gray-bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.text-gold { color: var(--gold) !important; }

.section-title-tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: .85rem;
}

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar a { color: rgba(255,255,255,.85); margin-right: 18px; }
.topbar a:hover { color: var(--gold); }
.topbar-social a { margin-right: 0; margin-left: 14px; }

.navbar-main { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 12px 0; }
.navbar-main .nav-link { color: var(--dark-text); font-weight: 500; padding: 8px 14px !important; }
.navbar-main .nav-link:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, rgba(27,33,79,.93), rgba(18,22,58,.93)), url('/images/placeholders/property-5-main.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 0 60px;
}
.hero h1 { color: var(--white); font-size: 2.6rem; }
.hero p.lead { color: rgba(255,255,255,.85); }

.search-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  margin-top: 30px;
}
.search-card .form-label { font-weight: 600; font-size: .8rem; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Cards ---------- */
.property-card {
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(27,33,79,.12); }
.property-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.property-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.property-card .badge-status {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--white); font-size: .72rem;
  padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .5px;
}
.property-card .price { color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.property-card .meta { font-size: .85rem; color: #666; }
.property-card .meta i { color: var(--gold); margin-right: 4px; }

.feature-icon-box {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(201,149,45,.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}

.testimonial-card { background: var(--gray-bg); border-radius: 12px; padding: 28px; height: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer-heading { color: var(--white); font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .92rem; }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: var(--gold); }
.footer-social a { color: var(--white); font-size: 1.2rem; margin-right: 14px; }
.footer-social a:hover { color: var(--gold); }
.footer-tagline { color: var(--gold); font-weight: 500; }
.footer-logo-badge {
  background: var(--white); display: inline-block; padding: 10px 18px;
  border-radius: 10px; line-height: 0;
}
.sidebar-logo-badge {
  background: var(--white); padding: 10px 16px; border-radius: 10px; line-height: 0;
}
.footer-bottom { background: #131735; font-size: .85rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: #25D366; color: var(--white); width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.whatsapp-float:hover { color: var(--white); transform: scale(1.05); }

/* ---------- Page header (interior pages) ---------- */
.page-header { background: var(--navy); color: var(--white); padding: 60px 0; }
.page-header h1 { color: var(--white); margin-bottom: 6px; }
.page-header .breadcrumb { background: transparent; margin: 0; padding: 0; }
.page-header .breadcrumb a { color: rgba(255,255,255,.75); }
.page-header .breadcrumb-item.active { color: var(--gold); }

/* ---------- Gallery lightbox ---------- */
.gallery-item img { border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; width: 100%; cursor: pointer; }

/* ---------- Admin ---------- */
.admin-sidebar { background: var(--navy); min-height: 100vh; color: var(--white); }
.admin-sidebar a { color: rgba(255,255,255,.8); display: block; padding: 12px 20px; border-radius: 8px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: var(--gold); }
.admin-topbar { background: var(--white); border-bottom: 1px solid #eee; }
.stat-card { border-radius: 12px; border: 1px solid #ececec; padding: 22px; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 700; color: var(--navy); }

@media (max-width: 991px) {
  .hero { padding: 90px 0 40px; }
  .hero h1 { font-size: 1.9rem; }
}
