/* ==========================================================================
   ANIMATED TOP DOCK (PORTFOLIO NAVIGATION)
   Inspired by v3 Spring Proximity AnimatedTopDock + Capsule Labels
   Aesthetic: Dark Obsidian Glass + Proximity Magnification + Harmonic Physics
   ========================================================================== */

.animated-top-dock {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  background: rgba(13, 13, 17, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  z-index: 50;
}

@media (min-width: 860px) {
  .nav-inner {
    position: relative;
  }

  .animated-top-dock {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.animated-top-dock:hover {
  border-color: rgba(229, 169, 60, 0.35);
  box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.75), 0 0 24px rgba(229, 169, 60, 0.1);
}

/* Individual Dock Item Capsule Button */
.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  height: 32px;
  border-radius: 9999px;
  color: var(--text-secondary);
  background: transparent;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  will-change: transform;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

@media (min-width: 1120px) {
  .dock-item {
    padding: 5px 11px;
    gap: 6px;
  }
}

.dock-item:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.07);
}

.dock-item.active {
  color: var(--accent-gold);
  background-color: rgba(229, 169, 60, 0.14);
  box-shadow: inset 0 0 0 1px rgba(229, 169, 60, 0.38);
}

/* Icon inside item */
.dock-item i,
.dock-item svg {
  width: 14px;
  height: 14px;
  stroke-width: 2px;
  transition: transform 0.15s ease;
  pointer-events: none;
  flex-shrink: 0;
}

.dock-item:hover i,
.dock-item:hover svg {
  transform: scale(1.1);
}

/* Visible Label inside Item */
.dock-label {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

@media (min-width: 1120px) {
  .dock-label {
    font-size: 0.72rem;
  }
}

/* Numeric Badge (e.g., 7 Projects, 10 Certifications) */
.dock-badge {
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 9999px;
  background: var(--accent-gold);
  color: #0b0b0e;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  margin-left: 1px;
  pointer-events: none;
}

/* Vertical Divider inside dock */
.dock-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 3px;
  flex-shrink: 0;
}
