@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --primary: #a42247;
  --primary-dark: #7c1936;
  --primary-light: #c94a70;
  --gold: #f8da8f;
  --ink: #221016;
  --muted: #6b5a60;
  --bg-soft: #fbf3f0;
  --border: #eadfe2;
  --radius: 16px;
  --radius-lg: 26px;
  --font-body: 'Mulish', sans-serif;
  --font-head: 'Cormorant Garamond', serif;
  --shadow-soft: 0 20px 45px -25px rgba(164, 34, 71, 0.35);
  --shadow-lift: 0 30px 60px -20px rgba(34, 16, 22, 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  overflow-x: hidden;
  max-width: 100%;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
p { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons (override Bootstrap's default blue theme) ---------- */
.btn-brand-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: 100px; padding: 12px 28px;
  font-weight: 700; box-shadow: 0 12px 24px -10px rgba(164, 34, 71, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-brand-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(164, 34, 71, 0.65); }
.btn-brand-ghost {
  background: transparent; border: 2px solid var(--primary); color: var(--primary);
  border-radius: 100px; padding: 10px 26px; font-weight: 700;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-brand-ghost:hover { background: var(--bg-soft); color: var(--primary); transform: translateY(-2px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); border-color: var(--border); box-shadow: 0 10px 30px -20px rgba(34, 16, 22, 0.4); }
.logo-img { height: 44px; width: auto; }
.nav-link-brand { font-weight: 600; color: var(--ink) !important; position: relative; }
.nav-link-brand::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-link-brand:hover::after { transform: scaleX(1); }
.navbar-toggler { border: none !important; box-shadow: none !important; }

/* ---------- Hero (form first) ---------- */
.hero-top { position: relative; padding: 44px 0 40px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; opacity: .5; animation: float 9s ease-in-out infinite; }
.hero-orb-1 { width: 260px; height: 260px; background: var(--gold); top: -60px; right: 8%; }
.hero-orb-2 { width: 200px; height: 200px; background: var(--primary-light); bottom: -20px; left: 8%; animation-delay: -4s; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--gold); padding: 7px 18px 7px 14px; border-radius: 100px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 18px; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s ease-in-out infinite; }
.hero-sub { font-size: 1.15rem; color: var(--primary); font-weight: 700; margin-bottom: 28px; }
.hero-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); text-align: left; }
.hero-form-card-top { max-width: 460px; }

/* ---------- Desktop hero (side-by-side, over background photo) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 90px 0 70px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(34,16,22,.88) 0%, rgba(34,16,22,.72) 45%, rgba(34,16,22,.35) 100%); }
.hero .hero-badge { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28); }
.hero h1 { color: #fff; }
.hero .hero-sub { color: var(--gold); }
.hero .hero-meta { margin-top: 8px; }
.hero-chip-inline-light { background: rgba(255,255,255,.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.24); border-radius: 14px; padding: 9px 16px; }
.hero-chip-inline-light b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--gold); line-height: 1.1; }
.hero-chip-inline-light span { font-size: .68rem; color: rgba(255,255,255,.85); }
.hero .hero-scroll-cue { display: flex; }

/* ---------- Hero banner (image, sits below the form) ---------- */
.hero-banner { position: relative; }
.hero-banner-frame { position: relative; height: clamp(300px, 42vw, 460px); overflow: hidden; }
.hero-banner-frame picture, .hero-banner-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(0deg, rgba(34,16,22,.88) 0%, rgba(34,16,22,.45) 48%, rgba(34,16,22,0) 75%);
}
.hero-banner-overlay .container { padding-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-meta-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.hero-meta-value { display: block; font-weight: 700; margin-top: 4px; color: #fff; }
.hero-banner-chips { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.hero-chip-inline { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 9px 16px; }
.hero-chip-inline b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--gold); line-height: 1.1; }
.hero-chip-inline span { font-size: .68rem; color: rgba(255,255,255,.85); }
.hero-scroll-cue { display: none; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: .72rem; text-decoration: none; z-index: 2; }
.hero-scroll-wheel { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.85); border-radius: 12px; position: relative; }
.hero-scroll-wheel::after { content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); animation: scrollDot 1.6s ease-in-out infinite; }
@media (min-width: 900px) { .hero-scroll-cue { display: flex; } }

/* ---------- Lead form ---------- */
.lead-form-field { position: relative; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.lead-form-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(164,34,71,.12); }
.lead-form-field input { width: 100%; border: none; background: transparent; padding: 13px 14px; font-family: var(--font-body); font-size: .95rem; outline: none; }
.lead-form-field input.has-prefix { padding-left: 10px; }
.lead-form-field-phone { padding-left: 2px; }
.phone-code-select {
  flex-shrink: 0; border: none; background: transparent; outline: none;
  padding: 13px 8px 13px 12px; font-family: var(--font-body); font-size: .95rem;
  font-weight: 600; color: var(--ink); max-width: 108px;
  border-right: 1px solid var(--border);
}
.lead-form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.lead-form-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--muted); }
.lead-form-error { color: var(--primary); font-size: .85rem; margin: 0; }
.lead-form-success { text-align: center; padding: 24px 0; animation: popIn .4s var(--ease); }
.lead-form-success h3 { color: var(--primary); }

