/* Fix for our-projects.html: restore centered "View Project" hover button.
   Paste after css/style.css, or append to the end of css/style.css. */

.project-card .dz-box.overlay.style-1 {
  position: relative;
}

.project-card .dz-box.overlay.style-1 .dz-info .view-project {
  position: absolute !important;
  top: 50%;
  left: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 126px;
  padding: 10px 18px;
  color: #000 !important;
  background: #c9a96e;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
  opacity: 0 !important;
  pointer-events: none;
  text-shadow: none;
  transform: translate(-50%, -40%) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  z-index: 5;
}

.project-card:hover .dz-box.overlay.style-1 .dz-info .view-project,
.project-card:focus-within .dz-box.overlay.style-1 .dz-info .view-project {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translate(-50%, -50%) !important;
}

.project-card .dz-box.overlay.style-1 .dz-info .view-project:hover {
  background: #fff;
}
