/* ========== NAV ========== */



nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.253), rgba(53, 29, 8, 0.884)), var(--plateStrip);
  background-size: auto 100%;
  background-repeat: repeat;
  display: flex;
  justify-content: right;
  align-items: center;
  background-color: #1b1b1b6b;
  margin-top: 0;
  padding-top: 0;
  min-height: 7vh;
}


.cart-icon {
  color: white;
  font-size: 1.5rem;     /* bigger icon */
  cursor: pointer;     /* show pointer on hover */
  transition: transform 0.2s ease; /* smooth effect */
}

.cart-icon:hover {
  transform: scale(1.2); /* slight zoom on hover */
}

nav .logo {
  height: 6rem;
  position: absolute;
  left: 0rem;
  top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2001;
}

nav.stuck .logo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  text-shadow: 3px 3px 3px rgb(0, 0, 0);
}

nav a:hover {
  color: #ff9900;
  text-shadow: 0 0 6px rgb(255, 3, 3);
}


.nav-btn {
  top: 50%;
}

.hamburger {
  display: none;
}

body.subpage nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.253), rgba(53, 29, 8, 0.884)), var(--plateStrip);
  background-size: auto 100%;
  background-repeat: repeat;
  padding: 0;
  min-width: 100vw;
}

body.subpage nav .logo {
  min-height: 1vh;
  position: relative;
  left: 0;
  opacity: 1;
  pointer-events: auto;
}

body.subpage nav .page-title {
  font-size: 3rem;
  color: white;
  text-shadow: 2px 2px 10px black;
  margin: 0 auto;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  border: none;
  padding: .5vw 1vw;
  min-height: auto;
}

body.subpage nav .nav-links {
  margin-right: 4rem; /* or 3rem, 5rem, etc — adjust as needed */
}



@media (max-width: 1100px) {

  nav.active .nav-links {
    display: flex;
    justify-content: center;
  }
}


@media (max-width: 850px) {

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-image: var(--woodPlateBorder);
    background-size: 100% auto;
    background-repeat: repeat;
    position: absolute;
    top: 100%;
    left: 0;
    align-items: center;
    padding: 20px;
  }

  nav {
    background-size: auto 100%;
  }

  nav .logo {
    height: 6rem;
    position: absolute;
    left: 0rem;
    top: 0;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2001;
  }

  nav.stuck .logo {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav.active .nav-links {
    display: flex;
    justify-content: center;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    color: white;
    z-index: 3000;
    margin-right: 1rem;
    text-shadow: 3px 3px 3px rgb(0, 0, 0);
  }  

}


