  /* Base & Utilities */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: #C75B39;
    color: #fff;
  }

  /* Scroll Reveal Animations */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    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);
  }

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

  .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
  .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
  .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

  /* Hero Animations */
  .hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  }

  .hero-anim:nth-child(1) { animation-delay: 0.2s; }
  .hero-anim:nth-child(2) { animation-delay: 0.4s; }
  .hero-anim:nth-child(3) { animation-delay: 0.6s; }
  .hero-anim:nth-child(4) { animation-delay: 0.8s; }

  @keyframes heroReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  #navbar.scrolled .text-white/80 {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  /* Menu item hover */
  .group:hover .border-white\/10 {
    border-color: rgba(199, 91, 57, 0.3);
  }

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

  ::-webkit-scrollbar-track {
    background: #1A1A1A;
  }

  ::-webkit-scrollbar-thumb {
    background: #3D3D3D;
    border-radius: 4px;
  }

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

  /* Image hover container */
  .aspect-square, .aspect-\[4\/5\], .aspect-\[4\/3\] {
    position: relative;
  }

  /* Gallery image overlay on hover */
  .grid-cols-2 .aspect-square:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(199, 91, 57, 0.15);
    border-radius: inherit;
    z-index: 1;
  }

  /* Mobile menu transition */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s ease;
    opacity: 0;
  }

  #mobile-menu.open {
    max-height: 400px;
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s ease 0.1s;
  }

  /* Smooth link underline */
  a {
    text-decoration: none;
  }

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

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

  /* Print styles */
  @media print {
    #navbar, #gallery, .animate-bounce {
      display: none;
    }
    body {
      background: white;
      color: black;
    }
  }
