/* 
    Nana's Bakery Custom Styles
    Theme: Fresh, Airy, Pastel Forest Green & Cream
*/

html {
    scroll-behavior: smooth;
}

body {
    /* Custom font setup applied via Tailwind, but ensuring fallback */
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Scrollbar styling for a polished look */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f5f0dc; /* cream-200 */
}
::-webkit-scrollbar-thumb {
    background: #9cc5a0; /* forest-300 */
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #72a978; /* forest-400 */
}

/* Reveal Animation Classes */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

/* Active states for scroll reveal */
.reveal-active.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Navbar Glass Effect when scrolled */
nav.scrolled {
    background: rgba(253, 252, 248, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
