/* Custom styles for Taqueria Bar N2 */

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

/* Marquee animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 25s linear infinite;
}

/* Hero animations */
.hero-headline {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards 0.3s;
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards 0.1s;
}

.hero-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards 0.5s;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards 0.7s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-default {
  background: transparent;
}

/* Mobile menu */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Selection color */
::selection {
  background: #E85D4A;
  color: white;
}

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

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

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

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

/* Image hover effects */
.rounded-2xl img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form styles */
input, textarea {
  border: 1px solid rgba(45, 45, 45, 0.2);
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #E85D4A;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-marquee {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
