/* Custom styles for LibertyX Bitcoin ATM */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6;
    color: #141414;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

/* Utility classes */
.thin-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #a0a0a0, transparent);
}

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #ff6b4a 0%, #f05230 100%);
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-outline {
    border: 1px solid #a0a0a0;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #ff6b4a;
    color: #ff6b4a;
}

/* Cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Background gradients */
.hero-gradient {
    background: linear-gradient(135deg, #141414 0%, #2d2d2d 50%, #1f1f1f 100%);
}

.coral-gradient {
    background: linear-gradient(135deg, #ff6b4a 0%, #f05230 100%);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

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

/* Section spacing */
section {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

@media (max-width: 767px) {
    section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #ff6b4a;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6b6b6b;
}

/* Selection color */
::selection {
    background-color: #ff6b4a;
    color: #ffffff;
}
