/* Custom styles for Asian Bistro */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040914;
}
::-webkit-scrollbar-thumb {
    background: #c47f12;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e9a01e;
}

/* Selection color */
::selection {
    background: rgba(196, 127, 18, 0.3);
    color: #f7d06e;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f7d06e 0%, #c47f12 50%, #e9a01e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle shimmer animation for decorative elements */
@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Scroll reveal base - content always visible */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(4, 9, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(196, 127, 18, 0.1);
}

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

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Ensure all text is readable */
.bg-navy-950, .bg-navy-900, .bg-navy-800 {
    background-color: inherit;
}

/* Gold accent line animation */
@keyframes expandWidth {
    from { width: 0; }
    to { width: 3rem; }
}

.animate-expand {
    animation: expandWidth 0.6s ease forwards;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #0f1d3a 0%, #152a52 100%);
}

/* Ensure proper contrast for all interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #c47f12;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}
