/* =========================================================
   Saibaba Realty — Design Tokens
   Palette: deep ink navy + brass gold + warm stone
   Type: Fraunces (display) / Work Sans (body & UI)
   ========================================================= */
:root{
  --ink:        #14233f;
  --ink-2:      #0b1626;
  --ink-soft:   #2c3c5c;
  --gold:       #c08a35;
  --gold-light: #e4c384;
  --stone:      #f6f2ea;
  --stone-2:    #efe8da;
  --white:      #ffffff;
  --text-muted: #5b6472;
  --text-muted-light: rgba(255,255,255,.72);
  --radius: 14px;
  --shadow-soft: 0 12px 30px rgba(20,35,63,.08);
  --shadow-strong: 0 20px 45px rgba(11,22,38,.18);
}

html{scroll-behavior:smooth;}
body{
  font-family:'Work Sans', sans-serif;
  color:var(--ink);
  background:var(--stone);
  overflow-x:hidden;
}
h1,h2,h3,h4,.font-display{
  font-family:'Fraunces', serif;
  font-weight:600;
  color:var(--ink);
  letter-spacing:-0.01em;
}
a{ text-decoration:none; }
.text-muted-light{ color:var(--text-muted-light); }
.eyebrow{
  font-family:'Work Sans',sans-serif;
  font-weight:600;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
}
.section-pad{ padding:5.5rem 0; }
@media (max-width:767.98px){ .section-pad{ padding:3.25rem 0; } }

/* ---------- Buttons ---------- */
.btn-brand-gold{
  background:var(--gold);
  border:1px solid var(--gold);
  color:var(--ink-2);
  font-weight:600;
  border-radius:100px;
  padding:.6rem 1.4rem;
  transition:.2s ease;
}
.btn-brand-gold:hover{ background:#a97829; border-color:#a97829; color:var(--white); }
.btn-outline-ink{
  border:1.5px solid var(--ink);
  color:var(--ink);
  border-radius:100px;
  font-weight:600;
  padding:.6rem 1.4rem;
  transition:.2s ease;
}
.btn-outline-ink:hover{ background:var(--ink); color:var(--white); }
.btn-outline-light-gold{
  border:1.5px solid var(--gold-light);
  color:var(--white);
  border-radius:100px;
  font-weight:600;
  padding:.65rem 1.6rem;
  transition:.2s ease;
}
.btn-outline-light-gold:hover{ background:var(--gold-light); color:var(--ink-2); }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(246,242,234,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(20,35,63,.08);
}
.navbar-nav .nav-link{
  color:var(--ink); font-weight:500; padding:.5rem 1rem;
  position:relative;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover{ color:var(--gold); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:var(--ink);
  color:var(--white);
  overflow:hidden;
  padding:6.5rem 0 5rem;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 18%, rgba(224,196,132,.16), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(224,196,132,.08), transparent 40%);
  pointer-events:none;
}
.hero-mark{
  position:absolute;
  right:-90px; top:50%; transform:translateY(-50%);
  width:640px; max-width:60vw;
  opacity:.07;
  filter:brightness(0) invert(1);
  pointer-events:none;
}
.hero-ring{
  position:absolute; border:1px solid rgba(228,195,132,.25); border-radius:50%;
  pointer-events:none;
}
.hero-ring.r1{ width:520px; height:520px; right:-140px; top:-120px; }
.hero-ring.r2{ width:340px; height:340px; right:20px; bottom:-160px; }
.hero h1{
  color:var(--white);
  font-size:clamp(2.4rem, 4.4vw, 3.6rem);
  line-height:1.08;
  max-width:14ch;
}
.hero p.lead{
  color:var(--text-muted-light);
  max-width:46ch;
  font-size:1.08rem;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(228,195,132,.3);
  color:var(--gold-light);
  padding:.4rem 1rem; border-radius:100px;
  font-size:.82rem; font-weight:600; letter-spacing:.03em;
  margin-bottom:1.5rem;
}

/* ---------- Stats strip ---------- */
.stats-strip{
  background:var(--ink-2);
  color:var(--white);
  position:relative;
  z-index:2;
}
.stats-strip .stat-item{
  padding:2.2rem 1rem;
  text-align:center;
  border-left:1px solid rgba(255,255,255,.08);
}
.stats-strip .col-6:first-child .stat-item,
.stats-strip .col-lg-3:first-child .stat-item{ border-left:none; }
.stat-value{
  font-family:'Fraunces', serif;
  font-size:2.4rem;
  color:var(--gold-light);
  font-weight:600;
  line-height:1;
}
.stat-label{
  font-size:.85rem;
  color:var(--text-muted-light);
  margin-top:.4rem;
}

/* ---------- Welcome / About blurb ---------- */
.welcome-figure{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-strong);
}
.welcome-figure img{ width:100%; height:100%; object-fit:cover; }
.welcome-figure::after{
  content:"";
  position:absolute; inset:0;
  border:10px solid var(--white);
  border-radius:var(--radius);
  pointer-events:none;
}
.stat-chip{
  position:absolute;
  bottom:-24px; left:-24px;
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow-strong);
  padding:1rem 1.4rem;
  display:flex; align-items:center; gap:.8rem;
}
.stat-chip .num{
  font-family:'Fraunces',serif;
  font-size:1.8rem; color:var(--ink); font-weight:700;
}
.stat-chip .cap{ font-size:.78rem; color:var(--text-muted); max-width:12ch; line-height:1.2; }

