/* Top Navigation Bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.688rem 2rem; /* Reduced from 1rem (16px) to 0.688rem (11px) - 5px reduction */
  background-color: #0d0d0d;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left .nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  vertical-align: middle;
}

.nav-right .nav-link {
  margin-left: 1.5rem;
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-right .nav-link:hover {
  color: #fff;
}

.nav-right .nav-button {
  margin-left: 1.5rem;
  padding: 0.4rem 1rem;
  background-color: #03a9f4;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.nav-right .nav-button:hover {
  background-color: #0288d1;
}

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-right .nav-link,
  .nav-right .nav-button {
    margin: 0.5rem 0 0;
  }
}

/* Navigation - Base Styles Already Present Above */

/* Toggle Button (hamburger) */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .top-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.438rem 1rem; /* Reduced from 0.75rem (12px) to 0.438rem (7px) - 5px reduction */
  }

  .nav-left {
    flex: 1;
  }

  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    border-top: 1px solid #333;
    padding-top: 0.5rem;
  }

  .nav-right.show {
    display: flex;
  }

  .nav-link,
  .nav-button {
    margin: 0.4rem 0;
  }
}

