/* Custom styles for JE Auto Upholstery */

:root {
    --forest-50: #f2f7f2;
    --forest-100: #e3efe3;
    --forest-200: #c5dfc5;
    --forest-300: #97c497;
    --forest-400: #659f65;
    --forest-500: #447d44;
    --forest-600: #346034;
    --forest-700: #2a4d2a;
    --forest-800: #213d21;
    --forest-900: #1a301a;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Scroll reveal base - content always visible */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only animate when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle hover lift for cards */
.group:hover .group-hover\\:bg-forest-700 {
    background-color: var(--forest-700);
}

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

::-webkit-scrollbar-track {
    background: var(--forest-50);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-500);
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--forest-500);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
