  /* Custom styles for Beach Break Y6 */

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .font-serif {
    font-family: 'Cormorant Garamond', serif;
  }

  /* Scroll reveal animations */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    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);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }

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

  /* Staggered delays for grid items */
  @media (prefers-reduced-motion: no-preference) {
    .reveal:nth-child(1) { transition-delay: 0.05s; }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.15s; }
    .reveal:nth-child(4) { transition-delay: 0.2s; }
    .reveal:nth-child(5) { transition-delay: 0.25s; }
    .reveal:nth-child(6) { transition-delay: 0.3s; }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(254, 248, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(163, 30, 62, 0.08);
  }

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

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

  ::-webkit-scrollbar-track {
    background: #fdf1ee;
  }

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

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

  /* Selection color */
  ::selection {
    background: #fce7eb;
    color: #702033;
  }

  /* Focus styles */
  input:focus, textarea:focus {
    outline: none;
  }

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #fce7eb 0%, #fad0d9 100%);
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }

    html {
      scroll-behavior: auto;
    }
  }
