/* Custom CSS for Ajla's Bakery & Grocery */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    background-color: #fdfbf7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Navbar Styles */
#navbar {
    background-color: transparent;
}

#navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#navbar.scrolled a.text-charcoal-900 {
    color: #1a1a1a;
}

#navbar.scrolled a.text-charcoal-900:hover {
    color: #e07a5f;
}

/* Mobile Menu */
#mobile-menu {
    background-color: #fdfbf7;
}

.mobile-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #e07a5f;
}

/* Utility */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

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

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

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

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