/* Custom Styles for Hair Studio 64 */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar styles */
#navbar {
    background: rgba(255, 252, 247, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(244, 228, 176, 0.3);
}

#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

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

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #d13d22;
}

/* Selection color */
::selection {
    background: #f9c4b3;
    color: #732a1e;
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Gallery hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Service card hover */
.group:hover .group-hover\:bg-terracotta-500 {
    background-color: #e05232;
}

.group:hover .group-hover\:bg-sand-400 {
    background-color: #eccfa0;
}

/* Testimonial card hover */
.hover\:bg-white\/15:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
