/* =========================================================
   common.css
   Shared across EVERY page: theme tokens, header, side drawer,
   footer, newsletter strip, reveal animation, shared buttons.
   Page-specific sections (hero, property cards, filter bar,
   statement/video block, etc.) live in that page's own CSS file.
   ========================================================= */

:root{
  --ink:#141210;
  --panel:#1c1713;
  --panel-2:#241d17;
  --brick:#c06a3f;
  --brick-soft:#e39868;
  --sand:#f2ece1;
  --sand-dim:#b9ad9a;
  --stone:#efeae0;
  --gold-soft:rgba(232,193,90,.16);
  --line:rgba(242,236,225,0.14);
  --ease:cubic-bezier(.22,.85,.32,1);
  --dark:#141414;
  --dark-2:#1c1c1c;
  --gold:#e8c15a;
  --muted:#6c6c6c;
  --radius:10px;
  --font-display:'Georgia','Times New Roman',serif;

  /* ---- Theme tokens (flip between light/dark) ---- */
  --bg-page:var(--stone);
  --text-page:var(--ink);
  --text-muted-page:#6b6155;
  --border-soft:rgba(20,16,13,.18);
  --card-bg:#ffffff;
  --card-line:rgba(20,16,13,.08);
}

/* ---- Dark theme overrides ---- */
[data-theme="dark"]{
  --bg-page:#121110;
  --text-page:#f2ece1;
  --text-muted-page:#b9ad9a;
  --border-soft:rgba(242,236,225,.22);
  --card-bg:#1c1713;
  --card-line:rgba(242,236,225,.1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--bg-page);color:var(--text-page);font-family:'Manrope',sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased;transition:background .4s var(--ease), color .4s var(--ease);}
h1,h2,h3{font-family:'Fraunces',serif;font-weight:500;letter-spacing:-0.01em;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
button{font-family:inherit;}
::selection{background:var(--brick);color:var(--ink);}
a:focus-visible, button:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}

/* ============ Scroll reveal (used on any page) ============ */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .9s var(--ease), transform .9s var(--ease);}
.reveal.in{opacity:1;transform:translateY(0);}
.stagger-item{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease), transform .7s var(--ease);}
.reveal-stagger.in .stagger-item{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){.reveal,.reveal *,.stagger-item{transition:none !important;opacity:1 !important;transform:none !important;}html{scroll-behavior:auto;}}

