/* Custom Styles for NMR Restaurant */

/* Base Typography adjustments */
html {
    scroll-behavior: smooth;
}

body {
    /* Custom font loading handled in HTML */
}

/* Floating Animation for Hero Cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card-float:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.card-float:nth-child(2) {
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.card-float:nth-child(3) {
    animation: float 6.5s ease-in-out infinite;
    animation-delay: 2s;
}

/* Fade In Up Animation for Hero Content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-200 {
    animation-delay: 0.2s;
}

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

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #022c22;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translate-x(0);
}

#mobile-menu.closed {
    transform: translate-x(100%);
}
