  /* Custom styles for Boston Bakery */

  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Scroll reveal base — content visible by default, JS adds animation */
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animated {
      opacity: 0;
      transform: translateY(32px);
    }
    .scroll-reveal.animated.visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(2, 44, 34, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.1);
  }

  #navbar.scrolled .text-cream-100 {
    color: #faf8f4;
  }

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

  #menu-toggle.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #menu-toggle.active #bar2 {
    opacity: 0;
  }
  #menu-toggle.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
  }

  /* Selection color */
  ::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #faf8f4;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #022c22;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 83, 0.3);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 83, 0.5);
  }

  /* Form select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

  /* Gold accent line hover effect */
  a.group {
    position: relative;
  }

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  }