/* ---------- Section headings ---------- */
.section-head{ max-width:640px; }
.section-head.mx-auto{ text-align:center; }

/* ---------- Project cards ---------- */
.project-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  height:100%;
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column;
}
.project-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-strong); }
.project-card .img-wrap{
  position:relative; height:220px; overflow:hidden; background:var(--stone-2);
}
.project-card .img-wrap img{
  width:100%; height:100%; object-fit:cover; transition:transform .5s ease;
}
.project-card:hover .img-wrap img{ transform:scale(1.06); }
.project-card .img-wrap.placeholder{
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-soft); font-size:2.4rem;
  background:linear-gradient(135deg, var(--stone-2), var(--stone));
}
.status-badge{
  position:absolute; top:.9rem; left:.9rem;
  font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:.32rem .75rem; border-radius:100px;
  color:var(--white);
}
.status-badge.completed{ background:#2f7d5c; }
.status-badge.ongoing{ background:var(--gold); color:var(--ink-2); }
.status-badge.upcoming{ background:var(--ink-soft); }
.project-card .card-body{ padding:1.4rem 1.4rem 1.6rem; display:flex; flex-direction:column; flex:1; }
.project-card h5{ margin-bottom:.2rem; color:var(--ink); }
.project-card .loc{
  font-size:.85rem; color:var(--text-muted);
  display:flex; gap:.4rem; align-items:flex-start; margin-bottom:.6rem;
}
.project-card .config-pill{
  display:inline-block;
  font-size:.78rem; font-weight:600;
  background:var(--stone); color:var(--ink);
  border-radius:100px; padding:.25rem .75rem;
  margin-bottom:.8rem; width:fit-content;
}
.project-card p.blurb{ font-size:.9rem; color:var(--text-muted); flex:1; }
.project-card .card-cta{
  margin-top:.8rem; font-weight:600; font-size:.9rem; color:var(--ink);
  display:inline-flex; align-items:center; gap:.4rem;
}
.project-card .card-cta i{ transition:transform .2s ease; }
.project-card:hover .card-cta i{ transform:translateX(4px); }

/* Filter tabs (Projects page) */
.filter-tabs{
  display:flex; flex-wrap:wrap; gap:.6rem;
}
.filter-tabs button{
  border:1.5px solid rgba(20,35,63,.15);
  background:var(--white);
  color:var(--ink);
  border-radius:100px;
  padding:.55rem 1.3rem;
  font-weight:600; font-size:.9rem;
  transition:.2s ease;
}
.filter-tabs button.active,
.filter-tabs button:hover{
  background:var(--ink); border-color:var(--ink); color:var(--white);
}
.filter-tabs button .count{
  font-size:.76rem; opacity:.7; margin-left:.35rem;
}

/* ---------- Verticals / trust strip ---------- */
.vertical-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:2rem 1.6rem;
  height:100%;
  box-shadow:var(--shadow-soft);
}
.vertical-card i{ font-size:1.9rem; color:var(--gold); }

/* ---------- Timeline (About page) ---------- */
.timeline{ position:relative; padding-left:2.2rem; }
.timeline::before{
  content:""; position:absolute; left:7px; top:6px; bottom:6px; width:2px;
  background:linear-gradient(var(--gold), var(--stone-2));
}
.timeline-item{ position:relative; padding-bottom:2.1rem; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-2.2rem; top:.35rem;
  width:16px; height:16px; border-radius:50%;
  background:var(--gold); border:3px solid var(--stone);
  box-shadow:0 0 0 2px var(--gold);
}
.timeline-year{
  font-family:'Fraunces',serif; font-weight:700; color:var(--ink); font-size:1.15rem;
}

/* ---------- Team cards ---------- */
.team-card{
  background:var(--white); border-radius:var(--radius);
  padding:1.6rem; text-align:center; box-shadow:var(--shadow-soft); height:100%;
}
.team-avatar{
  width:78px; height:78px; border-radius:50%;
  background:var(--ink);
  color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-size:1.5rem; font-weight:700;
  margin:0 auto 1rem;
}

