/* ============================================================
   Satsheel Realty – Shared Theme (CI3)
   Common design system: colors, navbar, footer, typography
   Loaded on EVERY page via header.php
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --maroon:      #ad4e32;
  --maroon-dark: #7a331f;
  --gold:        #c8853a;
  --gold-light:  #e8a958;
  --cream:       #fbf3ea;
  --text-dark:   #2b1810;
  --text-muted:  #7a6357;
  --white:       #ffffff;
}

/* ── Reset ─────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid #f2e1d6;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(92,26,26,.07);
}

/* ── Logo ───────────────────────────────────────────────── */
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  /* subtle shadow ring to lift the logo off the white bar */
  filter: drop-shadow(0 2px 6px rgba(173,78,50,.18));
  transition: filter .25s, transform .25s;
}
.navbar-brand:hover .logo-wrap {
  filter: drop-shadow(0 4px 12px rgba(173,78,50,.32));
  transform: translateY(-1px);
}
.navbar-logo {
  height: 54px;        /* fixed height — width scales naturally */
  width: auto;
  object-fit: contain;
  border-radius: 8px;  /* softly rounded corners */
  display: block;
}

/* Brand text next to logo */
.brand-text { line-height: 1; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--maroon);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-name span {
  display: block;      /* "REALTY" on its own line */
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}
.brand-tagline {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  font-weight: 500;
  margin-top: 3px;
  white-space: nowrap;
}

/* Brand */
.brand-icon {
  width: 42px; height: 42px;
  background: var(--maroon);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 10px;
}
.brand-icon i { color: var(--gold-light); font-size: 1.3rem; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--maroon);
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Nav links */
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-dark) !important;
  padding: 0.5rem 0.85rem !important;
  transition: color .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold) !important; }
.navbar-nav .nav-link.active { border-bottom: 2px solid var(--gold); }

/* Dropdown */
.dropdown-menu {
  border: 1px solid #f2e1d6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(92,26,26,.1);
}
.dropdown-item {
  font-size: 0.85rem;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  transition: background .15s, color .15s;
}
.dropdown-item:hover {
  background: var(--cream);
  color: var(--gold);
}

/* Phone + CTA */
.nav-phone { font-size: 0.85rem; color: var(--maroon); font-weight: 600; }

.btn-consult {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  transition: background .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-consult:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-1px);
}

/* Mobile toggler */
.navbar-toggler:focus { box-shadow: none; }

/* ── FOOTER ────────────────────────────────────────────────── */
/* Footer logo */
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  /* brighten on dark background */
  filter: brightness(1.1) drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
.footer-brand-link:hover .footer-logo {
  filter: brightness(1.2) drop-shadow(0 4px 10px rgba(0,0,0,.4));
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.footer-brand-name span {
  display: block;
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.footer-brand-tagline {
  font-size: 0.58rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.06em;
  margin-top: 3px;
  white-space: nowrap;
}


footer {
  background: var(--maroon-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: 0.83rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { color: rgba(255,255,255,.7); font-size: 0.83rem; }
.footer-contact i { color: var(--gold-light); margin-right: 0.4rem; }
.footer-contact p { margin-bottom: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 0.78rem;
}

.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 0.4rem;
  transition: all .2s;
}
.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── Shared Page Utilities ─────────────────────────────────── */
/* Common page hero used across all inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, #8f3e28 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1599661046289-e31897846e41?w=1200&q=60') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1rem; }
.breadcrumb-item a { color: var(--gold-light); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,.6); }

/* Common section spacing */
section { padding: 5rem 0; }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; color: var(--text-dark); }
.gold-line { width: 52px; height: 3px; background: var(--gold); margin: 1rem 0 1.5rem; }
