/* Custom Styles for Center Stage Barbershop */

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

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

/* Animation Keyframes */
@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; /* Start hidden */
}

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

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

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

/* Initial state for JS reveal (if JS loads, we hide them first then reveal) */
/* We handle this in script.js to avoid FOUC */

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1A3C34;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}
