/* Custom styles for The Salon of New Lexington */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Fade-in animation for hero */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Scroll reveal animations */
.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);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .group-hover\:scale-110 {
        transform: none;
    }
}

/* Navbar active state */
.nav-link-active {
    color: #0d9488;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Image aspect ratio utilities */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Print styles */
@media print {
    .fixed,
    .animate-bounce,
    .scroll-reveal {
        position: static;
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    header {
        position: static;
    }
}
