/* Custom styles for All-N-1 Auto */

html {
    scroll-behavior: smooth;
}

/* Scroll reveal - progressive enhancement, only active when JS is available */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* Subtle gradient overlay on hero image */
#hero .relative > div:first-child::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(161, 43, 43, 0.1) 0%, transparent 60%);
    pointer-events: none;
    border-radius: inherit;
}

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

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

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

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

/* Selection color */
::selection {
    background: #fce7e7;
    color: #6b2323;
}
