/* ============================================================
   RTC ABETIFI — VIRTUAL CAMPUS TOUR STYLESHEET
   css/virtual-tour.css
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.vt-hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.vt-hero-bg {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center 40%;
  animation: vtHeroBgZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes vtHeroBgZoom {
  from { transform: scale(1.15) translateY(0); }
  to   { transform: scale(1.28) translateY(-3%); }
}

.vt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,18,38,.62) 0%,
    rgba(8,18,38,.48) 55%,
    rgba(8,18,38,.90) 100%
  );
}

.vt-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.vt-hero-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: vtFadeUp .9s .2s ease forwards;
}

.vt-hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 0;
  opacity: 0;
  animation: vtFadeUp .9s .45s ease forwards;
}

.vt-hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.vt-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto;
  opacity: 0;
  animation: vtFadeUp .9s .65s ease forwards;
}

.vt-hero-divider::before,
.vt-hero-divider::after {
  content: '';
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,.35);
}

.vt-hero-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,154,42,.3);
}

.vt-hero-sub {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto 38px;
  line-height: 1.7;
  opacity: 0;
  animation: vtFadeUp .9s .8s ease forwards;
}

.vt-begin-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--blue-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  animation: vtFadeUp .9s .95s ease forwards;
}

.vt-begin-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(200,154,42,.45);
}

.vt-begin-btn .vt-btn-icon {
  animation: vtBounceDown 1.4s ease-in-out infinite;
}

@keyframes vtBounceDown {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(5px); }
}

/* ── HERO STATS BAR ──────────────────────────────────────── */
.vt-stats-bar {
  position: absolute;
  bottom: 76px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  padding: 0 24px;
  opacity: 0;
  animation: vtFadeUp .9s 1.1s ease forwards;
}

.vt-stat {
  text-align: center;
  position: relative;
}

.vt-stat + .vt-stat::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(14px, 3vw, 36px));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.2);
}

.vt-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.vt-stat-suffix {
  font-size: .6em;
  vertical-align: super;
}

.vt-stat-label {
  display: block;
  font-size: .63rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 5px;
}

/* ── SCROLL INDICATOR ────────────────────────────────────── */
.vt-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.45);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  animation: vtFadeUp .9s 1.3s ease forwards;
}

.vt-scroll-mouse {
  width: 20px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.vt-scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,.55);
  border-radius: 2px;
  animation: vtScrollWheel 1.6s ease-in-out infinite;
}

@keyframes vtScrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  65%       { transform: translateY(9px); opacity: .2; }
}

/* ── PROGRESS NAV (sticky) ───────────────────────────────── */
.vt-progress-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}

.vt-prog-bar {
  height: 3px;
  background: var(--gray-100);
  overflow: hidden;
}

.vt-prog-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .25s ease;
}

.vt-prog-stops {
  display: flex;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.vt-prog-stops::-webkit-scrollbar { display: none; }

.vt-prog-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 22px 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  font-family: var(--font-body);
  transition: color .2s ease;
  flex-shrink: 0;
}

.vt-prog-stop:hover { color: var(--blue-mid); }

.vt-prog-stop.vt-ps-active {
  color: var(--blue-dark);
}

.vt-ps-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-300, #ccc);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.vt-prog-stop.vt-ps-active .vt-ps-dot {
  background: var(--gold);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(200,154,42,.22);
}

.vt-ps-label {
  font-size: .6rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

/* ── TOUR STOPS ──────────────────────────────────────────── */
.vt-stop {
  padding: 100px 0;
}

.vt-stop-alt {
  background: var(--off-white);
}

.vt-stop-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 64px;
  align-items: center;
}

.vt-layout-flip { flex-direction: row-reverse; }

/* Media (image side) */
.vt-stop-media {
  flex: 1 1 46%;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
}

.vt-stop-media a { display: block; }

.vt-stop-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}

.vt-stop-media:hover img { transform: scale(1.06); }

.vt-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,18,40,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .35s ease;
  pointer-events: none;
}

.vt-stop-media:hover .vt-img-overlay { background: rgba(8,18,40,.42); }

