/* Custom styles for Jo For The Road */

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

/* Base styles */
body {
    background-color: #0a1a2e;
    color: #d9e2ec;
}

/* Navbar styles */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background-color: rgba(10, 26, 46, 0.95);
    border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}

/* Mobile menu */
#mobile-menu {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(102, 125, 152, 0.2);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Menu tabs */
.menu-tab {
    color: #9fb3c8;
    background: transparent;
}

.menu-tab.active {
    color: #0a1a2e;
    background: #4ade80;
}

.menu-tab:hover:not(.active) {
    color: #86efac;
    background: rgba(74, 222, 128, 0.1);
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #334e68;
}

/* Selection color */
::selection {
    background-color: rgba(74, 222, 128, 0.3);
    color: #ffffff;
}

/* Image hover container */
.rounded-2xl {
    overflow: hidden;
}

/* Button hover lift */
a, button {
    transition: all 0.2s ease;
}

/* Map container */
iframe {
    border-radius: 0 0 1rem 1rem;
}
