.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--color-primary);
  padding: 15px 0;
  box-shadow: var(--shadow-dark);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo img {
  height: 70px;
  width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: logoPulse 3s ease-in-out infinite;
}

.navbar__logo img:hover {
  transform: scale(1.15) rotate(-3deg);
  filter: invert(1) drop-shadow(0 0 10px rgba(244, 88, 26, 0.8));
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.03); opacity: 1; }
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-muscle {
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.logo-mania {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.logo-sub {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  letter-spacing: 2px;
  margin-top: 2px;
}

.navbar__links {
  display: flex;
  gap: 30px;
}

.navbar__links a {
  color: white;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

.navbar__links a:hover {
  color: var(--color-secondary);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links a.active {
  color: var(--color-secondary);
}

.navbar__hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.navbar__hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: white;
  transition: var(--transition);
}

/* Mobile Menu Overlay */
@media (max-width: 992px) {
  .navbar__links {
    display: none;
  }
  
  .navbar__cta {
    display: none;
  }
  
  .navbar__hamburger {
    display: flex;
  }
  
  .navbar__links.mobile-active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    gap: 40px;
  }
  
  .navbar__links.mobile-active a {
    font-size: 1.5rem;
  }
  
  .navbar__hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .navbar__hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar__hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
