/* Custom styles for Foxy Nails */

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(12, 45, 77, 0.08);
}

/* Hero image fade-in handled by JS for progressive enhancement */
.hero-image-enter {
    animation: heroImageIn 0.8s ease-out forwards;
}

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

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover glow */
.group:hover .service-glow {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f6fb;
}

::-webkit-scrollbar-thumb {
    background: #b9d9f2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8ec2eb;
}

/* Selection color */
::selection {
    background: #6ee7b7;
    color: #071a2e;
}
