/* ==========================================================================
   ASTHA REALTY — CONCISE ESSENTIAL STYLES
   Tailwind CSS is used for all layout and styling utilities.
   This file only contains: Lenis, Pulse Animation & Scrolled State overrides.
   ========================================================================== */

/* Lenis Smooth Scrolling */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Hero Sticky Pinning for Overlapping Curtain Effect */
.hero-section {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
}

/* Floating Navbar Glass & Underline Indicator */
.navbar-container {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-brand-title { color: #ffffff; }
.nav-brand-realty {
  color: #FEFE5A;
  transition: color 0.25s ease;
}
.nav-brand-subtitle { color: rgba(255, 255, 255, 0.75); }
.nav-item-link { color: rgba(255, 255, 255, 0.88); }
.nav-item-link:hover, .nav-item-link.active { color: #ffffff; }

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #FEFE5A;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-item-link:hover::after, .nav-item-link.active::after {
  width: 100%;
}

.btn-nav-talk {
  background: #ffffff;
  color: #081636;
}
.btn-nav-talk:hover {
  background: #FEFE5A;
  color: #081636;
}

.nav-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.nav-toggle-btn span {
  background-color: #ffffff;
}

/* Dropdown Menu Hover & Active Toggle */
.dropdown-parent:hover .dropdown-menu,
.dropdown-parent.dropdown-active .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.dropdown-link:hover .dropdown-icon {
  background-color: #0f3ba2 !important;
  color: #FEFE5A !important;
  border-color: #0f3ba2 !important;
  transform: scale(1.05);
}

/* --- Scrolled State (Past 60% of Hero): 90% White Background with Subtle Shadow --- */
.header-wrapper.is-scrolled .navbar-container {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.header-wrapper.is-scrolled .nav-brand-title { color: #081636; }
.header-wrapper.is-scrolled .nav-brand-realty,
.header-wrapper.is-scrolled .nav-brand-title .text-brand-gold {
  color: #000000 !important;
}
.header-wrapper.is-scrolled .nav-brand-subtitle { color: #64748b; }
.header-wrapper.is-scrolled .nav-item-link { color: #1e293b; }
.header-wrapper.is-scrolled .nav-item-link:hover,
.header-wrapper.is-scrolled .nav-item-link.active { color: #0f3ba2; }
.header-wrapper.is-scrolled .nav-item-link::after { background: #0f3ba2; }

.header-wrapper.is-scrolled .btn-nav-talk {
  background: #0f3ba2;
  color: #ffffff;
}
.header-wrapper.is-scrolled .btn-nav-talk:hover {
  background: #FEFE5A;
  color: #081636;
}

.header-wrapper.is-scrolled .nav-toggle-btn {
  background: rgba(15, 59, 162, 0.08);
  border-color: rgba(15, 59, 162, 0.16);
}
.header-wrapper.is-scrolled .nav-toggle-btn span {
  background-color: #081636;
}

/* Virtual Tour Pulse Ring Animation */
.play-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  animation: playPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes playPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* SplitType Word & Char inline wrapper */
.hero-title .word, .hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ==========================================================================
   ABOUT SECTION SQUARE SWIPER FADE SLIDER
   ========================================================================== */
.about-swiper {
  border-radius: 1rem;
  overflow: hidden;
}

.about-swiper .swiper-slide {
  transition-property: opacity, transform !important;
}

.about-swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  margin: 0 3px !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 9999px;
  cursor: pointer;
}

.about-swiper-pagination .swiper-pagination-bullet-active {
  width: 20px;
  background: #FEFE5A;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   FAQ ACCORDION (height animated via GSAP; this just sets the collapsed
   default and the open-state icon look)
   ========================================================================== */
.faq-panel {
  height: 0;
  overflow: hidden;
}

.faq-icon.is-open {
  background-color: #0f3ba2;
  color: #ffffff;
}

.faq-icon.is-open i {
  transform: rotate(45deg);
}

/* ==========================================================================
   LUXURY BRAND PRELOADER
   ========================================================================== */
@keyframes preloaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderGlowPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.95); }
  50% { opacity: 0.6; transform: scale(1.08); }
}

.preloader-ring {
  animation: preloaderSpin 14s linear infinite;
}

.preloader-glow {
  animation: preloaderGlowPulse 3.5s ease-in-out infinite;
}


