/* Header */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: center; /* center nav links */
  height: 50px;
  width: 100%;
  background-color: #1c2c23;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
}

/* Logo on left */
.logo {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  height: 45px;
  padding-left: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo h1 {
  color:#ccc;
}

.logo a {
  color: #ccc;              /* text color */
  text-decoration: none;    /* remove underline */
  font-weight: 600;          /* match previous logo font weight */
  cursor: pointer;           /* pointer on hover */
  transition: color 0.2s ease; /* smooth color change on hover */
}

.logo a:hover {
  color: #FF8800;            /* hover color */
}


/* Nav links centered as a bordered group */
.nav-links {
  display: flex;
  overflow: hidden; /* keeps clean edges if you round corners */
}

/* Individual nav buttons */
.nav-button {
  text-decoration: none;
  height: 45px;
  line-height: 45px;
  color: #ccc;
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 0.9rem;
  padding: 0 1.25rem;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.nav-button:hover {
  color: #FF8800;
}

/* Hamburger Button */
/* Hamburger Button */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 0;       /* move to the right edge */
  top: 50%;
  transform: translateY(-50%); /* vertically center it */
}

.hamburger span {
  font-size: 28px;
  color: #ccc; /* match other nav text */
}

/* Mobile adjustments */
@media (max-width: 768px) {

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav links until opened */
  .nav-links {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    z-index: 999;
    border-radius: 0; /* from your original mobile rules */
  }

  /* When nav is open */
  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    font-size: 1rem;
    color: #000;
    width: 100%;
    border-radius: 0;
  }

  .nav-links a:hover {
    background: #1c2c23;
    color: #FF8800;
  }

  /* Nav button tweaks */
  .nav-button {
    padding: 0 0.8rem;
    font-size: 0.9rem;
  }

  /* Logo shrink */
  .logo img {
    height: 35px;
  }
}
