/* Custom styles for Button Hair Styles */

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

/* Scroll reveal base — always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animated state — only applied by JS when in view */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion: skip animations entirely */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .hover\\:scale-105:hover {
        transform: none;
    }
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Subtle pattern overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(253, 248, 240, 0.8) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #A7F3D0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6EE7B7;
}
