/*navbar that currently shows in the gallery pages.*/

#gallerynav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: var(--primary-dark-color);
}

#gallery-navbar {
  background: var(--primary-dark-color);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* Match projects navbar: logo left, actions right */
  min-height: 50px;
  padding: 8px var(--mediumWhiteSpace);
  position: relative;
  gap: 0;
}

#nav-hr {
  display: none;  /* Hide the border line */
}

#gallery-navbar .navbar-nav {
  display: flex;
  flex-direction: row;
  margin: 0;
  column-gap: 25px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#gallery-navbar .brand {
  display: flex;
  align-items: center;
}

#gallery-navbar .brand img {
  height: 24px;
  width: auto;
}

#rightside-loader {
  margin-left: 12px;
}

/* nav .navbar-brand img {
  vertical-align: bottom;
  margin: 0;
} */

#gallery-navbar .navbar-item {
  display: block;
  /* padding-right: 1.5vw !important;
  padding-left: 1.5vw !important; */
  font-weight: 400;
  font-size: 16px;
  color: var(--primay-light-color);
  text-decoration: none;
  transition: font-weight 0.1s ease-in-out; /*, border-color 0.15s ease-in*/
  padding: 15px 0; /* Reduced padding to align better */
}

#gallery-navbar .active {
  border-bottom: 2px solid var(--light-red-color);
  font-weight: 800;
}

#nav-forward {
  margin-left: 5px;
}

/* nav .active:hover {
  border-bottom: 3px solid #a5b5e0;
} */

/* nav .navbar-brand:hover */
#gallery-navbar .navbar-item:hover {
  font-weight: 800;
}

@media screen and (max-width: 520px) {
  #gallery-navbar {
    padding: 8px 15px;
  }

  #gallery-navbar .navbar-nav {
    position: static;
    transform: none;
  }
}
@media screen and (max-width: 995px) {
  #gallery-navbar .navbar-nav {
    position: static;
    transform: none;
  }
}

/* ============================
   Header Actions (Clusters + Invite)
   ============================ */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(230, 212, 192, 0.3);
}

/* Clusters Toggle Button - Base/OFF state */
.header-cluster-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(230, 212, 192, 0.3);
  background: transparent;
  color: var(--secondary-light-color);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-cluster-btn:hover:not(.disabled) {
  border-color: var(--light-red-color);
  color: var(--light-red-color);
}

.header-cluster-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Clusters Toggle Button - ON state */
.header-cluster-btn.action-active {
  background: rgba(230, 212, 192, 0.15);
  border-color: var(--light-red-color);
  color: var(--light-red-color);
}

.header-cluster-btn .icon {
  width: 18px;
  height: 18px;
}

.header-cluster-btn .icon.hidden {
  display: none;
}

.header-cluster-btn .cluster_loader {
  margin: 0;
}

/* Invite Button - Primary CTA */
.header-invite-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  background: var(--light-red-color);
  color: #111110;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-invite-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 212, 192, 0.4);
}

.header-invite-btn svg {
  width: 18px;
  height: 18px;
}

.header-invite-btn svg path {
  stroke: #111110;
}
