/* Custom Styles for KBC Bakery */

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

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

::-webkit-scrollbar-track {
    background: #0D1117;
}

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

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

/* Navbar scroll effect */
nav.scrolled {
    background-color: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Gold accent animations */
.text-kbc-gold {
    transition: all 0.3s ease;
}

.text-kbc-gold:hover {
    color: #E5C158;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Form focus effects */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Image hover zoom effect */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Stagger animation for children */
.stagger-children > * {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
