/* Custom styles for LibertyX Bitcoin ATM */

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

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(6, 78, 59, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-scrolled .navbar-brand {
    color: white;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

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

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

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

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

/* Selection color */
::selection {
    background: #34d399;
    color: #064e3b;
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Map container responsiveness */
.leaflet-container,
iframe {
    border-radius: 1.5rem;
}
