/* ==========================================================================
   Devanjuka Foods Beverages Pvt Ltd - Master Brand Stylesheet
   Color Palette Extracted from Logo:
   - Deep Forest Green: #045415 (Devan)
   - Fresh Lime Green:  #8DB610 (juka & leaf accents)
   - Warm Citrus Orange:#F28F00 (Juice splash, slice & subtitle)
   - Cherry Red:        #D40A03 (Berry/fruit icon)
   ========================================================================== */

:root {
  --color-forest: #045415;
  --color-forest-dark: #023a0d;
  --color-lime: #8DB610;
  --color-lime-light: #9fd213;
  --color-orange: #F28F00;
  --color-orange-dark: #d37a00;
  --color-red: #D40A03;
  --bg-cream: #FCFAF6;
  --bg-surface: #F8F5EE;
  --text-dark: #1A2218;
  --text-muted: #5C6758;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Gradient text brand accents */
.brand-gradient-text {
  background: linear-gradient(135deg, #045415 0%, #8DB610 50%, #F28F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-gradient-orange {
  background: linear-gradient(135deg, #F28F00 0%, #e06b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-gradient-green {
  background: linear-gradient(135deg, #045415 0%, #8DB610 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.glass-dark {
  background: rgba(4, 84, 21, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

@keyframes floatGentleAlt {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-1deg);
  }
}

.animate-float {
  animation: floatGentle 4.5s ease-in-out infinite;
}

.animate-float-alt {
  animation: floatGentleAlt 5.5s ease-in-out infinite;
}

/* Hover Shine Effect for CTA Buttons & Product Cards */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-shine:hover::after {
  left: 120%;
}

/* Scroll Entrance Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1ede4;
}

::-webkit-scrollbar-thumb {
  background: #cbd3c5;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #045415;
}

/* Card Zoom scaling */
.scale-108 {
  transform: scale(1.08);
}

/* ==========================================================================
   Image Container Anti-Gravity Float Animation
   ========================================================================== */

/* 1. इमेज कंटेनर में एनीमेशन जोड़ें */
.image-container {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* एंटी-ग्रेविटी इफेक्ट के लिए यह लाइन जोड़ें */
    animation: floatEffect 4s ease-in-out infinite; 
}

/* 2. एंटी-ग्रेविटी (Float) का मोशन सेट करें */
@keyframes floatEffect {
    0% {
        transform: translateY(0px); /* शुरुआती पोजीशन */
    }
    50% {
        transform: translateY(-15px); /* धीरे से 15 पिक्सेल ऊपर जाएगा */
    }
    100% {
        transform: translateY(0px); /* वापस अपनी जगह आ जाएगा */
    }
}

/* Direct standalone class to apply the float animation to any element */
.float-effect {
    animation: floatEffect 4s ease-in-out infinite;
}

/* ==========================================================================
   Makhana Floating Banner & Anti-Gravity Particles
   ========================================================================== */

/* 1. मुख्य बैनर */
.banner-section {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: linear-gradient(135deg, #7c4d01, #576510, #044b20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
}

/* 2. मुख्य कंटेंट (टेक्स्ट और बॉक्स) को मखाने के ऊपर रखने के लिए */
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

/* 3. तैरने वाले मखाने की स्टाइलिंग */
.floating-makhana {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
    animation: floatUpDown 6s ease-in-out infinite alternate;
}

/* 4. एंटी-ग्रेविटी तैरने का एनीमेशन */
@keyframes floatUpDown {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-30px) rotate(20deg);
    }
}

/* ==========================================================================
   Interactive Makhana Two-Sided Slider Card (Front & Back Hover Flip)
   ========================================================================== */

/* 1. Main Rectangular Frame */
.makhana-card {
    position: relative;
    overflow: hidden;     /* Hides the back image initially */
    border-radius: 16px;  /* Smooth rounded corners */
    background-color: #faf9f5; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* Premium shadow effect */
    cursor: pointer;
}

/* Standalone fixed dimensions (used in demo or standalone card) */
.makhana-card-fixed {
    width: 380px;
    height: 480px;
}

/* 2. Image Slider Wrapper (Puts both images side-by-side) */
.image-slider {
    display: flex;
    width: 200%;          /* Double width to hold both front and back images */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth scrolling transition */
    will-change: transform;
}

/* Explicit toggle classes for scroller/toggle buttons */
.image-slider.show-front {
    transform: translateX(0%) !important;
}

.image-slider.show-back {
    transform: translateX(-50%) !important;
}

/* Float motion utility */
.float-motion {
    animation: floatAntiGravity 5s ease-in-out infinite alternate;
}

/* 3. Product Image Styling */
.makhana-img {
    width: 50%;           /* Each image takes exactly 100% of the frame width */
    height: 100%;
    object-fit: contain;  /* Ensures your product images fit perfectly without getting cropped */
    padding: 16px;        /* Generous padding around the product pouch */
}

/* 4. Hover State: Only for cards with .hover-slide */
.makhana-card.hover-slide:hover .image-slider {
    transform: translateX(-50%); /* Shifts the container to show the back image */
}

/* 5. Bottom Dark Text Bar */
.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: #454545; /* Dark gray background matching your design */
    box-sizing: border-box;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.footer-tag {
    color: #b3c833;       /* Light green/yellow text color for the tag */
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.footer-title {
    color: #ffffff;       /* White text color for the product flavor */
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 6. Anti-Gravity Float Animation */
@keyframes floatAntiGravity {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-12px); /* Moves smoothly up and down */
    }
}



