/* 
    Styles for The Spott Hair Studio
    Custom overrides and animations beyond Tailwind
*/

html {
    scroll-behavior: smooth;
}

body {
    /* Prevents layout shift during font loading */
    font-feature-settings: "cv11", "ss01";
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #047857; /* brand-emerald */
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #064e3b; /* brand-forest */
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile Menu Transitions */
#menu-btn.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active #bar2 {
    opacity: 0;
}
#menu-btn.active #bar3 {
    width: 100%;
    transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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