/* Custom styles for California Burritos Express & Bar */

/* Base font rendering */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth transitions for interactive elements */
a, button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover zoom container */
.rounded-2xl, .rounded-3xl {
  overflow: hidden;
}

/* Ensure images don't cause layout shift */
img {
  content-visibility: auto;
}

/* Subtle text shadow for hero readability */
#hero h1 {
  text-shadow: 0 2px 40px rgba(12, 12, 14, 0.3);
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(5, 5, 6, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(63, 63, 70, 0.5);
}

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

/* Scroll reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

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

/* Print styles */
@media print {
  nav, .scroll-indicator {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .font-serif {
    font-size: 0.9em;
  }
}
