
/*
Navigation styles
*/

nav {
  padding: 5px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--racing-white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 200;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--racing-gold);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--racing-white);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--racing-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s;
  }
  
  .nav-menu.active {
    left: 0;
  }
}
body.mobile-menu-active {
    overflow-x: hidden;
}