/* Custom styles for 24K Golden Fried Fish and More */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c24321;
}

/* Selection color */
::selection {
    background: #f2c7ba;
    color: #6c2618;
}

/* Animation classes for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Hover effects for cards */
.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-0.25rem);
}

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

img:hover {
    transform: scale(1.05);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
input:focus, textarea:focus, button:focus, a:focus {
    outline: 2px solid #d55a35;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    img {
        transition: none;
    }
    
    img:hover {
        transform: none;
    }
}

/* Tablet and desktop adjustments */
@media (min-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
