/* Header ribbon and navigation (desktop & mobile) */
.header-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: white;
  padding: 5px 5px;
  font-size: 16px;
  position: fixed;   /* 🔁 changed from relative */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;      /* ensure it’s on top of all content */
  height: 50px;       /* set height if needed */
}


.header-left {
  display: flex;
  align-items: center;
}

.header-left img {
  height: 25px;
  margin-right: 10px;
}

.breadcrumb {
  font-size: 13px;
  color: #bbb;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  display: none;
}

.nav-desktop {
  display: flex;
  justify-content: center;
  background: #222;
  padding: 5px 0;
}

.nav-desktop a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
}

.nav-desktop a:hover {
  text-decoration: underline;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 16px;
  top: 56px;
  background: #222;
  padding: 10px;
  z-index: 1000;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.dropdown-menu a {
  color: white;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #333;
}

.show-menu {
  display: flex !important;
}

.main-navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  background: #111;
}

.main-navbar ul li {
  margin: 0;
}

.main-navbar ul li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  gap: 8px;
}

.main-navbar ul li a:hover {
  background: #333;
}


@media (max-width: 768px) {
  .header-ribbon {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-left {
    margin-bottom: 6px;
    justify-content: center;
  }

  .breadcrumb {
    text-align: center;
    font-size: 14px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 12px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #222;
    padding: 10px;
    margin-top: 8px;
  }

  .nav-links a {
    margin: 8px 0;
    font-size: 16px;
  }

  .nav-active .nav-links {
    display: flex !important;
  }
}