/* Custom Styles for Oming's Kitchen */

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

/* Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
}

/* Default state for animation (visible by default for progressive enhancement) */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Animation classes applied by JS */
.reveal-animate {
    opacity: 0;
    transform: translateY(30px);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(22, 101, 52, 0.15);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #729e73;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4d8050;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image Loading Placeholder */
img {
    background-color: #e3ebe4;
}

/* Selection Color */
::selection {
    background-color: #c5d9c8;
    color: #1f3d22;
}
