/* Enhanced Floating Dock Styles */
.floating-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 12px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.4s ease;
  opacity: 0;
  will-change: transform, opacity;
}

.floating-dock.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.dock-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dock-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dock-item i {
  font-size: 1.5rem;
  margin-bottom: 5px;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 2;
}

.dock-label {
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.dock-item:hover {
  color: white;
}

.dock-item:hover::before {
  transform: scale(1);
  opacity: 1;
}

.dock-item:hover .dock-label {
  opacity: 1;
  transform: translateY(0);
}

.dock-item:hover i {
  transform: translateY(-5px);
}

.dock-item.active {
  color: #4f46e5;
}

.dock-item.active::before {
  background: rgba(79, 70, 229, 0.15);
  transform: scale(1);
  opacity: 1;
}

.dock-item.active i {
  transform: translateY(-3px);
}

.dock-item.active .dock-label {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Progress Bar Styles */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #4f46e5, #8b5cf6, #d946ef);
  transition: width 0.05s ease;
  will-change: width;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

/* Media queries for floating dock */
@media (max-width: 768px) {
  .floating-dock {
    width: 90%;
    padding: 10px 15px;
  }
  
  .dock-inner {
    gap: 12px;
  }
  
  .dock-item {
    padding: 8px;
  }
  
  .dock-item i {
    font-size: 1.2rem;
  }
  
  .dock-label {
    font-size: 0.6rem;
  }
}
