  /* Custom styles for World Of Fries */

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

  /* Selection color */
  ::selection {
    background-color: rgba(255, 107, 53, 0.3);
    color: #ffffff;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1a1a1a;
  }
  ::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #ff6b35;
  }

  /* Reveal animations — progressive enhancement, hidden by default, shown via JS */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hero reveal animations */
  .reveal-hero {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .reveal-hero.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered hero reveals */
  .reveal-hero:nth-child(1) { transition-delay: 0.1s; }
  .reveal-hero:nth-child(2) { transition-delay: 0.2s; }
  .reveal-hero:nth-child(3) { transition-delay: 0.3s; }
  .reveal-hero:nth-child(4) { transition-delay: 0.4s; }
  .reveal-hero:nth-child(5) { transition-delay: 0.5s; }

  /* Staggered section reveals */
  .reveal:nth-child(1) { transition-delay: 0.1s; }
  .reveal:nth-child(2) { transition-delay: 0.2s; }
  .reveal:nth-child(3) { transition-delay: 0.3s; }
  .reveal:nth-child(4) { transition-delay: 0.4s; }
  .reveal:nth-child(5) { transition-delay: 0.5s; }

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Image hover zoom */
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .overflow-hidden:hover img {
    transform: scale(1.05);
  }

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

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-hero {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
    html {
      scroll-behavior: auto;
    }
    .overflow-hidden img {
      transition: none;
    }
  }

  /* Typography adjustments */
  @media (max-width: 640px) {
    .font-serif {
      line-height: 1.1;
    }
  }

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