/* Custom Styles for Barber Studio Nashville */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animation - Progressive Enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For browsers that don't support prefers-reduced-motion, 
   ensure content is still visible if JS doesn't load */
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Loading Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Focus Styles for Accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #6B1D2A;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4A141D;
}

/* Selection Color */
::selection {
    background: #6B1D2A;
    color: white;
}
