/* Custom styles for Mom's Teriyaki */

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0a08;
}
::-webkit-scrollbar-thumb {
  background: #3b0a0c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6c1a1e;
}

/* Selection color */
::selection {
  background: rgba(184, 40, 40, 0.4);
  color: #f5f5f5;
}

/* Gold shimmer animation for special text */
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Navbar scroll state */
nav.scrolled {
  background: rgba(7, 5, 4, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 75, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav.scrolled .nav-link {
  color: #d6d3d1;
}

nav.scrolled .nav-link:hover {
  color: #d4a84b;
}

/* Menu item hover effect */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Fade-in animation for scroll reveal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    animation: none;
    opacity: 1;
  }
  .group-hover\:scale-110 {
    transform: none;
    transition: none;
  }
  .animate-bounce {
    animation: none;
  }
}

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

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

/* Image placeholder fallback */
img {
  background: linear-gradient(135deg, #1a1512 0%, #2a1f1a 100%);
}

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

/* Gold line decoration */
.gold-line {
  position: relative;
}
.gold-line::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #d4a84b, transparent);
}
