/* Scoped to: ss-photography-navbar */
(function() {
  'use strict';
  var componentRoots = document.querySelectorAll('[data-component-slug="ss-photography-navbar"]');
  componentRoots.forEach(function(componentRoot) {
    // Helper to query within component, with fallback to document for sibling elements
    var $ = function(sel) { 
      return componentRoot.querySelector(sel) || document.querySelector('[data-component-slug="ss-photography-navbar"] ~ ' + sel) || document.querySelector(sel);
    };
    var $$ = function(sel) { 
      var results = componentRoot.querySelectorAll(sel);
      return results.length ? results : document.querySelectorAll(sel);
    };
    // Original component JS runs in this scope
    (function () { const menuBtn = document.getElementById("menu-btn"); const closeBtn = document.getElementById("close-btn"); const mobileMenu = document.getElementById("mobile-menu"); const overlay = document.getElementById("overlay"); function toggleMenu() { mobileMenu.classList.toggle("-translate-x-full"); overlay.classList.toggle("hidden"); document.body.classList.toggle("overflow-hidden"); } if (menuBtn) menuBtn.addEventListener("click", toggleMenu); if (closeBtn) closeBtn.addEventListener("click", toggleMenu); if (overlay) overlay.addEventListener("click", toggleMenu); })();
  });
})();