/* ==========================================================================
   NANDNEE GROUP — MASTER FLOATING PILL NAVBAR & MOBILE DRAWER
   Exact design matching index.html across all viewport sizes
   ========================================================================== */

/* Navbar Wrapper */
.floating-nav-wrapper {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

/* Pill Container (Dark Frosted Glass) */
.pill-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1400px;
  height: 68px;
  background: rgba(10, 22, 40, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1.25rem 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 20px 40px -10px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(255, 255, 255, 0.06) inset !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Brand Logo Text */
.nav-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-brand-logo-wrap:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

/* Brand Logo Image */
.site-nav-logo,
.nav-brand-logo-wrap img {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.25s ease;
}
.site-nav-logo:hover,
.nav-brand-logo-wrap:hover img {
  transform: scale(1.03);
}

.mobile-drawer .site-nav-logo,
.mobile-drawer .nav-brand-logo-wrap img {
  height: 44px;
  max-width: 190px;
}

/* Center Pill Nav Links */
.nav-center-pill {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.25rem 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-pill-link {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.nav-pill-link:hover,
.nav-pill-link.is-active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.22) !important;
}

/* Right Actions */
.nav-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Google Review Badge */
.nav-google-review {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-google-review:hover {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.google-stars {
  color: #F5C542;
  font-size: 0.75rem;
  letter-spacing: 1px;
  line-height: 1;
}
.google-score {
  color: #FFFFFF;
  font-size: 0.8125rem;
  line-height: 1;
}
.google-score strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Social Strip */
.nav-social-strip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.25rem 0.45rem;
}
.nav-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.nav-social-btn:hover {
  transform: translateY(-2px);
}
.nav-social-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.18);
  color: #1877F2 !important;
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.4);
}
.nav-social-btn.instagram:hover {
  background: rgba(228, 64, 95, 0.18);
  color: #E4405F !important;
  box-shadow: 0 0 10px rgba(228, 64, 95, 0.4);
}
.nav-social-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.18);
  color: #0EA5E9 !important;
  box-shadow: 0 0 10px rgba(10, 102, 194, 0.4);
}
.nav-social-btn.x-twitter:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Auth / Account Button */
.nav-auth-btn {
  background: #F5C542 !important;
  color: #0A1628 !important;
  border: none;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.nav-auth-btn:hover {
  background: #F7CE58 !important;
  transform: scale(1.02);
}
.nav-logout-pill {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-logout-pill:hover {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
}

/* Mobile Hamburger Button (Circular Blue Button) */
.nav-mobile-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  background: #0284C7 !important;
  color: #FFFFFF !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.nav-mobile-hamburger:hover {
  background: #0369A1 !important;
  transform: scale(1.05);
}
.nav-mobile-hamburger svg {
  display: block;
  stroke: #FFFFFF !important;
}

/* Mobile Drawer Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Mobile Drawer Panel */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #0A1628 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}
.mobile-drawer.is-open {
  transform: translateX(0) !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

.drawer-nav-item {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF !important;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}
.drawer-nav-item:hover,
.drawer-nav-item.is-active {
  color: #38BDF8 !important;
}

.drawer-social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
}
.drawer-social-strip .nav-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  color: #E0D8B9 !important;
}

/* ==========================================================================
   MOBILE MEDIA QUERIES (EXACT HOMEPAGE MATCH)
   ========================================================================== */
@media (max-width: 1200px) {
  .google-score {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .nav-google-review {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .floating-nav-wrapper {
    top: 1rem !important;
    padding: 0 1rem !important;
  }

  .pill-navbar {
    height: 62px !important;
    padding: 0.5rem 1rem 0.5rem 1.4rem !important;
    background: rgba(10, 22, 40, 0.94) !important;
  }

  .nav-center-pill,
  .nav-actions-wrap,
  .nav-social-strip,
  .nav-contact-btn {
    display: none !important;
  }

  .nav-mobile-hamburger {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .floating-nav-wrapper {
    top: 0.75rem !important;
    padding: 0 0.75rem !important;
  }

  .pill-navbar {
    height: 56px !important;
    padding: 0.4rem 0.85rem 0.45rem 1.15rem !important;
  }

  .nav-brand-logo-wrap {
    font-size: 1.18rem !important;
  }

  .site-nav-logo,
  .nav-brand-logo-wrap img {
    height: 38px !important;
    max-width: 170px !important;
  }

  .nav-mobile-hamburger {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ==========================================================================
   LANGUAGE SWITCHER PILL (EN | हिं)
   ========================================================================== */
.nav-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 9999px !important;
  padding: 0.35rem 0.75rem !important;
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.nav-lang-toggle:hover {
  background: rgba(0, 0, 0, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-1px);
}
.nav-lang-toggle .lang-opt {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease, font-weight 0.2s ease;
}
.nav-lang-toggle .lang-opt.is-active {
  color: #F5C542 !important;
  font-weight: 700;
}
.nav-lang-toggle .lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin: 0 0.15rem;
}

/* Drawer Language Toggle */
.drawer-lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 9999px !important;
  padding: 0.65rem 1.25rem !important;
  color: #FFFFFF !important;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}
.drawer-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.drawer-lang-toggle .lang-opt {
  color: rgba(255, 255, 255, 0.55);
}
.drawer-lang-toggle .lang-opt.is-active {
  color: #F5C542 !important;
  font-weight: 700;
}
.drawer-lang-toggle .lang-sep {
  color: rgba(255, 255, 255, 0.3);
}