.vt-zoom-icon {
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s ease, transform .3s ease;
  background: rgba(255,255,255,.13);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.vt-stop-media:hover .vt-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.vt-stop-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(200,154,42,.35);
}

/* Info (text side) */
.vt-stop-info {
  flex: 1 1 46%;
}

.vt-stop-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.vt-stop-title {
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  color: var(--blue-dark);
  line-height: 1.2;
}

.vt-stop-rule {
  width: 42px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 22px;
}

.vt-stop-desc {
  color: var(--gray-500);
  line-height: 1.78;
  margin-bottom: 28px;
  font-size: .95rem;
}

.vt-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 14px;
}

.vt-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .87rem;
  color: var(--gray-800);
  font-weight: 500;
}

.vt-features li svg {
  color: var(--gold);
  flex-shrink: 0;
  stroke: var(--gold);
}

/* ── HOSTEL SECTION ──────────────────────────────────────── */
.vt-stop-head {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 28px;
}

.vt-hostel-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.vt-hostel-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.vt-hostel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
  display: block;
}

.vt-hostel-card:hover img { transform: scale(1.09); }

.vt-hostel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,18,40,.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  transition: background .35s ease;
}

.vt-hostel-card:hover .vt-hostel-overlay {
  background: linear-gradient(to top, rgba(8,18,40,.92) 30%, rgba(8,18,40,.25) 100%);
}

.vt-hostel-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.vt-hostel-tag {
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ── CTA BANNER ──────────────────────────────────────────── */
.vt-cta {
  position: relative;
  padding: 130px 28px;
  text-align: center;
  overflow: hidden;
}

.vt-cta-bg {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center 30%;
  filter: blur(3px);
  transform: scale(1.12);
}

.vt-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,61,110,.93) 0%, rgba(10,30,65,.90) 100%);
}

.vt-cta-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 0 auto;
  color: #fff;
}

.vt-cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.vt-cta-content p {
  color: rgba(255,255,255,.78);
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 38px;
}

.vt-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vt-btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.vt-btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,154,42,.4);
}

.vt-btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  transition: border-color .22s ease, background .22s ease;
}

.vt-btn-outline:hover {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.vt-anim {
  opacity: 0;
  transition: opacity .75s ease, transform .75s ease;
}

.vt-anim-left  { transform: translateX(-44px); }
.vt-anim-right { transform: translateX(44px); }
.vt-anim-up    { transform: translateY(40px); }

.vt-anim.vt-visible {
  opacity: 1;
  transform: translate(0);
}

/* ── SAM PREMPEH STATS GRID ──────────────────────────────── */
.vt-sam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.vt-sam-box {
  background: var(--blue-pale);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 10px 14px;
}

.vt-sam-box-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 3px;
}

.vt-sam-box-val {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.35;
}

/* ── TEXT-ONLY STOP CARD (for stops without photos) ─────── */
.vt-stop-card {
  flex: 1 1 46%;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 48px 40px;
  box-shadow: 0 12px 48px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.vt-stop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.vt-stop-card-num {
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255,255,255,.07);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 20px;
  user-select: none;
}

.vt-stop-card-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-light);
}

.vt-stop-card-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.vt-stop-card-tag {
  position: relative;
  z-index: 1;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(200,154,42,.18);
  border: 1px solid rgba(200,154,42,.3);
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .vt-stop { padding: 64px 0; }

  .vt-stop-inner {
    flex-direction: column !important;
    gap: 36px;
    padding: 0 18px;
  }

  .vt-layout-flip { flex-direction: column !important; }

  .vt-stop-media img { height: 260px; }

  .vt-hostel-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
    gap: 20px;
  }

  .vt-hostel-card { aspect-ratio: 16/9; }

  .vt-stats-bar {
    gap: 22px;
    bottom: 82px;
  }

  .vt-features {
    grid-template-columns: 1fr;
  }

  .vt-prog-stop { padding: 10px 14px 12px; }

  .vt-cta { padding: 80px 18px; }
}

@media (max-width: 480px) {
  .vt-hero-title { font-size: 2.8rem; }

  .vt-stats-bar { bottom: 90px; gap: 18px; }

  .vt-stat + .vt-stat::before { display: none; }
}
