/* Navigation */
.nav {
  position: fixed;
  display: flex;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: none;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  justify-content: space-evenly;
}

.nav-container {
  flex: 1 1 0;
  width: auto;
  margin: 0 10px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: var(--nav-padding);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 25px;
  color: var(--text-primary);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: end !important;
}

.nav-profile {
  gap: 0.75rem;
}

.nav-profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  overflow: hidden;
}

.nav-profile-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-profile-location {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 800px) {
  .nav-container {
    padding: 0 1rem;
    align-self: center;
    height: 3rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .social-icons {
    display: none;
  }

  .nav-profile-avatar {
    width: 28px;
    height: 28px;
  }

  .nav-profile-name {
    display: none;
  }

  .nav-profile-location {
    display: none;
  }
}
