/* Custom Styles for Yoshida Restaurant */

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

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

::-webkit-scrollbar-track {
    background: #1a0a1a;
}

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

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

/* Floating animations */
.floating-card {
    animation: float 3s ease-in-out infinite;
}

.floating-card-delay {
    animation: float 3s ease-in-out infinite 1.5s;
}

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

/* Nav link hover effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #d4a574;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(26, 10, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.3);
}

/* Image hover zoom effect */
img {
    transition: transform 0.3s ease;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Card hover effect */
.menu-card {
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Button pulse animation */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 165, 116, 0);
    }
}

.btn-pulse {
    animation: pulse-gold 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card,
    .floating-card-delay {
        display: none;
    }
}
