/* Custom styles for Okidoki Hibachi Express */

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

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

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

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

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

/* Scroll line animation */
@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.animate-scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(255, 252, 248, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(106, 40, 46, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #6a282e !important;
}

.nav-scrolled .nav-logo-sub {
    color: #b54d56 !important;
}

.nav-scrolled .menu-line {
    background: #6a282e !important;
}

/* Mobile menu link hover */
.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ec835e;
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
    width: 100%;
}

/* Fade-in animation for scroll reveal */
.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Image hover zoom effect */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #ec835e;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-scroll-line {
        animation: none;
    }
    
    .group img {
        transition: none;
    }
    
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
