/**
 * Renew Unisex Salon - Animation Stylesheet
 */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(196, 154, 86, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(196, 154, 86, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 154, 86, 0); }
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes shineEffect {
    0% { left: -100%; }
    100% { left: 200%; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease forwards;
}

.pulse-gold {
    animation: pulseGold 2s infinite;
}

.float-gentle {
    animation: floatGentle 3.5s ease-in-out infinite;
}

.shine-hover-box {
    position: relative;
    overflow: hidden;
}
.shine-hover-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-25deg);
    transition: none;
}
.shine-hover-box:hover::after {
    animation: shineEffect 0.85s ease;
}

/* ==========================================================================
   Infinite Marquee & Image Scrolling Animations
   ========================================================================== */
@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulseStatusDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 155, 114, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(76, 155, 114, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 155, 114, 0); }
}

.status-dot-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulseStatusDot 1.8s infinite;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
    will-change: transform;
}

.marquee-track-reverse {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScrollReverse 40s linear infinite;
    will-change: transform;
}

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

.marquee-card {
    flex: 0 0 280px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(196, 154, 86, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.marquee-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.marquee-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: #c49a56;
    box-shadow: 0 16px 35px rgba(196, 154, 86, 0.3);
}

.marquee-card:hover img {
    transform: scale(1.08);
}

.marquee-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 19, 19, 0.95) 0%, rgba(21, 19, 19, 0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #ffffff;
    z-index: 2;
}

.marquee-card-overlay h5,
.marquee-card-overlay .marquee-title {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.marquee-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(21, 19, 19, 0.85);
    border: 1px solid #c49a56;
    color: #dec18d;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Scroll Effects & Scroll-Triggered Reveal Animations
   ========================================================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #927044 0%, #c49a56 50%, #dec18d 100%);
    box-shadow: 0 0 10px rgba(196, 154, 86, 0.8);
    transition: width 0.1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
    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);
    will-change: opacity, transform;
}

.reveal-fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Stagger Children Animation */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(7) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-revealed > *:nth-child(8) { transition-delay: 0.64s; opacity: 1; transform: translateY(0); }

/* Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(21, 19, 19, 0.9);
    border: 1.5px solid #c49a56;
    color: #dec18d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 995;
}

.back-to-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--color-gold);
    color: #151313;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(196, 154, 86, 0.45);
}

/* ==========================================================================
   Parallax Depth & Ambient Floating Animations
   ========================================================================== */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-layer {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.parallax-float-slow {
    animation: parallaxFloatSlow 8s ease-in-out infinite alternate;
}

.parallax-float-fast {
    animation: parallaxFloatFast 5s ease-in-out infinite alternate;
}

@keyframes parallaxFloatSlow {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes parallaxFloatFast {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
    100% { transform: translateY(0px) scale(1); }
}

.parallax-hero-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 115%;
    top: -8%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s linear;
}



