/* Custom styles for Watercraft Mobile Marine */

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scroll reveal animations - progressive enhancement, only applied via JS */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(88, 28, 135, 0.08);
}

/* Service card hover - custom transition for text color changes */
.service-card {
    transition: background-color 0.4s ease;
}

/* Subtle pattern overlay on sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(126, 34, 206, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Custom selection color */
::selection {
    background-color: rgba(168, 85, 247, 0.2);
    color: #581c87;
}
</style>
