/* Five Star Cleaner — Custom Styles */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 10, 16, 0.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.08);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

/* Selection */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #f7f7f8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #14141e;
}
::-webkit-scrollbar-thumb {
    background: #4a4a62;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5c5c78;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid rgba(255, 107, 74, 0.5);
    outline-offset: 2px;
}

/* Select styling */
select option {
    background: #2a2a3a;
    color: #ececf0;
}
