  /* Custom styles for Ritter Palm Farm */

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

  /* Selection color */
  ::selection {
    background-color: rgba(232, 115, 90, 0.2);
    color: inherit;
  }

  /* Navbar scroll state */
  #site-header.scrolled #nav-bg {
    opacity: 1;
  }

  /* Navigation link underline animation */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e8735a;
    transition: width 0.25s ease;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile menu transitions */
  #mobile-menu.open {
    transform: translateX(0);
  }

  /* Hamburger animation */
  #mobile-menu.open #bar1 {
    transform: translateY(3.5px) rotate(45deg);
  }
  #mobile-menu.open #bar2 {
    opacity: 0;
  }
  #mobile-menu.open #bar3 {
    transform: translateY(-3.5px) rotate(-45deg);
    width: 1.5rem;
  }

  /* Scroll reveal animations */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

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

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

  /* Back to top button */
  #back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f6f6f7;
  }
  ::-webkit-scrollbar-thumb {
    background: #c4c6ca;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #9a9da3;
  }
