/* Custom Styles for Yummy Pho */

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

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

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

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(17, 17, 17, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(120, 0, 0, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Hero Gradient Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Feature Card Hover */
.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(120, 0, 0, 0.2);
}

/* Menu Item Hover */
.menu-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(120, 0, 0, 0.15);
}

/* Gold Text Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5d78e 0%, #d4a843 50%, #e8c56d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Glow Effects */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.4) !important;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Form Focus States */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Decorative Line Animation */
@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Pulse Animation for Badge */
@keyframes softPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-soft-pulse {
    animation: softPulse 2s ease-in-out infinite;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-card:hover,
    .menu-item:hover,
    img:hover {
        transform: none;
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Loading State for Buttons */
button:active {
    transform: scale(0.98);
}
