/* Custom styles for LibertyX Bitcoin ATM */

:root {
    --color-dark-950: #080605;
    --color-dark-900: #0d0b09;
    --color-sand-50: #fefdfb;
    --color-sand-100: #fdf8f0;
    --color-sand-200: #faedd5;
    --color-sand-300: #f5d9a8;
    --color-sand-400: #efc175;
    --color-sand-500: #e8a84a;
    --color-sand-600: #d98c2e;
    --color-sand-700: #b57022;
    --color-sand-800: #8e5820;
    --color-sand-900: #6e451d;
    --color-sand-950: #3a240e;
    --color-terra-50: #faf5f2;
    --color-terra-100: #f0e4dc;
    --color-terra-200: #e0c8b8;
    --color-terra-300: #cfa894;
    --color-terra-400: #c4896e;
    --color-terra-500: #b87052;
    --color-terra-600: #a85942;
    --color-terra-700: #8a4637;
    --color-terra-800: #713a30;
    --color-terra-900: #5d312a;
    --color-terra-950: #321713;
}

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(8, 6, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 168, 74, 0.1);
}

/* FAQ toggle */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content.open {
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

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

::-webkit-scrollbar-track {
    background: var(--color-dark-950);
}

::-webkit-scrollbar-thumb {
    background: var(--color-sand-800);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-sand-700);
}

/* Selection color */
::selection {
    background: rgba(232, 168, 74, 0.3);
    color: var(--color-sand-100);
}

/* Map filter override for dark mode */
iframe[title*="Location Map"] {
    filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9) !important;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-sand-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--color-sand-400), var(--color-terra-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect */
.glow-gold {
    box-shadow: 0 0 40px rgba(232, 168, 74, 0.15);
}

/* Card hover lift effect */
.group:hover {
    transform: translateY(-2px);
}

.group {
    transition: transform 0.3s ease;
}
