/* =============================================
   PARTY FEST – EFFECTS & ANIMATIONS
   ============================================= */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---- Hero logo ring spin ---- */
.pf-hero-logo-badge::before {
    animation: pf-ring-spin 8s linear infinite;
}

/* ---- Category cards ---- */
.pf-cat-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
}

/* ---- Product cards ---- */
.pf-product-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
}

/* ---- Service tags ---- */
.pf-service-tag {
    transition: all 0.25s ease;
}

/* ---- Value prop bottom reveal ---- */
.pf-valueprop-card::before {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Button press feel ---- */
.pf-btn-primary:active,
.pf-btn-outline:active,
.pf-btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* ---- Nav links underline ---- */
.pf-navbar-wrapper ul li a {
    position: relative;
}

.pf-navbar-wrapper ul li a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.pf-navbar-wrapper ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---- Carousel controls ---- */
.pf-testimonials-section .carousel-control-prev,
.pf-testimonials-section .carousel-control-next {
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.pf-testimonials-section .carousel-control-prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.pf-testimonials-section .carousel-control-next:hover {
    transform: translateY(-50%) translateX(2px);
}

/* ---- Footer nav links ---- */
.pf-footer-nav li a {
    transition: color 0.25s ease;
}

/* ---- Hours rows ---- */
.pf-hours-list li {
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.pf-hours-list li:hover {
    padding-left: 48px;
}

/* ---- Scroll reveal fade-in utility ---- */
.pf-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pf-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Image grayscale hover (value props section) ---- */
.pf-valueprop-icon {
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pf-valueprop-card:hover .pf-valueprop-icon {
    transform: scale(1.08);
}

/* ---- Hero badge pulse ---- */
@keyframes pf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

/* ---- Ring spin ---- */
@keyframes pf-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
