/* Custom Styles for Bhavani Foods Farmer Market */

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

body {
    background-color: #F9F7F2;
    color: #1A4D2E;
}

/* Typography Adjustments */
h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

p, li, a, button, .font-sans {
    font-family: 'Lato', sans-serif;
}

/* Animation Keyframes */
@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; }

/* Scroll Reveal Utility Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0F311D;
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Button Focus States */
button:focus, a:focus {
    outline: 2px solid #D4A373;
    outline-offset: 2px;
}
