/* ==========================================================================
   Purnima Foods Industries Pvt. Ltd. - Stylesheet
   Designed & Maintained by Manish Bartaula
   ========================================================================== */

/* Custom Smooth Transitions & Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 8px rgba(255, 107, 53, 0.2);
    }
}

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

/* Animations Utility */
.animate-fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float-slow {
    animation: floatSlow 5s ease-in-out infinite;
}

.animate-glow {
    animation: pulseGlow 3s infinite;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
}

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

/* Scroll Reveal Elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hide Scrollbar while keeping functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Scrollbar for Desktop */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #FFFDF9;
}
::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B35;
}

/* Glassmorphism helpers */
.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.3);
}

.glass-panel-dark {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Map Dot Pulses */
.map-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Image fallback styling */
img {
    transition: transform 0.4s ease, filter 0.3s ease;
}
