/* Navigation Styles */
.main-nav {
  background: #fff;
  border-bottom: 1.5px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-top: -6px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 1px;
  color: #1E2F4C;
  line-height: 1.0;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 0;
  margin-left: 16px;
  margin-top: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  padding: 0 20px;
  border-radius: 0;
  background: none;
  line-height: 1;
  text-underline-offset: 2px;
  color: #888;
  border-bottom: 5px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link.active {
  font-weight: bold;
  color: #1E2F4C;
  border-bottom-color: #f4d94a;
}

.nav-link:hover {
  color: #1E2F4C;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-auth-link {
  color: #555;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  margin-right: 10px;
}

.nav-auth-button {
  color: #555;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  margin-right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #1E2F4C;
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 0 20px 0;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: block;
  padding: 16px 24px;
  font-size: 24px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: #f8f9fa;
}

.mobile-nav-link.active {
  color: #1E2F4C;
  font-weight: bold;
  background-color: #f4d94a20;
  border-left: 4px solid #f4d94a;
}

.mobile-nav-auth {
  padding: 24px;
  border-top: 1px solid #eee;
  margin-top: auto;
}

.mobile-nav-auth-link,
.mobile-nav-auth-button {
  display: block;
  padding: 12px 0;
  font-size: 20px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    padding: 0 16px;
    height: 56px;
  }
  
  .nav-brand {
    gap: 12px;
  }
  
  .nav-logo img {
    width: 28px;
    height: 28px;
    margin-top: -4px;
  }
  
  .nav-logo-text {
    font-size: 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-auth {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
}

@media (max-width: 480px) {
  .main-nav {
    padding: 0 12px;
    height: 52px;
  }
  
  .nav-logo-text {
    font-size: 20px;
  }
  
  .nav-logo img {
    width: 24px;
    height: 24px;
  }
  
  .mobile-nav {
    width: 280px;
  }
}
