/* Custom Styles for Matcha Panda Cafe */

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

body {
    background-color: #F9F9F7; /* Cream */
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal Animations */
.reveal-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-text:nth-child(1) { animation-delay: 0.1s; }
.reveal-text:nth-child(2) { animation-delay: 0.3s; }
.reveal-text:nth-child(3) { animation-delay: 0.5s; }
.reveal-text:nth-child(4) { animation-delay: 0.7s; }

.reveal-image {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Navbar Scroll State */
.navbar-scrolled {
    background-color: rgba(249, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

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

/* Mobile Menu Transitions */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* Selection Color */
::selection {
    background-color: #c7dfc7;
    color: #223822;
}

/* Smooth Scroll Offset for Fixed Nav */
section[id] {
    scroll-margin-top: 80px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6fa16f;
}
