.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: transparent;
  padding: 18px 24px;

  display: block;          /* important */
  height: auto;            /* important */
  border-bottom: none;     /* optional */
  backdrop-filter: none;   /* optional */
}

.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.navbar-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.brand-wrap {
  display: flex;
  align-items: center;   /* this is the key fix */
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
  transform: translateY(-1px);
}

.navbar-brand {
  font-size: 35px;
  font-family: Georgia, serif;
  color: white;
  text-decoration: none;
  line-height: 1;        /* helps vertical centering */
  display: block;
}

.task-hamburger {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  font-size: 28px;
  cursor: pointer;
  color: #DB9A40;
  padding: 8px 12px;
  background-color: var(--dark);
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

.hamburger-icon:hover {
  box-shadow: 0 0 20px 6px rgba(219, 154, 64, 0.6);
  transform: scale(1.05);
}

.task-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  flex-direction: column;
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1050;
  min-width: 180px;
}

.task-menu.show {
  display: flex;
}
.task-menu a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.task-menu a:hover {
  background-color: rgba(219,154,64,0.2);
}


