/* Custom styles for Kemp Salon */

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

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(34, 55, 26, 0.08);
}

/* Mobile menu */
.mobile-link {
    transition: all 0.3s ease;
}

.mobile-link:hover {
    transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #56853a;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f5f0e8 inset !important;
    -webkit-text-fill-color: #28421e !important;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #56853a;
    outline-offset: 2px;
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.97);
}

/* Image loading placeholder */
img {
    background-color: #e3edd8;
}
