/* LibertyX Bitcoin ATM — Custom Styles */

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Smooth anchor scrolling with offset */
@media (prefers-reduced-motion: no-preference) {
    :target {
        scroll-margin-top: 80px;
    }
}

/* Selection Color */
::selection {
    background-color: rgba(196, 87, 58, 0.3);
    color: #F2F2F7;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E07D63;
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* Utility: hide visually but keep accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(28, 28, 30, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(58, 58, 60, 0.5) !important;
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.3) !important;
}

/* Coral line gradient */
.coral-line {
    background: linear-gradient(135deg, #C4573A 0%, #E07D63 100%);
}

/* Custom card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(196, 87, 58, 0.08);
}

/* Hero text gradient (if needed) */
.text-gradient-coral {
    background: linear-gradient(135deg, #E07D63, #C4573A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .reveal-on-scroll {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    a {
        color: black !important;
        text-decoration: underline !important;
    }
}
