  /* Custom styles for Lebanon Lodge No. 3 */

  html {
    scroll-behavior: smooth;
  }

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

  /* Navigation scroll state */
  #navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  }

  #navbar.scrolled .nav-link {
    color: #5e4a36;
  }

  #navbar.scrolled .nav-link:hover {
    color: #B8572D;
  }

  /* Scroll reveal animations */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  /* Mobile menu transitions */
  #mobileMenu {
    animation: slideDown 0.25s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile nav links */
  .mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s;
  }

  .mobile-link:last-child {
    border-bottom: none;
  }

  .mobile-link:hover {
    color: #B8572D;
  }

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

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

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

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

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

  /* Navbar height */
  #navbar {
    height: 72px;
  }

  /* Hero text shadow for readability */
  h1, h2 {
    text-rendering: optimizeLegibility;
  }

  /* Print styles */
  @media print {
    #navbar, #contact, .scroll-reveal {
      display: none;
    }
    body {
      color: #000;
      background: #fff;
    }
  }
