/* Custom styles for LibertyX Bitcoin ATM */

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

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

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

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

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

/* Selection color */
::selection {
  background: #FF6B6B;
  color: #0f0f0f;
}

/* Animation for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure all content is visible by default (no JS required) */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Hero text gradient effect */
.text-gradient {
  background: linear-gradient(135deg, #FF6B6B 0%, #E85A5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\:bg-coral-500\/20 {
  background-color: rgba(255, 107, 107, 0.2);
}

/* Mobile menu animation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 400px;
}

/* Ensure map iframe has proper aspect ratio */
iframe[src*="google.com/maps"] {
  aspect-ratio: 4/3;
}

@media (min-width: 1024px) {
  iframe[src*="google.com/maps"] {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* Print styles */
@media print {
  nav, .animate-bounce {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
