/* Custom styles for The Dough Bowl at River Chic */

/* Base styles */
* {
    scroll-behavior: smooth;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

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

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

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

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

/* Selection color */
::selection {
    background: #fbbf24;
    color: #1a0d12;
}

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(26, 13, 18, 0.95) !important;
    backdrop-filter: blur(20px);
}

/* Mobile menu transitions */
#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: 400px;
    opacity: 1;
}

/* Link hover effects */
a {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Button hover lift */
button,
a[href] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
a[href]:hover {
    transform: translateY(-1px);
}

button:active,
a[href]:active {
    transform: translateY(0);
}

/* Gold gradient text effect (optional utility) */
.text-gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect for cards */
.card-glow {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.05);
}

.card-glow:hover {
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
