/* ================================================
   BarkètPlace — Micro-Animations
================================================ */

/* Pulse animation for star ratings */
@keyframes pulse-star {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Hero background subtle zoom */
@keyframes hero-zoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.1);
    }
}

#hero .hero-bg {
    animation: hero-zoom 10s ease-in-out infinite alternate;
}

/* Floating icons */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Number counter animation */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer loading effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Wave separator */
.wave-separator {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--orange) 0%, var(--brown) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Orange underline decoration */
.decorated {
    position: relative;
    display: inline-block;
}

.decorated::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.decorated.visible::after {
    transform: scaleX(1);
}

/* Card hover glow */
.glow-on-hover {
    transition: box-shadow var(--transition);
}

.glow-on-hover:hover {
    box-shadow: 0 0 0 3px rgba(240, 122, 47, 0.25), var(--shadow-lg);
}

/* Spinning loading indicator */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

/* Scroll indicator on hero */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
}

.scroll-indicator .scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-indicator .scroll-mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 22px;
    }
}

/* Tag pills */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--orange-mid);
}

/* Divider with text */
.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 24px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}