/* Custom styles for Premier Grooming Lounge */

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

/* Hero animations - only for below-fold progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .hero-image {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
    }
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Product card hover effects */
.product-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

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

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

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
