/* Custom styles for Tiffany's Pumpkin Patch */

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom color variables */
:root {
    --forest-green: #2C5F2D;
    --forest-green-light: #3A7D3A;
    --pumpkin-orange: #D97706;
    --pumpkin-light: #FFD54F;
    --off-white: #F5F5F4;
    --stone-dark: #292524;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1F4A22;
}

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-blur-md;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #2C5F2D;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
