/* =========================================================
   The BellaVissta — Kuber Realty
   ========================================================= */

:root {
  --bg: #0F172A;
  --bg-deep: #0B1222;
  --bg-footer: #0C1324;
  --gold: #D4AF37;
  --gold-light: #E6C65A;
  --gold-hover: #E9CF72;
  --text: #E8ECF2;
  --text-strong: #F8FAFC;
  --text-soft: #F1F5F9;
  --muted: #CBD5E1;
  --muted-2: #AEB9CA;
  --muted-3: #94A3B8;
  --muted-4: #7E8BA0;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.1);
  --line-3: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.05);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
button { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow-line { display: flex; align-items: center; gap: 12px; }
.eyebrow-line span { width: 36px; height: 1px; background: var(--gold); }

h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  text-wrap: balance;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; line-height: 1; color: var(--text-soft); }
.brand:hover { color: var(--text-soft); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-divider { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.18); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-the { font-size: 9px; letter-spacing: 0.42em; color: var(--gold); font-weight: 500; }
.brand-name { font-size: 15px; letter-spacing: 0.22em; font-weight: 600; }
.main-nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; letter-spacing: 0.08em; font-weight: 500; }
.main-nav a { color: var(--muted); transition: color 0.2s; }
.main-nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.15) 35%, rgba(15, 23, 42, 0.88) 78%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-bottom: clamp(40px, 7vh, 80px);
}
.hero-copy { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-wrap: balance;
}
.hero h1 .accent { font-weight: 600; color: var(--gold); }
.lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 580px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(212, 175, 55, 0.08); }

/* ---------- Gallery ---------- */
.gallery {
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-title { display: flex; flex-direction: column; gap: 12px; }
.section-title-narrow { max-width: 640px; }
.counter { font-size: 13px; color: var(--muted-3); letter-spacing: 0.06em; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.filter-count { font-size: 11px; opacity: 0.7; }

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.4s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide video { background: #000; object-fit: contain; }
.slide-yt { width: 100%; height: 100%; background: #000; display: flex; align-items: center; justify-content: center; }
.slide-yt iframe { height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border: 0; display: block; }

.stage-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px);
}
.stage-empty-title { font-size: 18px; color: #E2E8F0; font-weight: 500; }

.stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px clamp(16px, 3vw, 32px) clamp(16px, 2.5vw, 28px);
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  pointer-events: none;
}
.stage-caption-text { display: flex; flex-direction: column; gap: 6px; max-width: 600px; }
.tag { font-size: 11px; letter-spacing: 0.28em; color: var(--gold); font-weight: 600; }
.stage-title { font-size: clamp(18px, 2.2vw, 28px); font-weight: 500; color: var(--text-strong); }
.stage-sub { font-size: 14px; color: var(--muted); line-height: 1.5; }
.stage-controls { display: flex; gap: 8px; pointer-events: auto; }

.pill-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-3);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.pill-icon { font-size: 11px; }
.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-3);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-soft);
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s;
}
.pill-btn:hover, .round-btn:hover { border-color: var(--gold); color: var(--gold); }
.pill-btn-plain, .round-btn-plain { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; height: 42px; }
.round-btn-plain { width: 42px; font-size: 18px; }

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line-3);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-strong);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s;
}
.nav-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.stage .nav-prev { left: clamp(10px, 2vw, 22px); }
.stage .nav-next { right: clamp(10px, 2vw, 22px); }
.progress { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.5s ease; }

.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumb {
  flex: 0 0 auto;
  width: 132px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  position: relative;
  background: var(--bg-deep);
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all 0.25s;
}
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--gold); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  background: rgba(15, 23, 42, 0.35);
}

/* ---------- Highlights ---------- */
.highlights {
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s;
}
.card:hover { border-color: rgba(212, 175, 55, 0.45); transform: translateY(-3px); background: rgba(255, 255, 255, 0.07); }
.card-num { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; }
.card h3 { font-size: 21px; font-weight: 500; color: var(--text-strong); }
.card p { font-size: 14px; line-height: 1.7; color: var(--muted-2); }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-footer)); }
.contact-inner {
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-lead { font-size: 16px; line-height: 1.7; color: var(--muted-2); max-width: 560px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 12px;
  margin-top: 8px;
  align-items: start;
}
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  color: var(--text-soft);
  transition: all 0.25s;
}
a.contact-card:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); color: var(--text-soft); }
.contact-card-list { flex-direction: column; align-items: stretch; gap: 6px; }
.contact-text { display: flex; flex-direction: column; gap: 3px; }
.contact-label { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; }
.contact-value { font-size: 15px; }
.arrow { color: var(--gold); }
.phone-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text-soft);
  padding: 4px 0;
  transition: color 0.2s;
}
.phone-link:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-4);
  letter-spacing: 0.06em;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 34px; width: auto; opacity: 0.85; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.96);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 32px);
  color: #E2E8F0;
}
.lightbox-meta { display: flex; flex-direction: column; gap: 4px; }
.lightbox-title { font-size: 16px; font-weight: 500; }
.lightbox-actions { display: flex; gap: 8px; }
.lightbox-body {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 6vw, 96px) 24px;
}
.lightbox-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-media img, .lightbox-media video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox-media video { background: #000; }
.lightbox-media iframe { height: 100%; aspect-ratio: 9 / 16; max-width: 100%; border: 0; border-radius: 8px; background: #000; }
.lightbox .nav-btn { background: rgba(15, 23, 42, 0.6); backdrop-filter: none; -webkit-backdrop-filter: none; }
.lightbox .nav-prev { left: clamp(8px, 2vw, 28px); }
.lightbox .nav-next { right: clamp(8px, 2vw, 28px); }
body.no-scroll { overflow: hidden; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .main-nav { gap: 18px; }
  .nav-btn { width: 42px; height: 42px; font-size: 17px; }
  .stage { aspect-ratio: 4 / 3; }
  .stage-caption { padding-top: 40px; }
  .stage-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .card, .progress { transition: none; }
}
