/* Custom Styles for Rin Tea House */

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

::-webkit-scrollbar-track {
    background: #05100C;
}

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

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

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

/* Focus Styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

/* Smooth Transitions */
a, button, input, textarea {
    transition: all 0.3s ease;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .reveal-on-scroll {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
