// Main script file for shared functionality document.addEventListener('DOMContentLoaded', function() { // Initialize any shared functionality here // Mobile menu toggle functionality will be handled by the header component // Smooth scrolling for anchor links document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function (e) { e.preventDefault(); const targetId = this.getAttribute('href'); if (targetId === '#') return; const targetElement = document.querySelector(targetId); if (targetElement) { targetElement.scrollIntoView({ behavior: 'smooth' }); } }); }); // Initialize any other shared components or functionality });