/* === TOP NAVBAR (Google-style, fixed + subtle gray) === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  height: 64px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 48px;
  background-color: #f8f9fa; /* Google light gray */
  border-bottom: 1px solid #e5e7eb; /* subtle divider */
  box-shadow: none;

  font-family: 'Inter', 'Roboto', sans-serif;
  overflow-x: hidden;
}

/* Prevent page scrollbars caused by width rounding */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* === LOGO AREA (clickable but visually static) === */
.nav-logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

.nav-logo-link:hover,
.nav-logo-link:focus,
.nav-logo-link:active {
  text-decoration: none;
  color: inherit;      /* no hover color */
  background: none;    /* no background tint */
  outline: none;
  cursor: default;     /* no pointer effect around text */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;     /* indicates clickability */
}

.logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.nav-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #202124; /* Google dark text */
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: none; /* no color transition on hover */
}

/* Disable hover tint on site name */
.nav-name:hover {
  color: #202124;
}

/* === NAV LINKS === */
.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* === NAV BUTTONS === */
.nav-btn {
  text-decoration: none;
  color: #202124;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover — soft Google blue tint */
.nav-btn:hover {
  background-color: #e8f0fe;
  color: #1a73e8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .nav-name {
    font-size: 1rem;
  }
}
