/* Custom styles for Red's Barber Shop */

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(43, 25, 28, 0.3);
}

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

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

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

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

/* Selection color */
::selection {
    background: #ffc818;
    color: #2b191c;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 183, 1, 0.2);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Print styles */
@media print {
    nav, .scroll-reveal {
        display: block !important;
        opacity: 1 !important;
    }
}
