/* Custom styles for Korner Stone Restaurant */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A192F;
}
::-webkit-scrollbar-thumb {
    background: #1A2F4B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2E9B8B;
}

/* Selection color */
::selection {
    background: rgba(152, 212, 200, 0.3);
    color: #fff;
}

/* Subtle grid pattern for background */
body {
    background-image: 
        linear-gradient(rgba(152, 212, 200, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(152, 212, 200, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

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

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    img,
    .transition-all,
    .group:hover img {
        transition: none;
    }
    img:hover {
        transform: none;
    }
}
