/* ==========================================================================
   SleekMek Nigeria Limited — Modern Real Estate Theme
   Bootstrap 5 based redesign. Loaded after Bootstrap 5 CDN.
   ========================================================================== */

:root {
  --sm-charcoal: #14161a;
  --sm-charcoal-soft: #1f2228;
  --sm-cream: #f7f5f0;
  --sm-white: #ffffff;
  --sm-gold: #c8973a;
  --sm-gold-dark: #a97c26;
  --sm-gold-light: #e4c581;
  --sm-text-muted: #6b6f76;
  --sm-border: rgba(20, 22, 26, 0.08);
  --sm-radius: 4px;
  --sm-shadow: 0 20px 50px -20px rgba(20, 22, 26, 0.25);
  --sm-transition: all 0.35s cubic-bezier(.25,.8,.25,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sm-charcoal);
  background-color: var(--sm-white);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-gold { color: var(--sm-gold) !important; }
.bg-gold { background-color: var(--sm-gold) !important; }
.bg-charcoal { background-color: var(--sm-charcoal) !important; }
.bg-cream { background-color: var(--sm-cream) !important; }

a { color: var(--sm-charcoal); text-decoration: none; }
a:hover { color: var(--sm-gold); }

.btn-gold {
  background-color: var(--sm-gold);
  border: 1px solid var(--sm-gold);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--sm-radius);
  transition: var(--sm-transition);
}
.btn-gold:hover, .btn-gold:focus {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline-charcoal {
  border: 1px solid var(--sm-charcoal);
  color: var(--sm-charcoal);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--sm-radius);
  transition: var(--sm-transition);
}
.btn-outline-charcoal:hover {
  background-color: var(--sm-charcoal);
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sm-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-rule {
  width: 60px;
  height: 3px;
  background: var(--sm-gold);
  border: none;
  margin: 0 0 1.75rem 0;
}
.section-rule.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Top utility bar ---------- */
.sm-topbar {
  background-color: var(--sm-charcoal);
  color: #cfd2d8;
  font-size: 0.82rem;
  padding: 0.5rem 0;
}
.sm-topbar a { color: #cfd2d8; }
.sm-topbar a:hover { color: var(--sm-gold); }
.sm-topbar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  margin-left: 6px;
  color: #fff;
  font-size: 0.78rem;
}
.sm-topbar .social-links a:hover { background: var(--sm-gold); border-color: var(--sm-gold); }

/* ---------- Navbar ---------- */
.sm-navbar {
  background-color: var(--sm-white);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--sm-border);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.sm-navbar .navbar-brand img { max-height: 56px; width: auto; }
.sm-navbar .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sm-charcoal);
  padding: 0.5rem 1rem !important;
}
.sm-navbar .nav-link:hover,
.sm-navbar .nav-link.active { color: var(--sm-gold); }
.sm-navbar .btn-gold { padding: 0.6rem 1.5rem; font-size: 0.8rem; }

.offcanvas-header { border-bottom: 1px solid var(--sm-border); }
.offcanvas .nav-link { font-weight: 600; padding: 0.65rem 0 !important; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.03em; }

/* ---------- Hero ---------- */
.sm-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.sm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.75) 100%);
}
.sm-hero .container { position: relative; z-index: 2; }
.sm-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
}
.sm-hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 640px; }

.sm-hero-sm {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.sm-hero-sm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,22,26,0.65);
}
.sm-hero-sm .container { position: relative; z-index: 2; }
.sm-hero-sm h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb-gold a { color: var(--sm-gold-light); }
.breadcrumb-gold .active { color: #fff; }

/* ---------- Stats strip ---------- */
.sm-stats {
  background-color: var(--sm-charcoal);
  color: #fff;
  padding: 3rem 0;
}
.sm-stats .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sm-gold);
}
.sm-stats .stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8bcc4;
}

/* ---------- Feature / service cards ---------- */
.sm-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  overflow: hidden;
  transition: var(--sm-transition);
  height: 100%;
}
.sm-card:hover { box-shadow: var(--sm-shadow); transform: translateY(-4px); }
.sm-card .sm-card-img { height: 240px; overflow: hidden; }
.sm-card .sm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--sm-transition); }
.sm-card:hover .sm-card-img img { transform: scale(1.08); }
.sm-card .sm-card-body { padding: 1.5rem; }

.sm-icon-badge {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(200,151,58,0.12);
  color: var(--sm-gold);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Project cards ---------- */
.sm-project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--sm-radius);
  box-shadow: 0 10px 30px -12px rgba(20,22,26,0.2);
  height: 340px;
}
.sm-project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.sm-project-card:hover img { transform: scale(1.1); }
.sm-project-card .sm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,26,0) 35%, rgba(20,22,26,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
.sm-project-card h3 {
  color: #fff; font-size: 1.25rem; margin-bottom: 0.4rem;
}
.sm-project-card .sm-project-links a {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
  font-size: 0.8rem;
  transition: var(--sm-transition);
}
.sm-project-card .sm-project-links a:hover { background: var(--sm-gold); border-color: var(--sm-gold); }

/* ---------- CTA band ---------- */
.sm-cta {
  background: var(--sm-charcoal);
  color: #fff;
  padding: 4rem 0;
}
.sm-cta h2 { color: #fff; }
.sm-cta .sm-phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--sm-gold);
}

/* ---------- About split banner ---------- */
.sm-split-img {
  min-height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Footer ---------- */
.sm-footer { background-color: var(--sm-charcoal); color: #b8bcc4; }
.sm-footer h5 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.sm-footer a { color: #b8bcc4; }
.sm-footer a:hover { color: var(--sm-gold); }
.sm-footer ul { list-style: none; padding-left: 0; }
.sm-footer ul li { margin-bottom: 0.6rem; }
.sm-footer .sm-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  margin-right: 8px; color: #fff;
}
.sm-footer .sm-social a:hover { background: var(--sm-gold); border-color: var(--sm-gold); }
.sm-footer-bottom {
  background: #0d0e11;
  padding: 1.2rem 0;
  font-size: 0.85rem;
  text-align: center;
  color: #8a8e97;
}
.sm-footer-bottom a { color: var(--sm-gold); font-weight: 600; }

/* ---------- Back to top ---------- */
#smBackToTop {
  display: none;
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sm-gold);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4);
}
#smBackToTop:hover { background: var(--sm-charcoal); }

/* ---------- Misc content pages ---------- */
.sm-body-section { padding: 5rem 0; }
.sm-body-section.sm-alt { background-color: var(--sm-cream); }
.sm-quote-box {
  border-left: 3px solid var(--sm-gold);
  padding-left: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sm-charcoal);
}
.table-modern th { text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--sm-text-muted); border-bottom: 2px solid var(--sm-charcoal); }
.table-modern td, .table-modern th { padding: 0.9rem 0.75rem; vertical-align: middle; }

@media (max-width: 767.98px) {
  .sm-hero { min-height: 70vh; }
  .sm-split-img { min-height: 280px; }
}
