﻿.project-showcase {
  padding: 78px 7vw 86px;
  background: linear-gradient(135deg, #ebe6dc, #e5dfd3);
  position: relative;
  overflow: hidden;
}
.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.showcase-heading h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 8px 0 4px;
}
.showcase-heading p {
  margin: 0;
  color: #716e66;
  line-height: 1.9;
}
.showcase-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #9b7a2a;
  direction: ltr;
}
.showcase-counter b {
  font-size: 34px;
}
.showcase-counter span {
  color: #8b867d;
}
.showcase-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  min-height: 470px;
  border: 1px solid #7c67364a;
  border-radius: 24px;
  overflow: hidden;
  background: #0c0c0b;
  box-shadow: 0 24px 55px #362d191f;
  position: relative;
  z-index: 1;
}
.showcase-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #161510;
}
.showcase-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.95s ease,
    transform 5.8s ease;
}
.showcase-image-layer.is-active {
  opacity: 1;
  transform: scale(1.095);
}
.showcase-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0707060d 0%,
    #0707061f 45%,
    #070706d1 100%
  );
  pointer-events: none;
}
.showcase-progress-line {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 4px;
  background: #ffffff24;
  z-index: 4;
}
.showcase-progress-line i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c3a24e, #efd787);
  transform-origin: right center;
}
.showcase-shell.is-running .showcase-progress-line i {
  animation: showcaseTimer 3s linear forwards;
}
@keyframes showcaseTimer {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.showcase-caption {
  position: absolute;
  right: 34px;
  left: 34px;
  bottom: 30px;
  color: #fff;
  z-index: 3;
  text-align: right;
}
.showcase-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.showcase-tags span {
  padding: 6px 11px;
  border-radius: 999px;
  background: #0c0c0aac;
  border: 1px solid #efd7877a;
  font-size: 11px;
  color: #f5dd94;
}
.showcase-caption h3 {
  font-size: 34px;
  margin: 0 0 8px;
  line-height: 1.45;
  text-shadow: 0 3px 18px #000000bf;
}
.showcase-caption p {
  margin: 0;
  color: #eee9dd;
  text-shadow: 0 2px 10px #000000cc;
}
.showcase-details {
  background: linear-gradient(160deg, #11110f, #080807);
  color: #fff;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.showcase-details:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #c3a24e29;
  border-radius: 16px;
  pointer-events: none;
}
.showcase-kicker {
  color: #efd787;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.showcase-details > h3 {
  font-size: 25px;
  line-height: 1.55;
  margin: 10px 0 24px;
  position: relative;
  z-index: 1;
}
.showcase-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}
.showcase-meta div {
  border-bottom: 1px solid #ffffff1a;
  padding-bottom: 12px;
  min-width: 0;
}
.showcase-meta small {
  display: block;
  color: #89857d;
  font-size: 10px;
  margin-bottom: 6px;
}
.showcase-meta b {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.showcase-meter {
  height: 7px;
  background: #ffffff1a;
  border-radius: 9px;
  overflow: hidden;
  margin: 24px 0;
  position: relative;
  z-index: 1;
}
.showcase-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c3a24e, #efd787);
  border-radius: 9px;
  transition: width 0.75s ease;
}
.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.showcase-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #efd7875c;
  background: #ffffff0a;
  color: #efd787;
  font-size: 26px;
  cursor: pointer;
  transition: 0.2s;
}
.showcase-controls > button:hover {
  background: #c3a24e;
  color: #111;
  border-color: #c3a24e;
}
.showcase-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  justify-content: flex-start;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.showcase-dots::-webkit-scrollbar {
  display: none;
}
.showcase-dots::-webkit-scrollbar {
  display: none;
}
.showcase-dots button {
  width: 7px;
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #5e5a51;
  cursor: pointer;
  transition: 0.25s;
}
.showcase-dots button.is-active {
  width: 24px;
  flex-basis: 24px;
  border-radius: 8px;
  background: #efd787;
}
.showcase-open {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid #6f5d2e;
  background: transparent;
  color: #f0d77f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: 0.2s;
}
.showcase-open:hover {
  background: #c3a24e;
  color: #111;
}
@media (max-width: 1050px) {
  .showcase-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: unset;
  }
  .showcase-visual {
    min-height: 430px;
  }
  .showcase-details {
    padding: 32px;
    min-width: 0;
  }
}
@media (max-width: 680px) {
  .project-showcase {
    padding: 62px 22px 68px;
  }
  .showcase-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .showcase-heading h2 {
    font-size: 32px;
  }
  .showcase-counter b {
    font-size: 28px;
  }
  .showcase-visual {
    min-height: 360px;
  }
  .showcase-caption {
    right: 20px;
    left: 20px;
    bottom: 22px;
  }
  .showcase-caption h3 {
    font-size: 24px;
  }
  .showcase-details {
    padding: 30px 24px;
  }
  .showcase-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

