/* assets/css/tour.css - tur spotlight website KotaKita */

.tur-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.25s ease;
    /* lapisan transparan penangkap klik supaya elemen di belakang tidak bisa diklik saat tur */
    background: transparent;
}

.tur-overlay.tampil {
    opacity: 1;
}

/* Sorotan: lubang terang di tengah, sisanya digelapkan lewat box-shadow raksasa */
.tur-sorot {
    position: absolute;
    border-radius: 12px;
    border: 2px solid #478F65;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.78);
    pointer-events: none;
    transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.tur-sorot.tengah {
    border-color: transparent;
    border-radius: 0;
}

.tur-kartu {
    position: absolute;
    background: #171b1e;
    border: 1px solid #262c30;
    border-radius: 16px;
    padding: 24px 24px 20px;
    color: #e8ecef;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
    transition: top 0.3s ease, left 0.3s ease;
}

.tur-ikon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #478F65;
    background: rgba(71, 143, 101, 0.14);
    border: 1px solid rgba(71, 143, 101, 0.35);
    margin-bottom: 14px;
}

/* Logo di dalam kotak ikon (dipakai langkah yang punya kunci logo) */
.tur-ikon .tur-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tur-langkah {
    font-size: 12px;
    color: #93a0a8;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

.tur-judul {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
}

.tur-isi {
    font-size: 14px;
    line-height: 1.6;
    color: #c3ccd1;
    margin: 0 0 18px;
}

.tur-titik {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.tur-titik span {
    height: 6px;
    width: 6px;
    border-radius: 999px;
    background: #2f373c;
    transition: width 0.2s ease, background 0.2s ease;
}

.tur-titik span.aktif {
    width: 22px;
    background: #478F65;
}

.tur-aksi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tur-aksi-kanan {
    display: flex;
    gap: 8px;
}

.tur-tombol {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    padding: 9px 18px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.tur-lewati {
    background: transparent;
    color: #93a0a8;
    padding-left: 0;
}

.tur-lewati:hover {
    color: #e8ecef;
}

.tur-kembali {
    background: transparent;
    color: #e8ecef;
    border-color: #262c30;
}

.tur-kembali:hover {
    border-color: #478F65;
}

.tur-lanjut {
    background: #478F65;
    color: #fff;
}

.tur-lanjut:hover {
    background: #40826D;
}

.tur-tombol:focus-visible {
    outline: 2px solid #478F65;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .tur-kartu {
        padding: 20px 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tur-overlay,
    .tur-sorot,
    .tur-kartu,
    .tur-titik span {
        transition: none;
    }
}