/* Custom styles for St. Andrew's Pub and Pizza */

/* Geometric shapes and decorative elements */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

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

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

::-webkit-scrollbar-track {
  background: #FDF8F0;
}

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

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

/* Animation keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Animation classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 7s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

/* Hover lift effect */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, #e05228 0%, #c73a18 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ee724a 0%, #e05228 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 82, 40, 0.4);
}

.btn-secondary {
  border: 3px solid #e05228;
  color: #e05228;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #e05228;
  color: #fff;
}

/* Navigation link underline effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: #e05228;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Card accent line */
.card-accent {
  position: relative;
}

.card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e05228, #f49e82);
}

/* Menu item image hover */
.menu-item:hover .menu-img {
  transform: scale(1.05);
}

.menu-img {
  transition: transform 0.4s ease;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 3px solid #e05228;
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
}
