/* Custom styles for Pam's Country Kitchen */

:root {
    --forest-50: #f0f7f0;
    --forest-100: #d9edda;
    --forest-200: #b6dbb2;
    --forest-500: #2d7a2d;
    --forest-600: #236023;
    --forest-700: #1c4d1c;
    --forest-800: #163a16;
    --forest-900: #0f290f;
    --cream-50: #fdfcf8;
    --cream-100: #faf8f0;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-500);
}

/* Navbar styles */
#navbar {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

/* Menu hover effects */
.menu-item {
    transition: all 0.2s ease;
}

.menu-item:hover {
    transform: translateX(4px);
}

/* Button hover effects */
a {
    transition: all 0.2s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--forest-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu active state */
.mobile-link {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 0 -0.75rem;
}

.mobile-link:hover {
    background-color: var(--forest-100);
}

/* Print styles */
@media print {
    #navbar,
    #menu-toggle,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
