/*================================================
Virtual tour page
Builds on service-content.css, award-page.css and gallery-page.css.
=================================================*/

/* Tour viewer */
.vt-frame {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(49, 106, 154, 0.15);
  border: 1px solid #e3ebf2;
}
.vt-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #316A9A 0%, #b62a72 100%);
  color: #fff;
}
.vt-frame-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}
.vt-frame-title i {
  font-size: 22px;
}
.vt-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: 20px;
}
.vt-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7CFFB2;
  box-shadow: 0 0 0 3px rgba(124, 255, 178, 0.3);
}
.vt-viewer {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  width: 100%;
  background: #e9eef3;
}
.vt-viewer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vt-tips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 0;
  padding: 16px 20px;
  list-style: none;
  background: #f5fafd;
  border-top: 1px solid #e3ebf2;
}
.vt-tips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #333;
}
.vt-tips li i {
  font-size: 20px;
  color: #b62a72;
}

/* First visit steps (horizontal) */
.vt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: vtstep;
}
.vt-steps li {
  position: relative;
  counter-increment: vtstep;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 26px 22px 24px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}
.vt-steps li::before {
  content: counter(vtstep, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #b62a72;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px #fbeef5;
}
.vt-steps li:nth-child(even)::before {
  background: #316A9A;
  box-shadow: 0 0 0 6px #eaf4fb;
}
.vt-steps li::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 82px;
  right: -20px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #e7c7d8 0 6px, transparent 6px 12px);
}
.vt-steps li:last-child::after {
  display: none;
}
.vt-steps h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
}
.vt-steps p {
  margin: 0;
  font-size: 15px;
}
.vt-bring {
  margin-top: 28px;
}

/* Responsive */
@media only screen and (max-width: 991px) {
  .vt-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .vt-steps li::after {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .vt-viewer {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }
  .vt-frame-bar {
    padding: 12px 16px;
  }
  .vt-frame-title {
    font-size: 14.5px;
  }
  .vt-tips {
    justify-content: flex-start;
    gap: 8px 18px;
  }
  .vt-tips li {
    font-size: 13.5px;
  }
  .vt-steps {
    grid-template-columns: 1fr;
  }
}
