/* Custom styles for Munchy's */

html {
    scroll-behavior: smooth;
}

/* Fade-in animation for scroll reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(15, 31, 15, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #2d552d 0%, #6fa86f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #386b38;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d552d;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .hover\\:scale-105:hover,
    img {
        transition: none;
    }
}
