/* 
    Custom styles for Tune-Up Place
    Uses CSS variables defined in tailwind config
*/

:root {
    --color-brand-cream: #F9F7F2;
    --color-brand-emerald: #0F766E;
    --color-brand-dark: #134E4A;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-brand-cream);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #134E4A;
}

/* Animation Utilities */
@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;
}

/* Scroll Reveal Utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}
