/* Custom Styles for Nel's Cafe */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2d4f33;
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Navbar Active State */
.navbar-scrolled {
    background: rgba(253, 252, 250, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Menu Card Hover */
.bg-forest-900\/50:hover {
    border-color: rgba(107, 160, 114, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img:hover {
    transition: transform 0.5s ease;
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid #9cc39e;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: #c6dfc8;
    color: #1f3422;
}

/* Print Styles */
@media print {
    nav,
    #mobile-menu,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #1f3422;
        background: white;
    }
}