/* ============ GOLD SHINE (reusable) ============ */
.gold-shine-text{
  background:linear-gradient(100deg, #a9793a 0%, #f4d998 22%, #c9a15a 45%, #fff2c9 60%, #a9793a 78%, #f0d290 100%);
  background-size:220% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
}
.nav-link-plain{
  font-size:.92rem; position:relative; padding-bottom:2px; font-weight:500; letter-spacing:.2px;
}
.nav-link-plain{ background:linear-gradient(100deg, #a9793a 0%, #f4d998 22%, #c9a15a 45%, #fff2c9 60%, #a9793a 78%, #f0d290 100%); background-size:220% auto; -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; animation:goldShine 4.5s linear infinite; }
.nav-link-plain::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:1px;background:var(--gold);transition:width .3s ease;}
.nav-link-plain:hover::after{width:100%;}
@keyframes goldShine{0%{background-position:0% center;}100%{background-position:220% center;}}

/* Gold shine sweep for solid/outline buttons — triggers on hover */
.btn-gold-shine{
  position:relative; overflow:hidden; isolation:isolate;
  transition:border-color .35s var(--ease), color .35s var(--ease), transform .3s var(--ease);
}
.btn-gold-shine::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:linear-gradient(115deg, transparent 20%, rgba(255,255,255,.55) 42%, var(--gold) 50%, rgba(255,255,255,.55) 58%, transparent 80%);
  background-size:250% 100%;
  background-position:150% 0;
  opacity:0;
  transition:opacity .3s ease, background-position .7s var(--ease);
}
.btn-gold-shine:hover::before{opacity:.9; background-position:-50% 0;}
.btn-gold-shine:hover{border-color:var(--gold); transform:translateY(-1px);}

.pill-btn{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid var(--border-soft); border-radius:40px; padding:12px 22px;
  font-size:13px; font-weight:700; white-space:nowrap; background:none; cursor:pointer; color:var(--text-page);
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.pill-btn svg{width:13px; height:13px; transition:transform .3s var(--ease);}
.pill-btn:hover svg{transform:translateX(3px);}
.pill-btn.on-dark{border-color:rgba(255,255,255,.25); color:#fff;}

.sec-head h2{font-size:clamp(26px,3vw,38px);}
.sec-head p{color:var(--text-muted-page); font-size:14.5px; margin-top:8px;}

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1030; padding:20px 0;
  background:transparent;
  box-shadow:none;
  transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled{
  padding:12px 0;
  background:rgba(20,18,16,.86);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  border-bottom:1px solid rgba(232,193,90,.15);
}
.logo-img{height:44px; width:auto; max-width:220px; object-fit:contain; display:block; transition:height .35s var(--ease);}
.site-header.is-scrolled .logo-img{height:36px;}
.site-header nav{display:flex; align-items:center; gap:14px; flex-shrink:0;}

.burger, .theme-toggle{
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  cursor:pointer; padding:10px; width:42px; height:42px;
  border:1px solid rgba(255,255,255,.4); border-radius:50%;
  background:transparent;
  transition:border-color .3s ease, background .3s ease; flex-shrink:0;
}
.burger:hover, .theme-toggle:hover{border-color:var(--gold); background:rgba(232,193,90,.1);}
.burger span{width:18px; height:1.5px; background:#fff; display:block; margin:0 auto; transition:transform .35s cubic-bezier(.65,0,.35,1), opacity .25s ease, background .3s ease;}
.burger.active span{background:var(--gold);}
.burger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.burger.active span:nth-child(2){opacity:0;}
.burger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

.theme-toggle i{color:#fff; font-size:1rem; transition:color .3s ease, transform .4s var(--ease);}
.theme-toggle:hover i{color:var(--gold); transform:rotate(20deg);}

/* Theme toggle used on drawer (dark surface, not overlaying an image) */
.theme-toggle.drawer-toggle{
  border-color:#3a3a3a; width:auto; height:auto; flex-direction:row; gap:8px;
  padding:10px 16px; border-radius:30px; font-size:.85rem; color:#fff;
}
.theme-toggle.drawer-toggle i{font-size:.95rem;}
.theme-toggle.drawer-toggle span.tt-label{font-family:'Manrope',sans-serif; font-weight:600; letter-spacing:.2px;}

/* ---------- Side drawer (Bootstrap Offcanvas, custom themed) ---------- */
.offcanvas.Vivek-drawer{
  background:var(--ink); color:#fff; border-left:1px solid #2b2b2b; width:min(400px,88vw);
}
.drawer-close{
  width:42px; height:42px; border-radius:50%; border:1px solid #3a3a3a; background:transparent; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; cursor:pointer;
  transition:border-color .3s, transform .3s, color .3s;
}
.drawer-close:hover{border-color:var(--gold); color:var(--gold); transform:rotate(90deg);}
.drawer-menu{list-style:none; padding:0; margin:1.6rem 0 auto;}
.drawer-menu li{border-bottom:1px solid #2a2a2a;}
.drawer-menu a{
  display:flex; align-items:center; justify-content:space-between; padding:1rem .1rem;
  font-family:'Fraunces',serif; font-size:1.2rem; color:#fff; transition:color .3s ease;
}
.drawer-menu a .arrow{font-size:1rem; opacity:.5; transition:transform .3s ease, opacity .3s ease;}
.drawer-menu a:hover{color:var(--gold);}
.drawer-menu a:hover .arrow{transform:translateX(5px); opacity:1;}
.drawer-menu a.current{color:var(--gold);}
.drawer-foot{padding-top:1.4rem; color:#999; font-size:.85rem; line-height:1.6;}
.drawer-foot .social{display:flex; gap:.6rem; margin-top:1rem;}
.drawer-foot .social a{
  width:36px; height:36px; border:1px solid #3a3a3a; border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:#fff;
  transition:border-color .3s, background .3s, color .3s;
}
.drawer-foot .social a svg{width:14px; height:14px;}
.drawer-foot .social a:hover{border-color:var(--gold); background:var(--gold-soft); color:var(--gold);}

/* ============ TAGLINE STRIP ============ */
.tagline-strip{background:var(--ink); padding:70px 0 90px; text-align:center;}
.tagline-strip p{
  max-width:760px; margin:0 auto; color:var(--sand-dim); font-size:clamp(16px,1.8vw,21px);
  font-family:'Fraunces',serif; font-weight:300; font-style:italic; line-height:1.6;
}
.tagline-strip .rule{width:1px; height:44px; background:linear-gradient(var(--brick),transparent); margin:0 auto 30px;}

/* ============ NEWSLETTER ============ */
.newsletter-section{
  background:var(--dark);
  color:#fff;
  padding:70px 0 0;
}
.newsletter-section h2{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(28px,4vw,42px);
  margin:0;
}
.newsletter-form{
  display:flex;
  gap:12px;
  max-width:560px;
  width:100%;
}
.newsletter-form input{
  flex:1;
  background:transparent;
  border:1px solid #555;
  border-radius:30px;
  padding:15px 22px;
  color:#fff;
  outline:none;
  font-size:14.5px;
}
.newsletter-form input::placeholder{color:#999;}
.newsletter-form input:focus{border-color:var(--gold);}
.newsletter-form button{
  background:#e9e9e9;
  color:#111;
  border:none;
  border-radius:30px;
  padding:15px 26px;
  font-size:14.5px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  transition:background .2s ease, color .2s ease;
}
.newsletter-form button:hover{background:var(--gold); color:#111;}
.global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.25rem;
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  font-size: .92rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
}
.global-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.global-toast.success { border-left: 4px solid #2ecc71; }
.global-toast.error   { border-left: 4px solid #e74c3c; }
.global-toast .toast-icon { font-size: 1.1rem; line-height: 1; }
/* ============ FOOTER ============ */
footer{border-top:1px solid #2b2b2b;margin-top:36px;padding-top:34px;}
.footer-links a{font-size:14.5px;color:#ddd; transition:color .2s ease;}
.footer-links a:hover{color:var(--gold);text-decoration:underline;}
.footer-address{color:#999;font-size:13.5px;}
.socials a{
  width:36px;height:36px;border-radius:50%;
  border:1px solid #444;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  transition:background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.socials a:hover{background:var(--gold);color:#111;border-color:var(--gold);transform:translateY(-3px);}
.socials svg{width:15px;height:15px;}
.copyright{color:#888;font-size:13px;}

@media (max-width: 991px){
  .action-rail{display:none;}
}
@media (max-width: 767px){
  .logo-img{height:36px;}
}
