:root {
  --bg-primary: #0a0e0d;
  --bg-secondary: #121915;
  --bg-card: rgba(20, 29, 23, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-gold: rgba(229, 169, 16, 0.35);
  --border-glow: rgba(229, 169, 16, 0.6);
  --text-main: #f5f5f0;
  --text-muted: #a3b1a2;
  --gold-primary: #e5a910;
  --gold-gradient: linear-gradient(135deg, #fce075 0%, #e5a910 50%, #9e6f00 100%);
  --gold-glow: 0 0 25px rgba(229, 169, 16, 0.35);
  --green-sacred: #437322;
  --green-deep: #1e3812;
  --green-glow: 0 0 20px rgba(67, 115, 34, 0.4);
  --accent-olive: #6a9b2c;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 15%, #18271a 0%, #0c120e 45%, #060907 100%);
  line-height: 1.6;
}

/* Background Cosmic Grid & Sacred Glow */
.cosmic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(229, 169, 16, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(67, 115, 34, 0.2) 0%, transparent 45%);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-serif);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 14, 13, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 169, 16, 0.4);
  object-fit: cover;
  background: #fff;
}

.brand-text-block h1 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.2;
}

.brand-text-block span {
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 10px rgba(229, 169, 16, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Selector */
.lang-selector-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(229, 169, 16, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  transition: var(--transition);
}

.lang-selector-box:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(229, 169, 16, 0.3);
}

.lang-selector-box i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.lang-selector-box select {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.lang-selector-box select option {
  background: #101813;
  color: #fff;
  padding: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0b110c;
  box-shadow: 0 4px 18px rgba(229, 169, 16, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 169, 16, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(229, 169, 16, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(229, 169, 16, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--gold-primary);
}

/* 3D Hero Canvas Container */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#three-canvas {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.interactive-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  font-size: 0.75rem;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

/* Floating Logo Card inside 3D viewer */
.hero-logo-floating {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(14, 20, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 2;
}

.hero-logo-floating img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gold-primary);
}

/* Section Common Styling */
.section-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* 3D Glass Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 169, 16, 0.2);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), var(--gold-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(229, 169, 16, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: #fff;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5cb;
  margin-bottom: 0.5rem;
}

.card-features li svg, .card-features li i {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Interactive Calculator Container */
.calculator-box {
  background: linear-gradient(145deg, rgba(23, 34, 26, 0.85), rgba(12, 18, 14, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
}

.calc-input-group {
  margin-bottom: 1.25rem;
}

.calc-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.calc-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(229, 169, 16, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.calc-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 169, 16, 0.3);
}

.calc-result-panel {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-pill {
  background: rgba(229, 169, 16, 0.08);
  border: 1px solid rgba(229, 169, 16, 0.25);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.metric-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Lo Shu Grid Widget */
.loshu-wrapper {
  margin-top: 1.25rem;
}

.loshu-title {
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loshu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 260px;
  margin: 0 auto;
}

.loshu-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 169, 16, 0.25);
  border-radius: 10px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #556655;
  transition: var(--transition);
}

.loshu-cell.active {
  background: rgba(229, 169, 16, 0.22);
  border-color: var(--gold-primary);
  color: #ffe082;
  box-shadow: 0 0 12px rgba(229, 169, 16, 0.4);
}

/* Interactive Vastu Compass */
.compass-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.compass-dial-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  padding: 18px;
  background: radial-gradient(circle, rgba(30, 56, 18, 0.5) 0%, rgba(10, 14, 13, 0.95) 70%);
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 40px rgba(0,0,0,0.8), inset 0 0 30px rgba(229, 169, 16, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-center-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #111a13;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
}

.compass-center-core span {
  font-size: 0.65rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.compass-center-core strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

.compass-direction-btn {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(20, 30, 22, 0.92);
  border: 1px solid var(--border-gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}

.compass-direction-btn:hover,
.compass-direction-btn.active {
  background: var(--gold-gradient);
  color: #0d130e;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(229, 169, 16, 0.7);
  border-color: #fff;
}

/* Compass detail panel */
.compass-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(14px);
}

.compass-zone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compass-zone-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-primary);
}

.zone-element-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(67, 115, 34, 0.3);
  border: 1px solid var(--accent-olive);
  color: #bbf7d0;
}

/* Social & Verification Hub */
.social-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(22, 33, 25, 0.6);
  border: 1px solid rgba(229, 169, 16, 0.25);
  border-radius: 18px;
  padding: 1.35rem;
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(229, 169, 16, 0.3);
}

.social-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.icon-google { background: #ea4335; }
.icon-justdial { background: #f26522; }
.icon-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.icon-facebook { background: #1877f2; }

.social-meta h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.social-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Booking Section */
.booking-container {
  background: radial-gradient(circle at 50% 0%, rgba(67, 115, 34, 0.25), rgba(16, 24, 18, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.booking-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(229, 169, 16, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 169, 16, 0.35);
}

/* Footer */
footer {
  position: relative;
  background: #060907;
  border-top: 1px solid var(--border-gold);
  padding: 4rem 1.5rem 2rem 1.5rem;
  z-index: 2;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Floating Action Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 99;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin: 0 auto 2rem auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .hero-visual {
    height: 420px;
  }
  .calculator-box {
    grid-template-columns: 1fr;
  }
  .compass-section-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .booking-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .lang-selector-box {
    padding: 0.25rem 0.5rem;
  }
}
