/* 
   BeautyParlour Animations Stylesheet - animations.css
   Custom micro-animations, keyframes, transitions, and hover glow classes
*/

/* Smooth Scroll Behaviour */
html {
    scroll-behavior: smooth;
}

/* Floating WhatsApp & Call Bounce Animation */
@keyframes pulse-bounce {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

.floating-whatsapp, .floating-call {
    animation: pulse-bounce 3s infinite ease-in-out;
}

.floating-whatsapp {
    animation-delay: 0.5s;
}

.floating-call {
    animation-delay: 1.5s;
}

/* Button Glow Hover Effect */
@keyframes button-glow {
    0% {
        box-shadow: 0 0 5px rgba(233, 30, 99, 0.4), 0 0 10px rgba(233, 30, 99, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(233, 30, 99, 0.7), 0 0 30px rgba(233, 30, 99, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(233, 30, 99, 0.4), 0 0 10px rgba(233, 30, 99, 0.2);
    }
}

.btn-premium:hover, .btn-outline-premium:hover {
    animation: button-glow 2s infinite ease-in-out;
}

/* Floating social bounce for panel */
.floating-social-panel a {
    transition: transform 0.3s ease;
}

.floating-social-panel a:hover {
    transform: scale(1.15) translateX(-3px);
}

/* Image Zoom and Overlay Transition */
.zoom-effect-wrapper {
    overflow: hidden;
    position: relative;
}

.zoom-effect-img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.zoom-effect-wrapper:hover .zoom-effect-img {
    transform: scale(1.12);
}

/* Hover reveal effect */
.hover-reveal-box {
    position: relative;
    overflow: hidden;
}

.hover-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-reveal-box:hover .hover-reveal-overlay {
    opacity: 1;
}

/* Counter Text Animation classes (for JS integration) */
.counter-item {
    text-align: center;
    padding: 20px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-pink);
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.counter-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Shimmer placeholder/loading effect for cards */
@keyframes placeholder-shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.shimmer-loading {
    animation-duration: 1.25s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeholder-shimmer;
    animation-timing-function: linear;
    background: #f6f6f6;
    background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
    background-size: 800px 104px;
    position: relative;
}
