/* Custom styles for Fix It Utah */

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

/* Reveal animations - 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);
    }
}

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

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

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(126, 61, 105, 0.1);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #944c80, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(174, 100, 152, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}
