/* ===== Custom Styles for Sneaky Pete's ===== */

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #160a1f;
  color: #ebe0f2;
}

/* Selection */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: #f5f0f8;
}

/* ===== Floating animation for hero cards ===== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-0.5deg); }
}

@keyframes float-fast {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(0.5deg); }
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 5s ease-in-out infinite;
}

.animate-float-fast {
  animation: float-fast 4s ease-in-out infinite;
}

/* ===== Scroll reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(22, 10, 31, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(126, 82, 164, 0.2) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

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

::-webkit-scrollbar-track {
  background: #160a1f;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #562f70;
}

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

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

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

/* ===== Gold shimmer on hover for cards ===== */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* ===== Subtle pulse for the live dot ===== */
@keyframes pulse-gold {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.animate-pulse {
  animation: pulse-gold 2s ease-in-out infinite;
}

/* ===== Map dark theme overlay ===== */
iframe[title*="Google Maps"] {
  border-radius: 0 0 1rem 1rem;
}
