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

:root {
  --primary: #064E3B;
  --primary-dark: #022C22;
  --primary-light: #10B981;
  --accent-gold: #D97706;
  --accent-gold-light: #FEF3C7;
  --accent-gold-dark: #B45309;
  --bg-herbal: #F4F7F4;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --border-light: #E2E8F0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-subtle: 0 4px 20px -2px rgba(6, 78, 59, 0.08);
  --shadow-hover: 0 12px 30px -4px rgba(6, 78, 59, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-herbal);
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #E2E8F0;
}
::-webkit-scrollbar-thumb {
  background: #064E3B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #022C22;
}

/* Shimmer & Glow Effects */
.glow-gold {
  box-shadow: 0 0 25px rgba(217, 119, 6, 0.25);
}

.glow-emerald {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

/* Hero Background Pattern */
.bg-hero-pattern {
  position: relative;
  background-color: #032017;
  background-image: radial-gradient(circle at 15% 25%, rgba(16, 185, 129, 0.22) 0%, transparent 45%),
                    radial-gradient(circle at 85% 75%, rgba(217, 119, 6, 0.18) 0%, transparent 45%),
                    linear-gradient(145deg, #021a13 0%, #064E3B 55%, #022319 100%);
}

/* Hero Background Crossfading Product Slideshow (Smooth Ken-Burns Motion Behind Headline) */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroKenBurnsFade 25s infinite ease-in-out;
  filter: saturate(1.25) contrast(1.1) brightness(0.9);
  will-change: transform, opacity;
}

.hero-bg-slide.slide-1 { animation-delay: 0s; }
.hero-bg-slide.slide-2 { animation-delay: 5s; }
.hero-bg-slide.slide-3 { animation-delay: 10s; }
.hero-bg-slide.slide-4 { animation-delay: 15s; }
.hero-bg-slide.slide-5 { animation-delay: 20s; }

@keyframes heroKenBurnsFade {
  0% {
    opacity: 0;
    transform: scale(1) translate(0, 0);
  }
  6% {
    opacity: 0.32;
  }
  20% {
    opacity: 0.32;
  }
  26% {
    opacity: 0;
    transform: scale(1.08) translate(-1.5%, -1%);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* Floating Ambient Orbs (Soft organic motion behind hero) */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  opacity: 0.22;
  animation: orbFloat 14s infinite alternate ease-in-out;
  z-index: 2;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: #10B981;
  top: -12%;
  left: -8%;
  animation-duration: 13s;
}

.orb-2 {
  width: 460px;
  height: 460px;
  background: #D97706;
  bottom: -15%;
  right: -8%;
  animation-duration: 17s;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: #059669;
  top: 35%;
  left: 40%;
  animation-duration: 19s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -45px) scale(1.12); }
  100% { transform: translate(-25px, 35px) scale(0.94); }
}

/* Infinite Smooth Marquee Ticker */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 10;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, #02231A, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, #02231A, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}

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

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Button Shimmer Sweep Effect */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: shimmerSweep 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { left: -70%; }
  22% { left: 140%; }
  100% { left: 140%; }
}

/* Smooth Scroll Reveal (AOS Effect) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Card Glow on Hover */
.card-hover-glow {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.card-hover-glow:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.22);
  border-color: rgba(16, 185, 129, 0.55);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(6, 44, 34, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Badges */
.badge-pulse {
  position: relative;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  border: 2px solid #10B981;
  animation: badgePulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes badgePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Live Floating WhatsApp Pulse */
@keyframes floatWp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-whatsapp {
  animation: floatWp 3s ease-in-out infinite;
}

/* Product Card Hover Zoom */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(6, 78, 59, 0.18);
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Social Proof Notification */
.social-proof-pill {
  animation: floatSocialProof 6s ease-in-out infinite;
}

@keyframes floatSocialProof {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Dashboard Specific Styles */
.dashboard-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #64748B;
  background-color: #F8FAFC;
  padding: 12px 16px;
  border-bottom: 1px solid #E2E8F0;
}

.dashboard-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.88rem;
}

.dashboard-table tr:hover td {
  background-color: #F8FAFC;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-new {
  background-color: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.status-contacted {
  background-color: #DBEAFE;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.status-sample {
  background-color: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.status-quoted {
  background-color: #F3E8FF;
  color: #7E22CE;
  border: 1px solid #E9D5FF;
}

.status-confirmed {
  background-color: #CCFBF1;
  color: #0F766E;
  border: 1px solid #99F6E4;
}

/* Range input styling */
input[type=range] {
  accent-color: #10B981;
}

/* Mobile Sticky Bottom Bar */
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex !important;
  }
}
