  /* ─── Custom Styles for Right Way Construction & Landscaping ─── */

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

  /* Selection color */
  ::selection {
    background-color: rgba(200, 164, 78, 0.3);
    color: #f5f0e8;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a1a12;
  }
  ::-webkit-scrollbar-thumb {
    background: #2d5a3f;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #3d7a55;
  }

  /* ─── Reveal Animations (progressive enhancement) ─── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .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; }
  }

  /* Fallback: ensure content is visible even without JS */
  .no-js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }

  /* ─── Navbar transitions ─── */
  #navbar.scrolled {
    background-color: rgba(10, 26, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 78, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* ─── Button hover effects ─── */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* ─── Custom select styling ─── */
  select option {
    background-color: #0a1a12;
    color: #f5f0e8;
  }

  /* ─── Image loading placeholder ─── */
  img {
    background: linear-gradient(135deg, #1a3a2a 0%, #0f2419 100%);
  }

  /* ─── Mobile menu animation ─── */
  #mobileMenu {
    animation: slideDown 0.3s ease-out;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  /* ─── Focus visible for accessibility ─── */
  :focus-visible {
    outline: 2px solid #c8a44e;
    outline-offset: 2px;
  }

  /* ─── Responsive adjustments ─── */
  @media (max-width: 640px) {
    .font-display {
      line-height: 1.15;
    }
  }

  /* ─── Print styles ─── */
  @media print {
    nav, #backToTop, button {
      display: none !important;
    }
    body {
      background: white;
      color: black;
    }
    a {
      color: black;
    }
  }
