/* ==========================================================================
   TRUE GRUHA PRIVATE LIMITED — main stylesheet
   Plain CSS, no frameworks. Mobile-first. Dark theme is default.
   ========================================================================== */

/* ---------- Theme tokens ---------- */
:root,
[data-theme="dark"] {
  --bg: #0d0d0d;
  --bg-alt: #151515;
  --surface: #1a1a1a;
  --surface-2: #1f1f1f;
  --border: #2c2c2c;
  --text: #f2ede2;
  --text-muted: #b3ada0;
  --gold: #c9a227;
  --gold-light: #f4d675;
  --gold-dark: #8a6a10;
  --gradient-gold: linear-gradient(135deg, #f4d675 0%, #c9a227 50%, #8a6a10 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 12px 32px rgba(201, 162, 39, 0.18), 0 10px 30px rgba(0, 0, 0, 0.4);
  --overlay: rgba(0, 0, 0, 0.55);
  --pattern:
    radial-gradient(circle at 15% 12%, rgba(201, 162, 39, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(201, 162, 39, 0.07) 0%, transparent 38%),
    radial-gradient(circle at 50% 90%, rgba(201, 162, 39, 0.05) 0%, transparent 45%),
    repeating-linear-gradient(45deg, rgba(244, 214, 117, 0.025) 0px, rgba(244, 214, 117, 0.025) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(-45deg, rgba(244, 214, 117, 0.025) 0px, rgba(244, 214, 117, 0.025) 1px, transparent 1px, transparent 26px);
}

[data-theme="light"] {
  --bg: #faf7f0;
  --bg-alt: #f2ecdd;
  --surface: #ffffff;
  --surface-2: #f6f1e6;
  --border: #e3d9bf;
  --text: #201c12;
  --text-muted: #5c5546;
  --gold: #a9821c;
  --gold-light: #c9a227;
  --gold-dark: #7a5e12;
  --gradient-gold: linear-gradient(135deg, #dcb84a 0%, #a9821c 50%, #7a5e12 100%);
  --shadow: 0 10px 30px rgba(60, 45, 10, 0.12);
  --shadow-gold: 0 12px 32px rgba(169, 130, 28, 0.15), 0 10px 30px rgba(60, 45, 10, 0.1);
  --overlay: rgba(20, 15, 5, 0.45);
  --pattern:
    radial-gradient(circle at 15% 12%, rgba(169, 130, 28, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(169, 130, 28, 0.06) 0%, transparent 38%),
    radial-gradient(circle at 50% 90%, rgba(169, 130, 28, 0.05) 0%, transparent 45%),
    repeating-linear-gradient(45deg, rgba(169, 130, 28, 0.03) 0px, rgba(169, 130, 28, 0.03) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(-45deg, rgba(169, 130, 28, 0.03) 0px, rgba(169, 130, 28, 0.03) 1px, transparent 1px, transparent 26px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image: var(--pattern);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.gold-text { color: var(--gold); }
.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.divider {
  width: 64px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 14px 0 24px;
  border-radius: 2px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary {
  background: var(--gradient-gold);
  color: #14110a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201, 162, 39, 0.35); }
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #14110a; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
}
[data-theme="light"] .site-header { background: rgba(250, 247, 240, 0.9); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.brand-name {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--text);
}
.brand-name span { color: var(--gold); }

.nav-links {
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  /* padding: 10px 20px 24px; */
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: max-height 0.35s ease;
}
.nav-links.open { max-height: 420px; }
.nav-links a {
  display: block;
  padding: 12px 6px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.nav-links a.active, .nav-links a:hover { color: var(--gold); }
.nav-cta { display: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.hamburger {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 20px; height: 2px; background: var(--gold); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, var(--bg) 96%);
  z-index: 1;
}
[data-theme="light"] .hero::after {
  background: linear-gradient(180deg, rgba(20,15,5,0.35) 0%, var(--bg) 96%);
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(201, 162, 39, 0.45), 0 0 70px rgba(201, 162, 39, 0.2);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: charIn 0.6s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes charIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  color: #fdfaf0;
  font-style: italic;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.05s;
}
.hero-tagline::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-top: 16px;
}
.hero-desc {
  color: #ded7c6;
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.3s;
}
.hero .btn-row { opacity: 0; animation: fadeUp 0.8s ease forwards; animation-delay: 1.5s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.7s;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}
.stat-num { font-family: Georgia, serif; font-size: 1.6rem; color: var(--gold); text-shadow: 0 0 18px rgba(201, 162, 39, 0.35); }
.stat-box { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.stat-box:hover { border-color: var(--gold-dark); box-shadow: var(--shadow-gold); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); border-color: var(--gold-dark); }

.service-card { padding: 30px 24px; text-align: left; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: #14110a;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

.property-card .prop-img-wrap { position: relative; }
.property-card img { height: 220px; width: 100%; object-fit: cover; }
.prop-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gradient-gold);
  color: #14110a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.property-card .prop-body { padding: 20px; }
.property-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.prop-loc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.prop-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px; margin-top: 12px;
}
.prop-price { color: var(--gold); font-weight: 700; font-size: 1rem; margin-top: 10px; }

/* ---------- About / split sections ---------- */
.split {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
.split img { border-radius: 8px; border: 1px solid var(--border); }

.value-list { margin-top: 20px; display: grid; gap: 16px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gradient-gold);
  margin-top: 7px; flex-shrink: 0;
}
.value-item h4 { font-size: 1rem; margin-bottom: 4px; }
.value-item p { color: var(--text-muted); font-size: 0.9rem; }

.mv-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 40px; }
.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 28px;
  border-radius: 6px;
}
.mv-card h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.2rem; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 22px 16px; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; border: 2px solid var(--gold); object-fit: cover; }
.team-card h4 { font-size: 1rem; }
.team-card span { color: var(--gold); font-size: 0.82rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 28px 24px; }
.testimonial-card .quote { color: var(--text-muted); font-style: italic; margin-bottom: 16px; }
.testimonial-name { color: var(--gold); font-weight: 700; font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-gold);
  color: #14110a;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #14110a; margin-bottom: 12px; }
.cta-band p { margin-bottom: 26px; opacity: 0.85; }
.cta-band .btn-outline { border-color: #14110a; color: #14110a; }
.cta-band .btn-outline:hover { background: #14110a; color: var(--gold-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info-card .service-icon { flex-shrink: 0; margin-bottom: 0; width: 44px; height: 44px; font-size: 1.1rem; }
.contact-info-card h4 { margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-card p, .contact-info-card a { color: var(--text-muted); font-size: 0.9rem; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 0.85rem; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; filter: grayscale(0.15); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 24px; margin-top: 20px; }
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }
.footer-col h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
}
.social-row a:hover { background: var(--gold); color: #14110a; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 150px 0 60px;
  background: var(--bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 10px; }
.breadcrumb { color: var(--text-muted); font-size: 0.85rem; }
.breadcrumb .gold-text { font-weight: 600; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  z-index: 900;
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 22px; left: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: none;
  align-items: center; justify-content: center;
  z-index: 900;
}
.back-top.show { display: flex; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Filter chips (listings) ---------- */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
}
.chip.active { background: var(--gradient-gold); color: #14110a; border-color: transparent; font-weight: 600; }

/* ---------- Tablet / Desktop breakpoints ---------- */
@media (min-width: 620px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav-links {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    gap: 28px;
    align-items: center;
  }
  .nav-links a { border-bottom: none; padding: 6px 0; position: relative; }
  .nav-links a.active::after, .nav-links a:hover::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--gradient-gold);
  }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }

  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }

  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 1200px) {
  .hero-title { max-width: 900px; }
}
