/* Custom styles for Sign-Mobile of Kansas City */

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

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

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

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

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

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #efc24a;
    outline-offset: 2px;
}

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

#mobile-menu.open {
    max-height: 500px;
    padding-top: 0;
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(30, 22, 37, 0.08);
}

/* Subtle pattern overlay for hero */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(239, 194, 74, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(116, 96, 149, 0.08) 0%, transparent 50%);
}

/* Image loading placeholder */
img {
    background-color: #ece7f2;
}

/* Selection color */
::selection {
    background-color: #efc24a;
    color: #1d1625;
}
