/* Custom styles for LibertyX Bitcoin ATM */

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

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

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

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

/* Gold accent line animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer-line {
    background: linear-gradient(90deg, transparent, #C8A97E, transparent);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Card hover effects */
.group:hover .group-hover\:bg-terracotta-500\/20 {
    background-color: rgba(196, 116, 79, 0.2);
}

/* Text selection color */
::selection {
    background-color: rgba(196, 116, 79, 0.3);
    color: #F5E8E0;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #C4744F;
    outline-offset: 2px;
}

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

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

/* Fade in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays */
.fade-in-up-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-up-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-up-delay-3 {
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2.5rem;
    }
    
    .font-serif.text-5xl {
        font-size: 3rem;
    }
    
    .font-serif.text-6xl {
        font-size: 3.5rem;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
