/* ==========================================================================
   ENTERPRISE MOBILE HEADER & NAVIGATION SYSTEM (Apple • Stripe • Linear Level)
   Project: Parul Beauty Care (Singhana, Rajasthan)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SITE HEADER CONTAINER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: rgba(255, 253, 250, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(92, 13, 24, 0.1);
  transition: height 300ms cubic-bezier(0.16, 1, 0.3, 1), background 300ms ease, box-shadow 300ms ease;
  box-sizing: border-box;
}

body {
  padding-top: 72px !important;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(92, 13, 24, 0.08);
  border-bottom-color: rgba(212, 175, 55, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   2. LOGO BRANDING (SINGLE LINE GUARANTEE)
   -------------------------------------------------------------------------- */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark, #1c1214);
  text-decoration: none;
  max-width: 220px;
  flex-shrink: 0;
}

.logo-brand svg,
.logo-brand img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-brand span {
  color: var(--primary, #5c0d18);
}

/* --------------------------------------------------------------------------
   3. DESKTOP NAVIGATION
   -------------------------------------------------------------------------- */
.desktop-nav {
  display: none;
}

@media (min-width: 912px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 200ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #5c0d18;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d4af37;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   4. HAMBURGER TOGGLE BUTTON (48x48px WCAG TAP TARGET)
   -------------------------------------------------------------------------- */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  border-radius: 12px;
  background: rgba(92, 13, 24, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  z-index: 1002;
  transition: background 200ms ease;
}

.mobile-toggle:hover {
  background: rgba(92, 13, 24, 0.1);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #3b040b;
  border-radius: 2px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
  transform-origin: center;
}

/* Morph Hamburger to X */
.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 912px) {
  .mobile-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. SLIDE-OUT MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 2, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #fffdfa 0%, #fbf6ee 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1002;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-left: 1.5px solid var(--accent, #d4af37);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(92, 13, 24, 0.1);
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.drawer-close,
.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(92, 13, 24, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #3b040b;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
}

.drawer-close:hover,
.drawer-close-btn:hover {
  background: #3b040b;
  color: #ffffff;
  border-color: #3b040b;
}

/* --------------------------------------------------------------------------
   6. CREATIVE COMPACT DRAWER NAVIGATION BUTTONS
   -------------------------------------------------------------------------- */
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.drawer-nav-link {
  height: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  font-size: 13.5px;
  font-weight: 600;
  color: #3b040b;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  background: linear-gradient(135deg, #3b040b 0%, #1f0206 100%);
  color: #ffffff !important;
  border-color: var(--accent, #d4af37);
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(59, 4, 11, 0.25), 0 0 10px rgba(212, 175, 55, 0.2);
}

.drawer-nav-link .arrow-icon {
  font-size: 13px;
  color: var(--accent, #d4af37);
  transition: transform 200ms ease;
}

.drawer-nav-link:hover .arrow-icon {
  color: #ffffff;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   7. COMPACT RICH DRAWER FOOTER (REMOVED BLANK SPACE)
   -------------------------------------------------------------------------- */
.drawer-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(92, 13, 24, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.drawer-info-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 12px;
  color: #555;
  line-height: 1.35;
}

.drawer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1eb954;
  font-weight: 700;
  font-size: 11.5px;
  margin-bottom: 0.2rem;
}
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1eb954;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   8. BODY SCROLL LOCK & STICKY CTA HIDING
   -------------------------------------------------------------------------- */
body.drawer-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  touch-action: none;
}

body.drawer-open .floating-cta-bar {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 20px) !important;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE HELPERS & MULTI-SCREEN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 911px) {
  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .site-header {
    height: 68px;
  }
  body {
    padding-top: 68px !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  body {
    padding-top: 64px !important;
  }
  .header-inner {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .logo-brand {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 60px;
  }
  body {
    padding-top: 60px !important;
  }
  .header-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .logo-brand {
    font-size: 15px;
    gap: 6px;
  }
  .logo-brand svg {
    width: 24px;
    height: 24px;
  }
  .mobile-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}

@media (max-width: 360px) {
  .site-header {
    height: 56px;
  }
  body {
    padding-top: 56px !important;
  }
  .logo-brand {
    font-size: 13.5px;
    gap: 4px;
  }
  .logo-brand svg {
    width: 22px;
    height: 22px;
  }
}

