/* Navbar centre alignment + Products dropdown */

.nav-links {
  margin-left: 0;
  flex: 1;
  justify-content: center;
}

.nav-links li.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--accent);
  background: var(--accent-light);
}

.dropdown-caret {
  font-size: 0.75rem;
  display: inline-block;
  transition: transform 0.2s ease;
  line-height: 1;
}

.nav-dropdown-toggle[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 6px;
  z-index: 200;
  flex-direction: column;
  list-style: none;
}

.nav-dropdown-menu.open {
  display: flex;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* Avatar placeholders for team section */
.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-links {
    justify-content: flex-start;
    flex: unset;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 14px;
    background: transparent;
    border-radius: 0;
  }

  .nav-dropdown-menu a {
    padding: 8px 14px;
  }
}
