/* Custom styles for A Cut Above the Rest */

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

/* Scroll reveal base styles - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile menu animations */
#mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.35rem, 0.35rem);
}

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.35rem, -0.35rem);
}

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

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

::-webkit-scrollbar-thumb {
    background: #e8573d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #de402a;
}

/* Selection color */
::selection {
    background: #f9d2ca;
    color: #78231a;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Ensure hero content is always visible */
#hero .text-center,
#hero .lg\:text-left,
#hero .relative {
    opacity: 1 !important;
    transform: none !important;
}
