.car-gallery {
  position: relative;
}

.car-images-container {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  overflow: hidden;
  background: #1a2844;
  border-radius: 8px;
}

.car-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.car-image.active {
  opacity: 1;
}

.car-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(92, 168, 255, 0.5);
  border: 1px solid rgba(92, 168, 255, 0.7);
  color: #fff;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  z-index: 10;
}

.car-nav-btn:hover {
  background: rgba(92, 168, 255, 0.8);
  border-color: rgba(92, 168, 255, 1);
}

.car-nav-btn.prev {
  left: 10px;
}

.car-nav-btn.next {
  right: 10px;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #5ca8ff;
}
