/* =============================================================
   FutureCityRealty.in — app.css
   Classes match EXACTLY what the PHP view files output
   ============================================================= */

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

:root {
  --gold: #C9A84C;
  --navy: #1A2340;
  --navy-dark: #0F1623;
  --text: #1a1a2e;
  --gray: #6B7280;
  --light: #9CA3AF;
  --border: #E5E7EB;
  --bg: #F9FAFB;
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: #fff; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════
   HEADER  —  <header class="header">
              children: .logo-area | nav | .header-right | .mobile-menu-btn
   ═══════════════════════════════════════════════ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* Logo area */
.logo-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text  { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand  { font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.logo-text .realty { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .5px; }
.logo-text .sub    { font-size: 8.5px; color: var(--light); font-weight: 400; margin-top: 1px; }

/* Nav — bare <nav> tag, direct children are <a> and <span class="nav-dropdown"> */
.header nav {
  display: flex; align-items: center; gap: 24px;
  flex: 1; justify-content: center;
}
.header nav > a {
  font-size: 13px; font-weight: 500; color: #374151;
  transition: color .15s; white-space: nowrap;
}
.header nav > a:hover { color: var(--gold); }

/* Dropdown spans inside nav */
.nav-dropdown {
  display: flex; align-items: center; gap: 4px;
  cursor: pointer; position: relative;
}
.nav-dropdown > a { font-size: 13px; font-weight: 500; color: #374151; transition: color .15s; }
.nav-dropdown:hover > a { color: var(--gold); }
.nav-dropdown svg { width: 12px; height: 12px; color: var(--gray); flex-shrink: 0; }

/* Header right group */
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.phone-info { display: flex; align-items: center; gap: 7px; }
.phone-info .num   { font-size: 13px; font-weight: 700; color: var(--text); display: block; }
.phone-info .hours { font-size: 10px; color: var(--light); display: block; }
.whatsapp-btn {
  background: #25D366; color: #fff; border: none; border-radius: 7px;
  padding: 9px 16px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; white-space: nowrap; transition: background .15s;
}
.whatsapp-btn:hover { background: #1ea855; }

/* Mobile hamburger — hidden on desktop */
.mobile-menu-btn {
  display: none;
  background: transparent; border: none; cursor: pointer; padding: 4px;
  align-items: center; justify-content: center;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: #fff; overflow-y: auto; flex-direction: column;
}
.mobile-nav.active { display: flex; }
.mobile-nav-inner { padding: 16px 20px; display: flex; flex-direction: column; gap: 0; }
.mobile-nav-close { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.mobile-nav-close button { background: transparent; border: none; cursor: pointer; }
.mobile-nav-inner > a {
  font-size: 16px; font-weight: 600; color: var(--text);
  padding: 13px 0; border-bottom: 1px solid var(--border); display: block;
}
.mobile-nav-inner > a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero { position: relative; min-height: 580px; overflow: hidden; display: flex; align-items: center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,20,36,.92) 0%, rgba(26,48,96,.78) 45%, rgba(10,20,36,.6) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 400px; gap: 48px;
  padding: 64px 40px 56px; width: 100%; max-width: 1440px; margin: 0 auto;
  align-items: center; min-height: 580px;
}
.hero-left h1 { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.hero-left h1 span { color: var(--gold); }
.hero-left > p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.75; max-width: 500px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-gold {
  background: var(--gold); color: #fff; border: none; border-radius: 7px;
  padding: 12px 24px; font-size: 14px; font-weight: 700;
  cursor: pointer; display: inline-block; transition: background .15s;
}
.btn-gold:hover { background: #b8962a; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.65); border-radius: 7px;
  padding: 11px 20px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.9); }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.85); font-size: 12px; font-weight: 500;
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FORM CARD
   ═══════════════════════════════════════════════ */
.form-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 8px 44px rgba(0,0,0,.2); }
.form-card h3  { font-size: 17px; font-weight: 800; color: var(--text); text-align: center; margin-bottom: 4px; }
.form-card .sub { font-size: 12px; color: var(--gray); text-align: center; margin-bottom: 18px; }
.form-label { font-size: 12px; font-weight: 600; color: #374151; display: block; margin-bottom: 5px; margin-top: 12px; }
.form-input {
  width: 100%; border: 1px solid var(--border); border-radius: 7px;
  padding: 10px 14px; font-size: 14px; color: #374151; outline: none;
  font-family: 'Inter', sans-serif; background: #fff; transition: border-color .15s;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.1); }
.form-input::placeholder { color: var(--light); }
select.form-input {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.next-btn {
  width: 100%; background: var(--gold); color: #fff; border: none;
  border-radius: 7px; padding: 13px; font-size: 14px; font-weight: 800;
  cursor: pointer; margin-top: 14px; font-family: 'Inter', sans-serif; transition: background .15s;
}
.next-btn:hover { background: #b8962a; }
.next-btn:disabled { opacity: .65; cursor: not-allowed; }
.privacy-note { font-size: 11px; color: var(--light); text-align: center; margin-top: 10px; }

/* ═══════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════ */
.trust-strip-wrapper {
  position: relative; z-index: 20;
  display: flex; justify-content: center;
  padding: 0 40px; margin-top: -70px;
}
.trust-strip-inner {
  background: #fff; border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.10);
  padding: 28px 32px;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 20px; max-width: 1320px; width: 100%;
}
.trust-card { text-align: center; padding: 4px 8px; }
.trust-card .icon { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; height: 44px; }
.trust-card h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.trust-card p  { font-size: 11.5px; color: var(--gray); line-height: 1.55; }

/* ═══════════════════════════════════════════════
   SECTION HEADERS  (used across all sections)
   ═══════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 32px; }
.section-header h2 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.section-header p  { font-size: 13.5px; color: var(--gray); }

/* ═══════════════════════════════════════════════
   LOCATIONS SECTION
   ═══════════════════════════════════════════════ */
.locations-section { padding: 72px 40px 52px; background: var(--bg); }
.locations-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px; max-width: 1200px; margin: 0 auto;
}
.location-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07); border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s; text-decoration: none; display: block;
}
.location-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-2px); }
.location-img { height: 110px; background: linear-gradient(135deg,#1a3060,#2a4a80); overflow: hidden; }
.location-img img { width: 100%; height: 100%; object-fit: cover; }
.location-body { padding: 12px; }
.location-body h4 { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.score-row { margin-bottom: 4px; }
.score-label { display: flex; justify-content: space-between; font-size: 10.5px; margin-bottom: 3px; color: var(--gray); font-weight: 500; }
.score-bar  { height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; }
.score-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #d4a843); border-radius: 999px; }
.btn-explore {
  display: inline-block; background: var(--navy); color: #fff;
  border-radius: 8px; padding: 12px 28px; font-size: 13.5px; font-weight: 700;
  text-decoration: none; transition: background .15s;
}
.btn-explore:hover { background: #243060; }

/* ═══════════════════════════════════════════════
   PROJECT CARD MINI
   ═══════════════════════════════════════════════ */
.project-card-mini {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.07); border: 1px solid var(--border);
  text-decoration: none; display: block; transition: box-shadow .2s;
}
.project-card-mini:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials-section { padding: 52px 40px; background: var(--navy); }
.testimonials-section .section-header h2 { color: #fff; }
.testimonials-section .section-header p  { color: rgba(255,255,255,.65); }
.testimonials-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.testimonial-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 22px;
}
.testimonial-card .rating { color: var(--gold); font-size: 14px; margin-bottom: 10px; }

/* ═══════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════ */
.cta-banner { padding: 56px 40px; background: linear-gradient(135deg, var(--gold) 0%, #b8962a 100%); }
.cta-inner  { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-inner p  { font-size: 14px; color: rgba(255,255,255,.88); margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   PROJECT PAGES
   ═══════════════════════════════════════════════ */
.project-hero {
  position: relative; min-height: 580px;
  overflow: hidden; display: flex; align-items: center;
}
.project-hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 380px; gap: 48px;
  padding: 72px 40px 56px; width: 100%; max-width: 1440px; margin: 0 auto;
  align-items: center; min-height: 580px;
}

/* ═══════════════════════════════════════════════
   FOOTER  —  .footer > .footer-content > .footer-grid
              .footer-col | .footer-brand | .footer-bottom | .footer-legal-links
   ═══════════════════════════════════════════════ */
.footer { background: var(--navy-dark); color: #fff; padding: 52px 0 24px; }
.footer-content { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr 200px;
  gap: 32px; margin-bottom: 36px;
}
.footer-brand { }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; margin-top: 10px; max-width: 220px; }
.footer-col h5 {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .7px; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,.65);
  margin-bottom: 8px; transition: color .15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,.7);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,.7); font-size: 13px; }
.footer-contact-item a:hover { color: var(--gold); }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); transition: background .15s;
}
.social-icon:hover { background: rgba(255,255,255,.18); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,.4);
}
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal-links a { color: rgba(255,255,255,.4); font-size: 12px; transition: color .15s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.7); }

/* ═══════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
   ═══════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  animation: wapulse 2.5s infinite;
}
@keyframes wapulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 36px rgba(37,211,102,.75); }
}

/* ═══════════════════════════════════════════════
   BLOG / POST BODY
   ═══════════════════════════════════════════════ */
.post-body h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.post-body h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }
.post-body p  { font-size: 14.5px; color: #374151; line-height: 1.85; margin-bottom: 16px; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 16px; }
.post-body li { font-size: 14.5px; color: #374151; line-height: 1.75; margin-bottom: 6px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .trust-strip-inner { grid-template-columns: repeat(3,1fr); }
  .locations-grid { grid-template-columns: repeat(3,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 960px) {
  .header { padding: 0 20px; height: 60px; }
  .header nav { display: none; }
  .header-right .phone-info { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-content { grid-template-columns: 1fr; min-height: auto; padding: 40px 24px; gap: 32px; }
  .project-hero-content { grid-template-columns: 1fr; min-height: auto; padding: 40px 24px; gap: 28px; }
  .trust-strip-wrapper { margin-top: 0; padding: 0; }
  .trust-strip-inner { grid-template-columns: repeat(2,1fr); border-radius: 0; padding: 20px; gap: 16px; }
  .locations-section { padding: 40px 20px; }
  .testimonials-section { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-content { padding: 0 20px; }
}

@media (max-width: 640px) {
  .hero-left h1 { font-size: 28px; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 20px; }
  .cta-inner h2 { font-size: 22px; }
}
