/* Google Fonts: Hind Siliguri (Bengali) + Inter (Latin) */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary-pink: #e11d48;
  --primary-pink-dark: #be123c;
  --primary-pink-light: #fff1f2;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --admin-sidebar-bg: #111827;
  --admin-sidebar-dark: #0b0f19;
  --admin-purple: #6366f1;
  --admin-purple-dark: #4f46e5;
  --admin-purple-light: #e0e7ff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --whatsapp-color: #25D366;
  --whatsapp-hover: #1ebd5b;
  --facebook-color: #1877F2;
}

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

body {
  font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Number font formatting for clean alignment */
.num, .price, .latin-font {
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
}

/* Pulse Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-btn {
  animation: pulseGlow 2.2s infinite ease-in-out;
}

.pulse-green {
  animation: pulseGreen 2.2s infinite ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Admin Sidebar active gradient */
.admin-nav-item.active {
  background: #4f46e5;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.admin-nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

#adminSidebar.collapsed {
  margin-left: -15rem !important;
}

/* Print Invoice Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-invoice, #printable-invoice * {
    visibility: visible;
  }
  #printable-invoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
  }
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   Modern Hero Slider & Deluxe Header Enhancements
   ========================================================================== */

/* Shimmer Animation for Badges and Highlights */
@keyframes shimmerWave {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.1) 100%);
  background-size: 200% 100%;
  animation: shimmerWave 3.5s infinite;
}

/* Floating Mockup Animation */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

.float-product {
  animation: floatY 4.5s ease-in-out infinite;
  will-change: transform;
}

/* Slider System */
.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.985);
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

/* Slide Content Stagger Entrance */
.hero-slide.active .slide-anim-1 {
  animation: slideFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.hero-slide.active .slide-anim-2 {
  animation: slideFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-slide.active .slide-anim-3 {
  animation: slideFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-slide.active .slide-anim-4 {
  animation: slideFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-slide.active .slide-anim-img {
  animation: slideZoomFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes slideFadeUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideZoomFade {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Slider Navigation Buttons */
.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 25;
}

.slider-nav-btn:hover {
  background: #ffffff;
  color: #be123c;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Pagination Dots */
.slider-dot {
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.slider-dot.active {
  width: 28px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.slider-dot:not(.active) {
  width: 8px;
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.2s linear !important;
    transform: none !important;
  }
  .float-product {
    animation: none !important;
  }
  .slide-anim-1, .slide-anim-2, .slide-anim-3, .slide-anim-4, .slide-anim-img {
    animation: none !important;
  }
}
