/* Custom styles for Pinto Sushi Thai Kitchen */

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

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

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

::-webkit-scrollbar-thumb {
    background: #C05640;
    border-radius: 5px;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(13, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.floating-badge {
    animation: float 3s ease-in-out infinite;
}

/* Image hover effects */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button hover effects */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Custom selection color */
::selection {
    background: #C05640;
    color: white;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    img, button, a {
        transition: none;
    }
    
    .floating-badge {
        animation: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #C05640 0%, #e99a88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(192, 86, 64, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #C05640;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading state for images */
img {
    background: linear-gradient(90deg, #fdf6ec 25%, #faebd3 50%, #fdf6ec 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}
