/* Custom styles for Roundabout Restaurant */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection color */
::selection {
  background: #f8c5b5;
  color: #7a2417;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e55530;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #fdfaf5;
}
::-webkit-scrollbar-thumb {
  background: #f5d9a0;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e8ab42;
}

/* Subtle pattern overlay for sections */
.bg-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(232, 171, 66, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(229, 85, 48, 0.05) 0%, transparent 50%);
}

/* Image hover zoom container */
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.6s ease;
}
.img-zoom:hover img {
  transform: scale(1.05);
}

/* Animation keyframes (progressive enhancement - only applied when JS enables) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal.animated {
  animation: fadeInUp 0.7s ease forwards;
}

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal.animated {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .img-zoom img {
    transition: none;
  }
  .btn-lift:hover {
    transform: none;
  }
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 6rem 1.5rem 4rem;
  }
  
  .rounded-card {
    border-radius: 20px;
  }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
  .hero-content {
    padding-left: 4rem;
  }
}
