
@media (max-width: 700px) {
  .bottom-overlay {
    height: 150px; /* Adjust size for mobile */
  }
}

/* ============================
   NAVIGATION — DESKTOP
============================ */

nav {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* keeps items left-aligned */
  gap: 30px;                    /* space between logo and links */
  padding: 20px 40px;
  position: relative;
  z-index: 10;
}

/* LOGO */
nav img {
  width: 260px;   /* adjust as needed */
  height: auto;
  display: block;
}

/* NAV LINKS CONTAINER */
.nav-links {
  flex: 0;              /* prevents it from pushing right */
  text-align: left;
}

/* NAV UL */
.nav-links ul {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;  /* prevents menu from wrapping */
}

/* NAV ITEMS */
.nav-links ul li {
  position: relative;
  padding: 0;  /* important: padding moved to <a> */
}

/* NAV LINKS */
.nav-links ul li a {
  color: #fff;
  font-size: 14px;
  padding: 8px 12px;  /* click area */
  display: block;
  text-decoration: none;
  white-space: nowrap;
}

/* UNDERLINE ANIMATION */
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #e9f40f;
  display: block;
  margin: auto;
  transition: 0.4s ease-in-out;
}

.nav-links ul li:hover::after {
  width: 100%;
}

/* Hide mobile menu icon on desktop */
nav .fa {
  display: none;
}


/* ============================
   NAVIGATION — MOBILE
============================ */

@media (max-width: 700px) {

  nav {
    padding: 10px 20px;
    justify-content: space-between;
    gap: 10px;
  }

  /* Show hamburger icon */
  nav .fa {
    display: block;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }

  /* Slide-out mobile menu */
  .nav-links {
    position: fixed;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    background: rgba(0, 0, 0, 0.9);
    padding-top: 60px;
    text-align: left;
    transition: 0.4s ease;
    z-index: 999;
  }

  /* When JS adds 'open' class */
  .nav-links.open {
    right: 0;
  }

  /* Mobile list */
  .nav-links ul {
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
  }

  .nav-links ul li a {
    font-size: 16px;
    padding: 10px 0;
  }
}
