/* Custom styles for LibertyX Bitcoin ATM */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8f5;
}
::-webkit-scrollbar-thumb {
    background: #c43e3e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a83030;
}

/* Hero entrance animation for below-fold content only */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.5s ease;
}

/* Mobile menu transitions */
.mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(61, 15, 15, 0.08);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .mobile-nav-link {
        transition: none;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c43e3e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, #contact-form button {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
