/* Custom styles for LibertyX Bitcoin ATM */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Custom font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

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

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

::-webkit-scrollbar-thumb {
    background: #ff6b4f;
    border-radius: 5px;
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.float-animation-delay-1 {
    animation-delay: 0.5s;
}

.float-animation-delay-2 {
    animation-delay: 1s;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #ff6b4f 0%, #e85a3c 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 79, 0.3);
}

.btn-secondary {
    border: 2px solid #ff6b4f;
    color: #ff6b4f;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ff6b4f;
    color: #0d0d0d;
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 79, 0.1);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Section reveal animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid pattern background */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 107, 79, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 79, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient overlay */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.85) 100%);
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid #ff6b4f;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif-display {
        font-size: 2.5rem;
    }
    
    .float-animation {
        animation: none;
    }
}
