/* ---- Floating Dock ---- */
#projectDock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #121212;
  color: white;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
  z-index: 9999;
  transition: transform 0.3s ease;
  font-family: sans-serif;
}

#projectDock.collapsed {
  transform: translateY(100%);
  pointer-events: none;
}

#expandDockBtn {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  background: #121212;
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  cursor: pointer;
  z-index: 10000;
}

#projectDock.collapsed + #expandDockBtn {
  display: block;
}

/* ---- Carousel Header ---- */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.project-header button {
  background: transparent;
  color: #ccc;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---- Carousel Container ---- */
.glider-contain {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.glider {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.glider-prev, .glider-next {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 35%;
  z-index: 1;
}

.glider-prev { left: -1rem; }
.glider-next { right: -1rem; }

/* ---- Carousel Cards ---- */
.card {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 1rem;
  min-width: 220px;
  max-width: 240px;
  text-align: center;
  margin: 0 0.5rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  color: #f0f0f0;
}

/* ---- Smaller Images ---- */
.card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 0.5rem auto;
  display: block;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* ---- Link Styles ---- */
.card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #80d0ff;
  text-decoration: none;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}
