/* 
 * M&L Food Truck and Catering - Custom Styles
 * Color Palette: Terracotta (#B85C45), Sand (#F5F0EB), Cream (#FDFBF7)
 */

:root {
    --color-terracotta: #B85C45;
    --color-terracotta-dark: #964836;
    --color-sand: #F5F0EB;
    --color-cream: #FDFBF7;
    --color-stone-900: #1C1917;
    --color-stone-800: #292524;
    --color-stone-700: #44403C;
    --color-stone-600: #57534E;
    --color-stone-500: #78716C;
    --color-stone-400: #A8A29E;
    --color-stone-300: #D6D3D1;
    --color-stone-200: #E7E5E4;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--color-stone-800);
    background-color: var(--color-cream);
}

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

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

/* Custom 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;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 1px var(--color-terracotta);
}

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

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-stone-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-terracotta);
}

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

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

/* Button Hover Effects */
button, 
a {
    transition: all 0.3s ease;
}

/* Selection Color */
::selection {
    background-color: var(--color-terracotta);
    color: white;
}
