/* Custom styles for Yellow Button Cafe */

:root {
    --emerald-800: #065f46;
    --emerald-950: #022c22;
    --cream-50: #FDFCF8;
    --cream-100: #F5F5DC;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Navbar transitions */
.navbar-scrolled {
    background-color: rgba(253, 252, 248, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(4, 47, 46, 0.08);
}

.navbar-scrolled .nav-text-color {
    color: #022c22 !important;
}

.navbar-transparent .nav-link {
    color: #022c22 !important;
}

.navbar-scrolled .nav-link {
    color: #022c22 !important;
}

.navbar-scrolled .mobile-link {
    color: #022c22 !important;
}

.navbar-scrolled #mobile-toggle svg {
    stroke: #022c22 !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image hover effects */
.hover\:scale-105 {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection color */
::selection {
    background-color: #065f46;
    color: #F5F5DC;
}