/* ---------- Instagram / Reel section ---------- */
.reel-section{ background:var(--ink); color:var(--white); }
.reel-frame{
  width:100%; max-width:400px; margin:0 auto;
  border-radius:22px; overflow:hidden;
  box-shadow:var(--shadow-strong);
  background:#000;
  min-height:200px;
}
.reel-frame iframe{ border:0 !important; }
.reel-frame video{
  width:100%; height:100%; object-fit:cover; display:block;
}
.reel-placeholder{
  width:100%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:rgba(255,255,255,.65);
  padding:2rem; text-align:center; gap:.75rem;
  background:linear-gradient(160deg, #1c2c4a, #0b1626);
}
.reel-placeholder i{ font-size:2.6rem; color:var(--gold-light); }

/* ---------- Contact page ---------- */
.contact-card{
  background:var(--white); border-radius:var(--radius);
  padding:1.6rem; box-shadow:var(--shadow-soft); height:100%;
}
.contact-card i{ color:var(--gold); font-size:1.4rem; }
.form-control, .form-select{
  border-radius:10px; border:1.5px solid rgba(20,35,63,.14); padding:.65rem .9rem;
}
.form-control:focus, .form-select:focus{
  border-color:var(--gold); box-shadow:0 0 0 .2rem rgba(192,138,53,.15);
}
.map-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-soft); }
.map-frame iframe{ width:100%; height:100%; border:0; min-height:340px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:var(--text-muted-light); }
.footer-cta{ background:var(--ink-2); padding:2.4rem 0; }
.footer-cta h3{ color:var(--white); }
.newsletter-form .form-control{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18); color:var(--white); }
.newsletter-form .form-control::placeholder{ color:rgba(255,255,255,.5); }
.footer-main{ padding:3.4rem 0 2rem; }
.footer-logo{ filter:brightness(0) invert(1); opacity:.92; }
.footer-heading{ color:var(--white); font-weight:700; margin-bottom:1rem; font-size:.95rem; letter-spacing:.03em; text-transform:uppercase; }
.footer-links li{ margin-bottom:.55rem; }
.footer-links a{ color:var(--text-muted-light); }
.footer-links a:hover{ color:var(--gold-light); }
.social-links a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
}
.social-links a:hover{ background:var(--gold); border-color:var(--gold); color:var(--ink-2); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:1.2rem 0; font-size:.85rem;
}

/* ---------- Mobile call FAB ---------- */
.mobile-call-fab{
  position:fixed; bottom:1.2rem; right:1.2rem; z-index:1200;
  width:54px; height:54px; border-radius:50%;
  background:var(--gold); color:var(--ink-2);
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; box-shadow:var(--shadow-strong);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:var(--ink); color:var(--white);
  padding:3.6rem 0 3rem; position:relative; overflow:hidden;
}
.page-hero .hero-mark{ width:420px; opacity:.06; }
.breadcrumb-trail{ color:var(--gold-light); font-size:.85rem; font-weight:600; }
.breadcrumb-trail a{ color:var(--gold-light); }

/* ---------- Project Detail Page ---------- */
.project-banner{
  position:relative; height:52vh; min-height:380px; max-height:560px;
  overflow:hidden; background:var(--ink);
}
.project-banner .banner-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.project-banner .banner-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,22,38,.35) 0%, rgba(11,22,38,.55) 55%, rgba(11,22,38,.92) 100%);
}
.project-banner h1{ color:var(--white); font-size:clamp(2rem,4vw,3rem); }

.quick-facts{
  background:var(--white); border-bottom:1px solid rgba(20,35,63,.08);
  box-shadow:0 6px 20px rgba(20,35,63,.06);
  position:relative; z-index:3;
}
.quick-facts .fact{ padding:1.4rem 1rem; border-left:1px solid rgba(20,35,63,.08); }
.quick-facts .col-6:first-child .fact, .quick-facts .col-md-3:first-child .fact{ border-left:none; }
.fact-label{ font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:.3rem; }
.fact-value{ font-family:'Fraunces',serif; font-weight:600; font-size:1.05rem; color:var(--ink); }

.highlight-chip{
  display:flex; align-items:center; gap:.8rem;
  background:var(--white); border-radius:12px; padding:1rem 1.1rem;
  box-shadow:var(--shadow-soft); height:100%;
}
.highlight-chip i{ font-size:1.3rem; color:var(--gold); flex-shrink:0; }
.highlight-chip span{ font-size:.92rem; color:var(--ink); font-weight:500; }

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:140px;
  gap:.6rem;
}
.gallery-item{
  position:relative; border-radius:12px; overflow:hidden; grid-column:span 2;
  cursor:pointer;
}
.gallery-zoom-hint{
  position:absolute; top:.6rem; right:.6rem;
  width:34px; height:34px; border-radius:50%;
  background:rgba(11,22,38,.55); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:.95rem; opacity:0; transition:opacity .2s ease;
}
.gallery-item:hover .gallery-zoom-hint{ opacity:1; }
.gallery-item.gallery-item-large{ grid-column:span 4; grid-row:span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img{ transform:scale(1.08); }
.gallery-caption{
  position:absolute; left:0; right:0; bottom:0;
  background:linear-gradient(180deg, transparent, rgba(11,22,38,.85));
  color:var(--white); font-size:.78rem; padding:1.4rem .7rem .5rem;
}
@media (max-width:575.98px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:130px; }
  .gallery-item{ grid-column:span 1; }
  .gallery-item.gallery-item-large{ grid-column:span 2; grid-row:span 1; }
}

