/* Custom styles for Super Nails & Spa */

html {
    scroll-behavior: smooth;
}

/* Ensure reveal animations respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always show content even without JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f7f0;
}
::-webkit-scrollbar-thumb {
    background: #6aad6a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4d8f4d;
}

/* Form styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #4d8f4d;
    box-shadow: 0 0 0 3px rgba(77, 143, 77, 0.15);
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Selection color */
::selection {
    background: #bfe1bf;
    color: #1a3a1a;
}
