/* ============================================================
   BALI R. PAWAR REAL ESTATE — style.css  (PREMIUM EDITION)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #C9A84C;
  --gold-light:  #E5C97A;
  --gold-dark:   #9E7A2E;
  --gold-pale:   rgba(201,168,76,0.08);
  --gold-border: rgba(201,168,76,0.18);
  --dark:        #0A0A0A;
  --dark2:       #111111;
  --dark3:       #191919;
  --dark4:       #222222;
  --white:       #F9F6F0;
  --cream:       #F4F0E8;
  --gray:        #888888;
  --gray-light:  rgba(249,246,240,0.55);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:        72px;
  --radius:       10px;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.28;
}

/* Custom cursor */
.cursor-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10000; transform: translate(-50%,-50%); transition: transform 0.1s; }
.cursor-ring { width: 32px; height: 32px; border: 1.5px solid rgba(201,168,76,0.45); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.08s; }
body:has(a:hover) .cursor-ring, body:has(button:hover) .cursor-ring { width: 52px; height: 52px; border-color: var(--gold); }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; }
h1 { font-size: clamp(48px, 7vw, 90px); font-weight: 700; letter-spacing: -1px; }
h2 { font-size: clamp(34px, 4.5vw, 58px); font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h1 .gold, h2 .gold, h3 .gold { color: var(--gold); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 110px 6%; }

/* NAV */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-h); z-index: 1000;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-logo{
  display: flex;
  align-items: center;
}

.nav-logo img{
  width: 50px;      /* logo size */
  height: auto;
  object-fit: contain;
}
.nav-logo-text span:first-child { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.nav-logo-text span:last-child { display: block; font-size: 9.5px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gray); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: rgba(249,246,240,0.65); font-size: 13px; font-weight: 500; letter-spacing: 0.5px; position: relative; padding-bottom: 3px; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.35s cubic-bezier(0.22,1,0.36,1); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important; color: #0A0A0A !important; padding: 9px 22px !important; border-radius: 5px; font-size: 13px; font-weight: 600 !important; letter-spacing: 0.4px; transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition) !important; white-space: nowrap; box-shadow: 0 4px 16px rgba(201,168,76,0.2); }
.nav-cta:hover { opacity: 0.9 !important; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,168,76,0.35) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; top: var(--nav-h); left: 0; width: 100%; background: rgba(8,8,8,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gold-border); padding: 20px 6%; z-index: 999; flex-direction: column; gap: 2px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(249,246,240,0.7); font-size: 15px; font-weight: 500; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color var(--transition); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav a.nav-cta { margin-top: 12px; border: none; text-align: center; border-radius: 6px; padding: 13px !important; }

/* PAGE HERO — PREMIUM */
.page-hero {
  min-height: 440px;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) 6% 75px;
  position: relative; overflow: hidden;
  background: var(--dark);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 65%, rgba(201,168,76,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0A0A0A 0%, #101010 100%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 25% 70%, black 10%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content::before {
  content: '';
  position: absolute; left: -28px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 700;
}
.page-hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.page-hero h1 { color: var(--white); animation: fadeUp 0.8s 0.1s both; }
.page-hero .breadcrumb { margin-top: 18px; font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 10px; animation: fadeUp 0.8s 0.2s both; }
.page-hero .breadcrumb a { color: var(--gold); transition: opacity var(--transition); }
.page-hero .breadcrumb a:hover { opacity: 0.7; }
.page-hero-watermark { position: absolute; right: 4%; bottom: -8%; font-family: var(--font-display); font-size: clamp(120px, 20vw, 280px); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(201,168,76,0.05); line-height: 1; pointer-events: none; user-select: none; z-index: 1; }

/* SECTION LABELS */
.section-tag, .s-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.section-tag::before, .s-tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-subtitle { margin-top: 14px; font-size: 15px; color: var(--gray-light); line-height: 1.85; max-width: 560px; }
.section-subtitle.center { margin: 14px auto 0; text-align: center; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 14px auto 0; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 32px; border-radius: 5px; font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.4px; cursor: pointer; border: none; transition: all 0.3s cubic-bezier(0.22,1,0.36,1); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0A0A0A; box-shadow: 0 4px 20px rgba(201,168,76,0.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(201,168,76,0.38); }
.btn-outline { border: 1px solid rgba(201,168,76,0.35); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold); transform: translateY(-1px); }
.btn-ghost { color: var(--gold); background: transparent; padding: 0; border: none; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(201,168,76,0.35); padding-bottom: 2px; border-radius: 0; transition: border-color var(--transition), opacity var(--transition); }
.btn-ghost:hover { border-color: var(--gold); opacity: 0.8; }

/* CARDS */
.card { background: var(--dark3); border: 1px solid var(--gold-border); border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 52px rgba(0,0,0,0.5); border-color: rgba(201,168,76,0.32); }

/* ICON BOX */
.icon-box { width: 54px; height: 54px; background: var(--gold-pale); border: 1px solid var(--gold-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }

/* STATS BAR */
.stats-bar {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  padding: 62px 6%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center; position: relative; overflow: hidden;
}
.stats-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.06) 50%, transparent 60%); animation: shimmer 4s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
.stat-block { position: relative; }
.stat-block + .stat-block::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(0,0,0,0.15); }
.stat-block .num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); font-weight: 700; color: #0A0A0A; line-height: 1; }
.stat-block .lbl { font-size: 11px; font-weight: 600; color: rgba(0,0,0,0.58); letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }

/* FOOTER */
footer {
  background: #070707;
  padding: 80px 6% 30px;
  border-top: 1px solid var(--gold-border);
  position: relative; overflow: hidden;
}
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 52px; margin-bottom: 60px; }
.footer-brand p { font-size: 13px; color: var(--gray); line-height: 1.85; margin-top: 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 26px; }
.social-btn { width: 36px; height: 36px; background: var(--gold-pale); border: 1px solid var(--gold-border); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 13px; font-weight: 700; transition: all 0.3s; }
.social-btn:hover { background: var(--gold); color: #0A0A0A; transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 22px; position: relative; padding-bottom: 14px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 24px; height: 1px; background: var(--gold); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray); font-size: 13px; transition: color var(--transition), padding-left var(--transition); display: inline-block; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact-item .icon { color: var(--gold); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13px; color: var(--gray); line-height: 1.65; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(136,136,136,0.55); }
.footer-bottom a { color: var(--gold); }

/* FORM */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 9px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 7px; padding: 13px 16px; color: var(--white); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color 0.3s, background 0.3s; appearance: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(136,136,136,0.6); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark3); }

/* DIVIDER */
.gold-line { width: 48px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 2px; margin: 20px 0; }
.gold-line.center { margin: 20px auto; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* GRID HELPERS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  section { padding: 80px 4%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 0; padding: 48px 4%; }
  .stat-block + .stat-block::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: clamp(38px, 10vw, 56px); }
  h2 { font-size: clamp(30px, 7vw, 44px); }
  .page-hero { min-height: 340px; padding-bottom: 50px; }
  .page-hero-content::before { display: none; }
}
@media (max-width: 480px) {
  section { padding: 64px 4%; }
  .stats-bar { grid-template-columns: 1fr; padding: 40px 4%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero-tag::before { display: none; }
}