/**
 * HERBAL VALLEY PRODUCTS PALAKKAYAM LLP
 * Standardized Master Header & Mobile Navigation Stylesheet
 * 100% Manrope Typography • Pure Image Brand Logo • Unified Header Architecture
 */

/* ==========================================================================
   1. MASTER STICKY HEADER
   ========================================================================== */
.site-header.hv-master-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 80px !important;
  z-index: 10000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(23, 26, 29, 0.08) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04) !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  box-sizing: border-box !important;
}

.site-header.hv-master-header.scrolled {
  background: rgba(255, 255, 255, 0.99) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom-color: rgba(23, 26, 29, 0.12) !important;
}

/* Container */
.hv-master-header .hv-nav-container {
  max-width: 1320px !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* ==========================================================================
   2. BRAND LOGO LOCKUP (Image ONLY - Zero Text / Pills / Monograms)
   ========================================================================== */
.hv-master-header .hv-nav-brand {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  line-height: 1 !important;
  border: none !important;
}

.hv-master-header .hv-brand-logo-img {
  height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.hv-master-header .hv-nav-brand:hover .hv-brand-logo-img {
  opacity: 0.9 !important;
}

/* ==========================================================================
   3. DESKTOP NAVIGATION MENU (Items 1 to 5)
   ========================================================================== */
.hv-master-header .hv-desktop-nav {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hv-master-header .hv-nav-list {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hv-master-header .hv-nav-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hv-master-header .hv-nav-link {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.9375rem !important; /* 15px */
  font-weight: 600 !important;
  color: #1F2937 !important;
  text-decoration: none !important;
  letter-spacing: -0.01em !important;
  padding: 8px 0 !important;
  position: relative !important;
  display: inline-block !important;
  transition: color 0.2s ease !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.hv-master-header .hv-nav-link:hover {
  color: #07565C !important;
}

.hv-master-header .hv-nav-link.active {
  color: #07565C !important;
  font-weight: 700 !important;
}

.hv-master-header .hv-nav-link.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background-color: #07565C !important;
  border-radius: 2px !important;
}

/* ==========================================================================
   4. RIGHT ACTIONS & CONTACT CTA BUTTON (Exactly ONE Contact Us Button)
   ========================================================================== */
.hv-master-header .hv-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.hv-master-header .hv-contact-btn {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.875rem !important; /* 14px */
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background-color: #07565C !important;
  border: 1px solid #07565C !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(7, 86, 92, 0.18) !important;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
}

.hv-master-header .hv-contact-btn:hover {
  background-color: #054044 !important;
  border-color: #054044 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(7, 86, 92, 0.28) !important;
}

.hv-master-header .hv-contact-btn:active {
  transform: translateY(0) !important;
}

/* ==========================================================================
   5. MOBILE HAMBURGER BUTTON
   ========================================================================== */
.hv-master-header .hv-hamburger-btn {
  display: none !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 10px !important;
  margin: 0 -8px 0 0 !important;
  flex-direction: column !important;
  justify-content: space-around !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 6px !important;
  transition: background-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.hv-master-header .hv-hamburger-btn:hover {
  background-color: rgba(7, 86, 92, 0.08) !important;
}

.hv-master-header .hv-hamburger-btn span {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background-color: #171A1D !important;
  border-radius: 2px !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINT (< 992px)
   ========================================================================== */
@media (max-width: 991px) {
  .site-header.hv-master-header {
    height: 68px !important;
  }

  .hv-master-header .hv-nav-container {
    padding: 0 16px !important;
  }

  .hv-master-header .hv-brand-logo-img {
    height: 40px !important;
    max-width: 135px !important;
    max-height: 40px !important;
  }

  .hv-master-header .hv-desktop-nav {
    display: none !important;
  }

  .hv-master-header .hv-contact-btn {
    display: none !important;
  }

  .hv-master-header .hv-hamburger-btn {
    display: flex !important;
  }
}

/* ==========================================================================
   7. STANDARDIZED MOBILE NAVIGATION DRAWER
   ========================================================================== */
.hv-mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 20000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.hv-mobile-drawer:not(.open) {
  display: none !important;
}

.hv-mobile-drawer.open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hv-mobile-drawer .hv-drawer-panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 320px !important;
  height: 100% !important;
  background: #FFFFFF !important;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.hv-mobile-drawer.open .hv-drawer-panel {
  transform: translateX(0) !important;
}

.hv-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(23, 26, 29, 0.08) !important;
  margin-bottom: 24px !important;
}

.hv-drawer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.hv-drawer-logo-img {
  height: 38px !important;
  width: auto !important;
  max-width: 130px !important;
  object-fit: contain !important;
  display: block !important;
}

.hv-drawer-close-btn {
  background: transparent !important;
  border: none !important;
  font-size: 32px !important;
  line-height: 1 !important;
  color: #171A1D !important;
  cursor: pointer !important;
  padding: 6px 10px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 6px !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hv-drawer-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.06) !important;
}

.hv-drawer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.hv-drawer-nav-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.hv-drawer-nav-link {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #171A1D !important;
  text-decoration: none !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  display: block !important;
}

.hv-drawer-nav-link:hover,
.hv-drawer-nav-link.active {
  background-color: rgba(7, 86, 92, 0.08) !important;
  color: #07565C !important;
  font-weight: 700 !important;
}

.hv-drawer-footer {
  margin-top: auto !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(23, 26, 29, 0.08) !important;
}

.hv-drawer-contact-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  background-color: #07565C !important;
  border: 1px solid #07565C !important;
  padding: 13px 24px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(7, 86, 92, 0.2) !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.hv-drawer-contact-btn:hover {
  background-color: #054044 !important;
  border-color: #054044 !important;
  color: #FFFFFF !important;
}


/* ==========================================================================
   8. HERO SPACING & SMOOTH SCROLL INTEGRATION
   ========================================================================== */
html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 80px !important;
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 68px !important;
  }
}

.hero-section,
.hv-hero-section,
.mm-hero-section,
.fp-hero-section,
.ct-hero-section {
  padding-top: 60px !important;
}

/* Ensure no stray legacy headers or text brand elements re-appear */
.hp-brand-text,
.brand-name-group,
.hv-brand-parent-pill,
.hv-brand-logo-text,
.mm-brand-monogram,
.mm-brand-text-group,
.fp-brand-text-group,
.ct-brand-text-group {
  display: none !important;
}
