/* Custom styles for Big Sky Radiator */

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

#mobile-menu.open {
    max-height: 400px;
}

/* Subtle gradient text for special elements */
.gradient-text {
    background: linear-gradient(135deg, #a85574, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #a85574;
    outline-offset: 2px;
}

/* Nav scroll state */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(123, 49, 75, 0.08);
}

/* Service card hover glow */
.group:hover .w-14 {
    box-shadow: 0 8px 25px rgba(168, 85, 116, 0.2);
}
