/* ================================
   NAVBAR
   ================================ */

nav {
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-logo {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  color: var(--yellow);
  letter-spacing: 2px;
  text-shadow: 3px 3px 0 var(--orange);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--yellow); }

.nav-search {
  background: var(--navy-light);
  border: 2px solid var(--navy-light);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
  width: 180px;
}

.nav-search:focus { border-color: var(--yellow); }
.nav-search::placeholder { color: rgba(255,255,255,0.4); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover {
  color: var(--yellow);
  background: var(--navy-light);
}

/* ================================
   NAVBAR RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    height: 56px;
  }

  .nav-logo {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .nav-links { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .hamburger {
    display: none !important;
  }
}