/* ==========================================================================
   TIRTHAM RESIDENTIAL PLOTTED BUNGALOW COMMUNITY
   Luxury & Spiritual Living at Vadgaon Maval, Pune (NH 48)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-navy: #08111e;
  --primary-deep: #0e1e32;
  --primary-surface: #142840;
  --accent-gold: #c59b27;
  --accent-gold-light: #e5c06e;
  --accent-gold-dark: #997316;
  --accent-amber: #d97706;
  --accent-emerald: #059669;
  --accent-sage: #3f6212;
  --bg-cream: #faf7f2;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-gold: #b4851c;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #0d1829;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c59b27, #85610d);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e5c06e;
}

/* Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #f7e099 0%, #d4af37 40%, #b8860b 80%, #f3d484 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-subtle {
  background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(8, 17, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

#main-navbar nav a {
  position: relative;
  transition: color 0.25s ease;
}

#main-navbar nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #c59b27;
  transition: width 0.3s ease;
  border-radius: 2px;
}

#main-navbar nav a:hover::after {
  width: 100%;
}

.glass-card-dark {
  background: rgba(14, 30, 50, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

/* Gold Shimmer Button */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 50%, #a87f17 100%);
  color: #08111e;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(197, 155, 39, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.55);
  color: #04080f;
}

.btn-outline-gold {
  border: 1.5px solid #d4af37;
  color: #d4af37;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #f7e099;
  border-color: #f7e099;
  transform: translateY(-2px);
}

/* Subtle Shimmer Border */
.gold-border-glow {
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.4s ease;
}

.gold-border-glow:hover {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 10px 30px -10px rgba(197, 155, 39, 0.3);
}

/* Spiritual Aura Glow */
.spiritual-glow {
  position: relative;
}
.spiritual-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}

/* Hero Background Video and Overlay */
.hero-video-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(8, 17, 30, 0.82) 0%, 
    rgba(8, 17, 30, 0.65) 50%, 
    rgba(8, 17, 30, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Image Hover Zoom */
.img-zoom-wrapper {
  overflow: hidden;
}
.img-zoom-wrapper img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-wrapper:hover img {
  transform: scale(1.08);
}

/* Interactive Plot Grid Pill */
.plot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plot-available {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.plot-spiritual {
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.plot-amenity {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Pulse Animation for Live Pins */
@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.pulse-pin {
  animation: pulseGlow 2.5s infinite;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Sticky Mobile Bottom Bar */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 85;
    background: rgba(8, 17, 30, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.65rem 1rem;
    display: flex;
    gap: 0.5rem;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* Lightbox Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 16, 0.92);
  backdrop-filter: blur(14px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Plot Matrix Hover Row */
.plot-table-row {
  transition: all 0.2s ease;
}
.plot-table-row:hover {
  background-color: rgba(212, 175, 55, 0.08);
}

/* Marquee for Partners / USPs */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 28s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}
