/* Custom Styles for Bakery Boys */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animation Utilities */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Scroll Reveal Classes */
/* Default state: visible but slightly lower for transition */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Initial state handled by JS, but CSS ensures it works without JS */
.no-js .scroll-reveal {
    opacity: 1;
    transform: none;
}

/* JS-added class for hidden state */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navigation Transition */
.nav-scrolled {
    background-color: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-default {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: transparent;
}

/* Typography tweaks */
.font-serif {
    line-height: 1.1;
}
