// main.js

// Example: Smooth scroll for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
  anchor.addEventListener('click', function (e) {
    e.preventDefault();
    document.querySelector(this.getAttribute('href')).scrollIntoView({
      behavior: 'smooth'
    });
  });
});

// Example: Fancybox init (if using Fancybox 2.x or 3.x)
$(document).ready(function () {
  $('[data-fancybox="gallery"]').fancybox({
    buttons: ["zoom", "slideShow", "thumbs", "close"]
  });
});

