/* Custom styles for Norton's Sealcoating */

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

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

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

/* Navbar styles */
#navbar.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(26, 95, 58, 0.08);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 95, 58, 0.08);
}

.mobile-link:last-child {
    border-bottom: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: #aed4be;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7cb896;
}

/* Selection color */
::selection {
    background: #aed4be;
    color: #0f3d25;
}
