/* ─── Outlaw Coffee House — Custom Styles ─── */

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

/* Selection color */
::selection {
  background: #800020;
  color: #fff;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ─── Menu cards hover ─── */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f4f4f5;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* ─── Form focus ring fallback ─── */
input:focus,
textarea:focus {
  outline: none;
}

/* ─── Mobile menu animation ─── */
#mobileMenu {
  animation: fadeIn 0.2s ease;
}

/* ─── Hero floating card ─── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-card {
  animation: float 3s ease-in-out infinite;
}

/* ─── Responsive tweaks ─── */
@media (max-width: 640px) {
  .font-display {
    word-wrap: break-word;
  }
}
