/* Custom styles for Bellevue Bakery */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Decorative animated circles in hero */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.c1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #fbbf24, transparent);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.c2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #d8b4fe, transparent);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.c3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #fde68a, transparent);
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.c4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #e9d5ff, transparent);
    top: 25%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Reveal animations for scroll sections */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .decorative-circle {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(88, 28, 135, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #9333ea;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7e22ce;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #a855f7;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background-color: #f3e8ff;
}