/* ---------- About ---------- */
.about { padding: 90px 0; }
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-visual-badge { position: absolute; bottom: 18px; left: 18px; background: rgba(34,16,22,.82); backdrop-filter: blur(6px); color: #fff; border-radius: 14px; padding: 12px 18px; }
.about-visual-badge b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.about-visual-badge span { font-size: .72rem; opacity: .85; }

/* ---------- Highlights ---------- */
.highlights { padding: 90px 0; background: var(--bg-soft); }
.highlight-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.highlight-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.highlight-card h3 { color: var(--primary); font-size: 1.1rem; }

/* ---------- Configuration ---------- */
.configuration { padding: 90px 0; }
.config-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.config-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.config-card-media { aspect-ratio: 16/10; overflow: hidden; }
.config-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.config-card:hover .config-card-media img { transform: scale(1.06); }
.config-card-body { padding: 26px; text-align: center; }

/* ---------- Amenities ---------- */
.amenities { padding: 90px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.amenities-orb { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--gold); opacity: .25; filter: blur(70px); top: -120px; left: -100px; }
.amenity-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 12px; text-align: center; font-size: .82rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.amenity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); background: var(--primary); color: #fff; }
.amenity-card:hover .amenity-icon { filter: brightness(0) invert(1); }
.amenity-icon { width: 34px; height: 34px; }

/* ---------- Gallery ---------- */
.gallery { padding: 90px 0; }
.gallery-tab { border: 1px solid var(--border); background: #fff; padding: 10px 22px; border-radius: 100px; font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--muted); transition: all .2s var(--ease); }
.gallery-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-item { border: none; padding: 0; cursor: pointer; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); width: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(17,8,11,.92); display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; object-fit: contain; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; border-radius: 50%; cursor: pointer; }
.lightbox-close { top: 20px; right: 24px; width: 42px; height: 42px; font-size: 1.6rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 1.8rem; }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }

/* ---------- Master plan ---------- */
.masterplan { padding: 90px 0; background: var(--bg-soft); }
.masterplan-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.masterplan-frame img { width: 100%; display: block; transition: filter .4s ease; }
.masterplan-frame img.is-blurred { filter: blur(16px) saturate(.8); transform: scale(1.02); }
.masterplan-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(34,16,22,.35); text-align: center; padding: 20px; }
.masterplan-gate p { color: #fff; font-weight: 700; font-size: 1.05rem; max-width: 320px; }

/* ---------- Location ---------- */
.location { padding: 90px 0; }
.landmark-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; height: 100%; transition: border-color .2s ease, transform .2s ease; }
.landmark-item:hover { border-color: var(--primary); transform: translateX(4px); }
.landmark-pin { width: 20px; height: 20px; flex-shrink: 0; }
.landmark-name { flex: 1; font-weight: 600; color: var(--ink); }
.landmark-distance { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 54px 0; color: #fff; }
.stat-value { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .85rem; opacity: .9; }

/* ---------- CTA band ---------- */
.cta-band { padding: 90px 0; }
.cta-band-inner { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; min-height: 320px; display: flex; align-items: center; }
.cta-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band-inner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(164,34,71,.92), rgba(124,25,54,.94)); }
.cta-band-content { padding: 56px 32px; text-align: center; width: 100%; }
.cta-band-content h2 { color: #fff; } .cta-band-content p { color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 44px 0 100px; text-align: center; }
.footer-logo { height: 40px; margin: 0 auto 16px; filter: brightness(0) invert(1); }
.site-footer p { color: rgba(255,255,255,.65); font-size: .85rem; }
.footer-credit { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: rgba(255,255,255,.55); }
.footer-credit-logo { height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 6px 10px; }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.sticky-bar-call, .sticky-bar-enquire { flex: 1; text-align: center; padding: 15px 10px; font-weight: 700; border: none; cursor: pointer; font-family: var(--font-body); font-size: .92rem; text-decoration: none; }
.sticky-bar-call { background: var(--bg-soft); color: var(--primary); }
.sticky-bar-enquire { background: var(--primary); color: #fff; }
@media (min-width: 992px) { .sticky-bar { display: none; } }
@media (max-width: 991px) { body { padding-bottom: 56px; } }

/* ---------- Floating actions ---------- */
.floating-actions { position: fixed; right: 18px; bottom: 76px; z-index: 45; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 992px) { .floating-actions { bottom: 24px; } }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; box-shadow: var(--shadow-lift); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-whatsapp { background: #25d366; color: #fff; position: relative; z-index: 1; animation: whatsappBlink 2.4s ease-in-out infinite; }
.float-whatsapp svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.float-whatsapp-ring { position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: 0; pointer-events: none; animation: whatsappPulseRing 2.4s ease-out infinite; }
@keyframes whatsappBlink { 0%, 100% { box-shadow: var(--shadow-lift); } 50% { box-shadow: 0 0 0 7px rgba(37,211,102,.4), var(--shadow-lift); } }
@keyframes whatsappPulseRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .float-whatsapp, .float-whatsapp-ring { animation: none; }
}
.float-top { background: var(--ink); color: var(--gold); opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-top svg { width: 20px; height: 20px; }

/* ---------- Enquiry modal (Bootstrap modal content overrides) ---------- */
.modal-content.brand { border-radius: var(--radius-lg); border: none; }
