/* Custom styles for Dragons Fire Spirit Cafe' */

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(203, 217, 230, 0.9);
}

/* Hero section - dark overlay ensures white text readability */
#hero {
    background-color: #0a0f1e;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(203, 217, 230, 0.8);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: #5eead4;
    background: rgba(17, 30, 53, 0.5);
}

/* Button focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #f0fdf9;
}

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

::-webkit-scrollbar-track {
    background: #0a0f1e;
}

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

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #111d35 0%, #1a2850 100%);
}
