transition: transform 0.3s ease-in-out; /* Smooth slide effect */
/* Use a wrapper to constrain content while staying responsive */
max-width: 1140px; /* Maximum width on large screens */
/* Navigation Container - Split into Left, Middle, Right */
justify-content: space-between; /* Pushes left, middle, and right apart */
/*border: 1px solid black;*/
/*padding: 15px 0;*/
/* Give left and right equal width to keep middle perfectly centered */
/*border: 1px solid black;*/
justify-content: flex-end; /* Aligns globe to the far right */
flex: 2; /* Takes up more space to accommodate the menu */
/* Navigation List Styles */
/* Globe and Dropdown Logic */
list-style: none; /* Removes bullet point */
right: 0; /* Align to right so it doesn't go off-screen */
/* Hide the old top-bar if still in HTML */
/* Media Queries for Tablet and Desktop */
/*z-index: 0;*/
/* Class to trigger when scrolling */
/* Shrink the logo when scrolled */
height: 60px; /* Reduced height for compact look */
/* Adjust nav margin when scrolled */
/* Optional: Adjust nav spacing for the compact row */
// let lastScrollY = window.scrollY;
// const header = document.querySelector("header");
// window.addEventListener("scroll", () => {
// if (window.scrollY > lastScrollY && window.scrollY > 100) {
// // Scrolling Down - Hide Header
// header.classList.add("header-hidden");
// // headerContainer.classList.add()
// } else {
// // Scrolling Up - Show Header
// header.classList.remove("header-hidden");
// }
// lastScrollY = window.scrollY;
// });
// 1. Logic for Hiding/Showing on scroll direction
// 2. Logic for Flex-Row (Sticky compact mode)
// If user has scrolled more than 50px, turn into a row