
.navbar {
  --nb-navy: #0f1e36;
  --nb-gold: #c6a267;
  --nb-gold-light: #e8d8b8;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.navbar *,
.navbar *::before,
.navbar *::after {
  box-sizing: border-box;
}

.navbar a {
  text-decoration: none;
  color: inherit;
}

.navbar .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar .logo {
  display: flex;
  flex-direction: column;
}

.navbar .logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nb-navy);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.navbar .logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--nb-gold);
  text-transform: uppercase;
}

.navbar .nav-links {
  display: flex;
  gap: 25px;
}

.navbar .nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 4px 0;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: var(--nb-navy);
}

.navbar .nav-links a.active::after,
.navbar .nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--nb-gold);
}

.navbar .nav-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.navbar .nav-login-text {
  order: 2;
  font-size: 0.76rem;
  font-weight: 500;
  color: #5b6573;
  letter-spacing: 0.2px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(198, 162, 103, 0.55);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.navbar .nav-login-text:hover {
  color: var(--nb-navy);
  text-decoration-color: var(--nb-gold);
}

.navbar .btn-join {
  order: 1;
  display: inline-flex;
  align-items: center;
  background-color: var(--nb-navy);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar .btn-join:hover {
  background-color: #172c4d;
  transform: translateY(-2px);
}

@media (max-width: 1000px) {
  .navbar .nav-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .navbar .nav-actions {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar .container {
    padding: 0 12px;
  }

  .navbar .nav-container {
    gap: 10px;
    justify-content: center;
  }

  .navbar .nav-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .navbar .btn-join {
    order: 1;
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  .navbar .nav-login-text {
    order: 2;
    font-size: 0.72rem;
  }

  .navbar .logo img {
    width: 108px;
    height: auto;
  }
}

.navbar .logo { flex: 0 0 auto; }
.navbar .logo img { display: block; width: 132px; height: auto; max-width: none; max-height: none; }
.navbar .nav-container { min-height: 98px; }

@media (max-width: 600px) {
  .navbar .logo img {
    width: 108px;
  }
}
