/* Custom styles for THAT HAIR PLACE */

/* 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;
}

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

/* For browsers that support prefers-reduced-motion, disable animations */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navbar scroll effect */
.navbar-scrolled #nav-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .scroll-reveal {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
