/* Custom Styles for Jane Dough's */

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

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

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

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

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

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for images */
img {
    transition: transform 0.5s ease;
}

/* Button focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar background on scroll */
.navbar-scrolled {
    background-color: rgba(250, 246, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Decorative blob animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}
