/* Custom Styles for Bliss Hair Studio */

/* Base Typography & Colors */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fafaf9; /* stone-50 */
}

/* Hero Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Animation Classes */
.scroll-reveal {
    opacity: 1; /* Default visible for accessibility/no-JS */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When JS adds this class, trigger the animation */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Initial state for JS-enhanced reveal (hidden until scroll) */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #841d41; /* plum-800 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6e1b3b; /* plum-950 */
}

/* Form Focus Styles */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(132, 29, 65, 0.2);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}
