/* Siddhababa Hardware Theme - Micro-animations & Transitions */

/* --- Card Lift Effects --- */
.lift-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.lift-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* --- Entrance Animation Framework (Scroll Triggered) --- */
.sh-animate {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sh-animate.fade-in {
    transform: translateY(0);
}
.sh-animate.slide-up {
    transform: translateY(35px);
}
.sh-animate.slide-left {
    transform: translateX(35px);
}
.sh-animate.slide-right {
    transform: translateX(-35px);
}
.sh-animate.scale-up {
    transform: scale(0.92);
}

/* Animation Active Trigger States */
.sh-animated {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* --- Delay classes for items list --- */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* --- Pulse Micro-animation (e.g. key actions / badges) --- */
@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}
.pulse-element {
    animation: softPulse 2s infinite;
}

/* Hover Zoom for Images */
.img-zoom-hover {
    overflow: hidden;
}
.img-zoom-hover img {
    transition: transform 0.5s ease;
}
.img-zoom-hover:hover img {
    transform: scale(1.08);
}

/* Parallax Scroll Mock Helper */
.bg-fixed {
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .bg-fixed {
        background-attachment: scroll; /* Disable fixed attachment for performance on mobile */
    }
}
