/* Custom Styles for Dys Country Kitchen */

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

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(154, 42, 42, 0.1);
}

.nav-scrolled .nav-link {
    color: #2c2424 !important;
}

.nav-scrolled a {
    color: #2c2424 !important;
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #9a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7d2222;
}

/* Selection Color */
::selection {
    background: #f9e4e4;
    color: #2d0a0a;
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #9a2a2a;
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* Button Hover Effects */
.group:hover img {
    transform: scale(1.05);
}

/* Gradient Text Support */
.text-gradient {
    background: linear-gradient(135deg, #9a2a2a, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
