/* Custom styles for LibertyX Bitcoin ATM */

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

/* Base styles */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #fefdf9;
    color: #4a3525;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Hero section */
.hero-gradient {
    background: linear-gradient(135deg, #fdf4f0 0%, #fce8de 50%, #faedd4 100%);
}

/* CTA section */
.cta-gradient {
    background: linear-gradient(135deg, #e06b3c 0%, #d45022 100%);
}

/* Card shadows */
.card-shadow {
    box-shadow: 0 4px 20px rgba(180, 61, 28, 0.08);
    transition: all 0.3s ease;
}

.card-shadow:hover {
    box-shadow: 0 8px 30px rgba(180, 61, 28, 0.15);
    transform: translateY(-4px);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #e06b3c 0%, #d45022 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d45022 0%, #b43d1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 80, 34, 0.3);
}

/* Secondary button */
.btn-secondary {
    border: 2px solid #e06b3c;
    color: #e06b3c;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e06b3c;
    color: white;
    transform: translateY(-2px);
}

/* Feature icons */
.feature-icon {
    background: linear-gradient(135deg, #fce8de 0%, #fad4c0 100%);
}

/* Navigation links */
.nav-link {
    position: relative;
    color: #4a3525;
    text-decoration: none;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e06b3c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #e06b3c;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

/* Form inputs */
.form-input {
    border: 2px solid #faedd4;
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #e06b3c;
    box-shadow: 0 0 0 3px rgba(224, 107, 60, 0.1);
}

/* Scroll reveal animations (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);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(180deg, #fdf4f0 0%, #fce8de 100%);
    }
    
    .cta-gradient {
        background: linear-gradient(180deg, #e06b3c 0%, #d45022 100%);
    }
}
