/* Fix AOS conflicts with mobile navigation */
html {
	overflow-x: clip;
}

body {
	max-width: 100vw;
}

/* Ensure navigation works with AOS */
nav,
nav *,
#mobileMenu,
#mobileMenu * {
	pointer-events: auto !important;
}

nav {
	isolation: isolate;
}

/* Ensure hamburger button is always clickable */
#mobileMenuBtn {
	position: relative;
	z-index: 9999 !important;
	pointer-events: auto !important;
	touch-action: manipulation;
}

#mobileMenuBtn span {
	pointer-events: none !important;
}

/* Ensure buttons in navigation work */
nav button {
	cursor: pointer;
}

/* Fix for mobile touch events */
@media (max-width: 1024px) {
	#mobileMenuBtn {
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
	}
}
