/* ═══════════════════════════════════════════
   SAIMA MAMOON REAL ESTATE — GLOBAL STYLES
   Colors: #f15f41 (coral/red), #041e3f (navy), #ffffff, #000000
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #f15f41;
  --coral-dark: #d44d31;
  --coral-light: #fff0ed;
  --navy: #041e3f;
  --navy-80: rgba(4,30,63,0.85);
  --navy-light: #0a3266;
  --white: #ffffff;
  --off-white: #fafafa;
  --light-grey: #f4f4f4;
  --mid-grey: #e0e0e0;
  --text-dark: #1a1a1a;
  --text-body: #444444;
  --text-muted: #888888;
  --border: #e8e8e8;
  --font-h: 'Fraunces', Georgia, serif;
  --font-b: 'Outfit', sans-serif;
  --shadow-sm: 0 2px 12px rgba(4,30,63,0.08);
  --shadow-md: 0 6px 30px rgba(4,30,63,0.12);
  --shadow-lg: 0 16px 60px rgba(4,30,63,0.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--coral); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
p { line-height: 1.78; color: var(--text-body); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.text-coral { color: var(--coral); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 10px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--coral); border-radius: 2px; }

.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--coral); }

.section-subtitle {
  font-size: 1.05rem; font-weight: 300;
  color: var(--text-body); line-height: 1.8; max-width: 580px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-b); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.25s ease;
  letter-spacing: 0.01em;
}
.btn-coral {
  background: var(--coral); color: var(--white);
  box-shadow: 0 3px 14px rgba(241,95,65,0.32);
}
.btn-coral:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(241,95,65,0.42); }
.btn-navy {
  background: var(--navy); color: var(--white);
  box-shadow: 0 3px 14px rgba(4,30,63,0.25);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(4,30,63,0.32); }
.btn-outline {
  background: transparent; color: var(--coral);
  border: 2px solid var(--coral);
}
.btn-outline:hover { background: var(--coral); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ═══════════════════════
   NAVIGATION
   ═══════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(4,30,63,0.08);
  padding: 12px 0;
}
.navbar.dark-nav { background: transparent; }
.navbar.dark-nav.scrolled { background: var(--white); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; flex-direction: column; gap: 0; }
.nav-logo-name {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700;
  color: var(--navy); letter-spacing: -0.01em; line-height: 1;
}
.navbar.dark-nav:not(.scrolled) .nav-logo-name { color: var(--white); }
.nav-logo-tag {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--coral);
}

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; color: var(--navy);
  transition: color 0.25s; position: relative;
}
.nav-cta:active {color:white !important}
.navbar.dark-nav:not(.scrolled) .nav-link { color: rgba(255,255,255,0.88); }
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--coral);
  transform: scaleX(0); transition: transform 0.3s; border-radius: 2px;
}
.nav-link:hover { color: var(--coral); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--coral); }

.nav-cta { margin-left: 12px; padding: 10px 22px; font-size: 0.82rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.navbar.dark-nav:not(.scrolled) .nav-toggle span { background: white; }

/* ═══════════════════════
   FOOTER
   ═══════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {}
.footer-logo-name {
  font-family: var(--font-h); font-size: 1.5rem; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.footer-logo-tag { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 260px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 4px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  transition: background 0.25s, color 0.25s;
}
.social-link:hover { background: var(--coral); color: white; }

.footer-col h5 {
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: rgba(255,255,255,0.5);
  margin-bottom: 10px; transition: color 0.25s;
}
.footer-col a:hover { color: var(--white); }

.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item span:first-child { color: var(--coral); font-size: 0.95rem; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item span:last-child { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color 0.25s; }
.footer-links a:hover { color: var(--coral); }

/* ═══════════════════════
   SEARCH BAR (shared)
   ═══════════════════════ */
.search-bar {
  background: var(--white);
  border-radius: 6px;
  padding: 8px 8px 8px 20px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
}
.search-bar input {
  flex: 1; border: none; outline: none;
  font-family: var(--font-b); font-size: 0.92rem; color: var(--text-dark);
  background: transparent;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button { padding: 11px 22px; font-size: 0.82rem; border-radius: 4px; }

/* ═══════════════════════
   PROPERTY CARD (shared)
   ═══════════════════════ */
.prop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prop-img { position: relative; height: 220px; overflow: hidden; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prop-card:hover .prop-img img { transform: scale(1.05); }
.prop-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--coral); color: white;
  padding: 4px 11px; border-radius: 3px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.prop-badge.sold { background: var(--navy); }
.prop-badge.pending { background: #f59e0b; }
.prop-fav {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; transition: background 0.25s;
}
.prop-fav:hover { background: var(--coral); color: white; }
.prop-body { padding: 20px; }
.prop-price {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.prop-address { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.prop-details { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.prop-detail { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--text-muted); }
.prop-detail span:first-child { font-size: 0.95rem; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 280px; background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
    transition: right 0.35s ease;
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 20px 0 0; width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .search-bar { flex-direction: column; align-items: stretch; border-radius: 6px; }
  .search-bar input { text-align: center; }
}
