/* Custom styles for Cj's Drive Inn */

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

/* Navbar transitions */
.nav-color {
    transition: color 0.4s ease;
}

.nav-subtext {
    transition: color 0.4s ease;
}

.nav-border {
    transition: border-color 0.4s ease;
}

.nav-link {
    transition: color 0.3s ease;
}

/* Navbar scrolled state */
.navbar-scrolled .nav-color {
    color: #1e293b;
}

.navbar-scrolled .nav-subtext {
    color: #64748b;
}

.navbar-scrolled .nav-border {
    border-color: #e2e8f0;
}

.navbar-dark .nav-color {
    color: #f1f5f9;
}

.navbar-dark .nav-subtext {
    color: #94a3b8;
}

.navbar-dark .nav-border {
    border-color: rgba(255,255,255,0.2);
}

/* Mobile menu */
.mobile-nav-link {
    transition: color 0.3s ease;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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);
    }
}

/* Hero decorative animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Selection color */
::selection {
    background: #0f766e;
    color: white;
}
