/* Custom styles for Chrissy's At Bayfront */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d97706, #d4a574);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f59e0b, #e8c9a0);
}

/* Selection color */
::selection {
    background: rgba(217, 119, 6, 0.3);
    color: #f5d0e0;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #2d1022 0%, #4a1836 100%);
    min-height: 100px;
}

/* Subtle text glow for headings */
.font-serif {
    text-shadow: 0 0 40px rgba(217, 119, 6, 0.1);
}

/* Card hover shadow */
.group:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold accent line animation */
.w-12.h-0\.5 {
    transition: width 0.3s ease;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(26, 10, 20, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}