.amenity-chip{
  background:var(--stone); color:var(--ink);
  border-radius:100px; padding:.4rem .9rem; font-size:.85rem;
  display:inline-flex; align-items:center; gap:.4rem;
}
.amenity-chip i{ color:var(--gold); }

.spec-tabs .nav-link{
  border-radius:100px; color:var(--ink); font-weight:600; font-size:.88rem;
  border:1.5px solid rgba(20,35,63,.15); margin:0 .35rem .5rem 0; padding:.45rem 1.1rem;
}
.spec-tabs .nav-link.active{ background:var(--ink); color:var(--white); border-color:var(--ink); }
.spec-tab-content{ background:var(--white); border-radius:var(--radius); padding:1.6rem; box-shadow:var(--shadow-soft); }
.spec-list{ list-style:none; padding:0; margin:0; columns:1; }
@media (min-width:576px){ .spec-list{ columns:2; column-gap:2rem; } }
.spec-list li{
  font-size:.9rem; color:var(--text-muted); padding:.4rem 0 .4rem 1.4rem; position:relative;
  break-inside:avoid;
}
.spec-list li::before{
  content:"—"; position:absolute; left:0; color:var(--gold); font-weight:700;
}

.accordion-item{ border:none; margin-bottom:.6rem; border-radius:12px !important; overflow:hidden; }
.accordion-button{
  font-family:'Fraunces',serif; font-weight:600; color:var(--ink); background:var(--white);
  box-shadow:var(--shadow-soft);
}
.accordion-button:not(.collapsed){ background:var(--ink); color:var(--white); box-shadow:none; }
.accordion-button:not(.collapsed)::after{ filter:brightness(0) invert(1); }
.accordion-button:focus{ box-shadow:none; border-color:transparent; }
.accordion-body{ background:var(--white); }

.distance-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:.7rem 1rem; background:var(--white); border-radius:10px; box-shadow:var(--shadow-soft);
  font-size:.9rem; margin-bottom:.5rem;
}

.sticky-cta{
  background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow-strong);
  padding:1.6rem; position:sticky; top:90px;
}
.text-ink{ color:var(--ink); font-weight:500; }

/* ---------- Home page project section tabs ---------- */
.home-project-tabs .nav-link{
  border-radius:100px; color:var(--ink); font-weight:600;
  border:1.5px solid rgba(20,35,63,.15); padding:.55rem 1.4rem; margin-right:.6rem;
}
.home-project-tabs .nav-link.active{ background:var(--ink); color:var(--white); border-color:var(--ink); }

/* ---------- Lightbox (project gallery) ---------- */
.lightbox{
  position:fixed; inset:0; z-index:2000;
  background:rgba(11,22,38,.94);
  display:none;
  align-items:center; justify-content:center;
  padding:2rem;
}
.lightbox.is-open{ display:flex; }
.lightbox-content{
  max-width:min(92vw, 1100px); max-height:88vh;
  display:flex; flex-direction:column; align-items:center; gap:.9rem;
}
.lightbox-content img{
  max-width:100%; max-height:78vh; object-fit:contain;
  border-radius:12px; box-shadow:var(--shadow-strong);
  background:#000;
}
.lightbox-caption{
  color:var(--white); font-size:.95rem; text-align:center; margin:0;
}
.lightbox-close{
  position:absolute; top:1.2rem; right:1.4rem;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:var(--white); font-size:1.1rem;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-close:hover{ background:var(--gold); border-color:var(--gold); color:var(--ink-2); }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px; border-radius:50%;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:var(--white); font-size:1.3rem;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-nav:hover{ background:var(--gold); border-color:var(--gold); color:var(--ink-2); }
.lightbox-prev{ left:1rem; }
.lightbox-next{ right:1rem; }
@media (max-width:575.98px){
  .lightbox{ padding:1rem; }
  .lightbox-nav{ width:42px; height:42px; font-size:1.1rem; }
  .lightbox-prev{ left:.4rem; }
  .lightbox-next{ right:.4rem; }
  .lightbox-close{ top:.7rem; right:.7rem; width:38px; height:38px; }
}

/* Utility */
.rounded-image{ border-radius:var(--radius); }
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
