/* ==========================================================================
   Uike Organic - Premium Stylesheet
   ========================================================================== */

/* 1. Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Mukta:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* 2. Root Variable Tokens */
:root {
  --primary-color: #2E7D32;
  --secondary-color: #6B8E23;
  --accent-color: #D4A017;
  --bg-color: #FFFDF7;
  --bg-secondary: #F7F3EA;
  --text-color: #2C2C2C;
  --text-muted: #555555;
  --success-color: #43A047;
  --card-shadow: 0 10px 30px -10px rgba(46, 125, 50, 0.08);
  --card-shadow-hover: 0 20px 40px -15px rgba(46, 125, 50, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme Variables */
.dark {
  --primary-color: #4CAF50;
  --secondary-color: #8BC34A;
  --accent-color: #FFC107;
  --bg-color: #121612;
  --bg-secondary: #1A201A;
  --text-color: #F3F4F6;
  --text-muted: #9CA3AF;
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* 3. Base Styles */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.5s ease, color 0.5s ease;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Devnagari Marathi text styling helper */
.marathi-text {
  font-family: 'Mukta', sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

.heading-font {
  font-family: 'Poppins', sans-serif;
}

/* 4. Scrollbar Style */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* 5. Custom Animations & Keyframes */

/* Floating animation for product bottles in Hero */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}

.animate-float-fast {
  animation: float 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Shine effect on card hover */
.shine-hover {
  position: relative;
  overflow: hidden;
}
.shine-hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}
.shine-hover:hover::after {
  opacity: 1;
  left: 130%;
  top: 130%;
  transition: all 0.8s ease;
}

/* Glassmorphism elements */
.glass-effect {
  background: rgba(255, 253, 247, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 125, 50, 0.08);
}

.dark .glass-effect {
  background: rgba(18, 22, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom premium card animations */
.premium-card {
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

/* Custom Timeline Line */
.timeline-line {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
}

/* WhatsApp pulse effect */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 160, 71, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(67, 160, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 160, 71, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-whatsapp 2s infinite;
}

/* Custom CSS Sprite Bottling Styles for exact alignment */
.bottle-sprite {
  aspect-ratio: 100 / 317;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.bottle-sprite img {
  position: absolute;
  max-w: none !important;
  width: 1080%;
  height: 344.4%;
  top: -131.8%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bottle-sprite:hover img {
  transform: scale(1.05);
}

/* Hero Slider Styles */
#hero-slider-track > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}
