/* Custom styles for Prosser Thai Bistro */

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

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        /* Default state is visible for accessibility */
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(107, 47, 91, 0.1);
}

.nav-scrolled .font-serif {
    color: #4a1f40 !important;
}

.nav-scrolled .text-plum-800 {
    color: #6b2f5b !important;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8b4572;
}

/* Selection color */
::selection {
    background: #d4a843;
    color: #1f0e1a;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
    padding: 1rem 0;
}

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

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Input focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}
