/* =====================================================================
 * Frontend (index.php / project.php / tour.php) Stilleri
 * Tailwind CDN ile birlikte kullanılır.
 * ===================================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ----------------- Header ----------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

.brand-text {
    font-weight: 700;
    font-size: 15px;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    transition: color .2s;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-cta {
    background: #0f172a;
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.nav-cta:hover {
    background: #6366f1;
    transform: translateY(-1px);
}

/* ----------------- Hero ----------------- */
.hero {
    background: radial-gradient(ellipse at top, #eef2ff, transparent 60%),
        radial-gradient(ellipse at bottom right, #fce7f3, transparent 60%),
        #f8fafc;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 9999px;
    background: white;
    border: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin: 24px 0 16px;
    line-height: 1.1;
    color: #0f172a;
}

.text-gradient {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: #475569;
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: white;
    padding: 14px 28px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.hero-btn:hover {
    background: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.35);
}

/* ----------------- Section ----------------- */
.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.section-sub {
    color: #64748b;
    margin-top: 8px;
}

.empty-state {
    background: white;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    color: #475569;
}

/* ----------------- Project Cards ----------------- */
.project-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.card-cover {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    background: #e2e8f0;
    overflow: hidden;
}

.card-cover img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.project-card:hover .card-cover img:first-child {
    transform: scale(1.06);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
    font-weight: 700;
}

.card-logo {
    position: absolute;
    bottom: 14px;
    left: 14px;
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: white;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.card-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: .9rem;
}

.card-desc {
    color: #475569;
    font-size: .92rem;
    line-height: 1.5;
    flex: 1;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #0f172a;
    color: white;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: .92rem;
    transition: background .2s, transform .2s;
}

.card-btn:hover {
    background: #6366f1;
    transform: translateX(2px);
}

/* ----------------- Project Detail ----------------- */
.project-hero {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background: #0f172a;
    color: white;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(99, 102, 241, 0.5));
}

.project-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    border-radius: 14px;
    padding: 10px;
}

.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f172a;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e7eb;
    color: #475569;
    font-size: .92rem;
}

.info-card li:last-child {
    border: 0;
}

.info-card strong {
    color: #0f172a;
}

/* ----------------- Footer ----------------- */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: 60px;
}

/* ============================================================
 *   TOUR PAGE
 * ============================================================ */
.tour-body {
    background: #000;
    color: white;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tour-body #panorama {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    touch-action: none;
}

/* Marzipano hotspot katmanı sürüklemeyi engellemesin; yalnızca hotspot tıklanabilir */
.tour-body #panorama .vt-hotspot {
    pointer-events: auto;
}

.tour-brand {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.tour-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    transition: background .2s;
}

.tour-brand-link:hover {
    background: rgba(0, 0, 0, 0.75);
}

.tour-brand-link img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.tour-brand-title {
    font-weight: 700;
    font-size: 14px;
}

.tour-brand-loc {
    font-size: 12px;
    opacity: .8;
}

/* ----------------- Sağ üst yatay nav barı ----------------- */
.tour-topbar {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 11;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    padding: 6px;
    background: rgba(47, 96, 213, 0.37);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.tt-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    min-width: 62px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.tt-item:hover {
    background: rgba(99, 102, 241, 0.85);
    color: white;
    transform: translateY(-1px);
}

.tt-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tt-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tt-label {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

/* Mobil */
@media (max-width: 920px) {
    .tour-topbar {
        top: 10px;
        right: 10px;
        gap: 0;
        padding: 4px;
    }

    .tt-item {
        min-width: 44px;
        padding: 6px 8px;
    }

    .tt-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .tour-topbar {
        left: 10px;
        right: 10px;
        justify-content: space-around;
        overflow-x: auto;
    }
}

/* ----------------- Sağ taraf dikey ikon barı ----------------- */
.tour-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour-sb-item {
    position: relative;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 96, 213, 0.37);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
    padding: 0;
}

.tour-sb-item:hover {
    background: rgba(99, 102, 241, 0.92);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(-3px);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}

.tour-sb-item .sb-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tour-sb-item .sb-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tour-sb-item .sb-label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    padding: 7px 14px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.tour-sb-item:hover .sb-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.tour-sb-whatsapp:hover {
    background: #25d366;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

/* ----------------- Tour Modal ----------------- */
.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: tmFadeIn .2s ease;
}

.tour-modal.hidden {
    display: none;
}

.tour-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.tour-modal-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 86vh;
    background: white;
    color: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    animation: tmZoomIn .22s ease;
}

.tour-modal-card-wide {
    max-width: 880px;
}

.tour-modal-head {
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.tour-modal-head h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.tour-modal-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 9px;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    transition: background .15s, color .15s;
}

.tour-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.tour-modal-body {
    padding: 22px;
    overflow-y: auto;
    color: #334155;
    line-height: 1.65;
}

/* Fullscreen Modals (Gallery, Video, Plans, Plan/Konum) */
.tour-modal-fullscreen {
    padding: 12px;
}

.tour-modal-fullscreen .tour-modal-card {
    max-width: 98vw;
    width: 98vw;
    height: 96vh;
    max-height: 96vh;
    border-radius: 16px;
}

.tour-modal-fullscreen .tour-modal-head {
    padding: 10px 16px;
}

.tour-modal-fullscreen .tour-modal-head h2 {
    font-size: 0.95rem;
}

.tour-modal-fullscreen .tour-modal-close {
    width: 30px;
    height: 30px;
    font-size: 18px;
    border-radius: 6px;
}

.tour-modal-fullscreen .tour-modal-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* Fullscreen Slider (Gallery / Plans) adjustments */
.tour-modal-fullscreen .vt-slider {
    flex: 1 1 auto;
    min-height: 0;
    gap: 8px;
}

.tour-modal-fullscreen .vt-slider-stage {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto !important;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.tour-modal-fullscreen .vt-slider-thumbs {
    margin-top: 4px;
}

/* Fullscreen Video adjustments */
.tour-modal-fullscreen .vt-video-wrap {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    aspect-ratio: auto !important;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Fullscreen Plan Image adjustments */
.tour-modal-fullscreen .plan-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px;
}

.tour-modal-fullscreen .plan-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: none;
}

/* Mobile Screen Fullscreen Adjustments */
@media (max-width: 640px) {
    .tour-modal-fullscreen {
        padding: 4px;
    }

    .tour-modal-fullscreen .tour-modal-card {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 8px;
    }

    .tour-modal-fullscreen .tour-modal-body {
        padding: 8px;
    }
}

.tour-modal-text {
    font-size: 0.96rem;
}

.tour-modal-placeholder {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    text-align: left;
}

.tour-modal-placeholder strong {
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
}

.tour-modal-placeholder p {
    margin: 6px 0;
}

.tour-modal-placeholder .text-sm {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 12px;
}

.tm-placeholder-list {
    margin: 8px 0 14px;
    padding-left: 18px;
    color: #475569;
}

.tm-placeholder-list li {
    padding: 2px 0;
}

/* İletişim modal kartı */
.contact-card {
    text-align: center;
}

.contact-logo {
    margin: 0 auto 14px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #0f172a;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.contact-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-company {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.contact-person {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 0.95rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.contact-list li {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: background .15s, border-color .15s;
}

.contact-list li:hover {
    background: white;
    border-color: #cbd5e1;
}

.contact-list .ci {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #6366f1;
    color: white;
    border-radius: 10px;
}

.contact-list .ci-wa {
    background: #25d366;
}

.contact-list .ci svg {
    width: 18px;
    height: 18px;
}

.contact-list .cl {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}

.contact-list .cv {
    grid-column: 2 / 4;
    justify-self: end;
    margin-top: -22px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.contact-list .cv:hover {
    color: #6366f1;
}

/* Plan modal */
.plan-wrap {
    text-align: center;
}

.plan-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #0f172a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background .2s, transform .2s;
}

.btn-map:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 16px;
}

/* Oda İsimleri modal grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.rooms-grid-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s, transform .15s, box-shadow .15s;
    font: inherit;
    color: inherit;
}

.rooms-grid-item:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.18);
}

.rooms-grid-item.active {
    border-color: #6366f1;
    background: #eef2ff;
}

.rooms-grid-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    background-color: #e2e8f0;
}

.rooms-grid-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes tmFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes tmZoomIn {
    from {
        transform: scale(.96);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobil */
@media (max-width: 640px) {
    .tour-sidebar {
        right: 12px;
        gap: 8px;
    }

    .tour-sb-item {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .tour-sb-item .sb-icon {
        width: 18px;
        height: 18px;
    }

    .tour-sb-item .sb-label {
        display: none;
    }

    .tour-modal-card {
        max-height: 90vh;
        border-radius: 14px;
    }
}

.tour-scenes {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    padding: 8px;
    background: rgba(47, 96, 213, 0.37);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    max-width: 92vw;
    overflow-x: auto;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.scene-thumb {
    flex: 0 0 auto;
    width: 110px;
    padding: 6px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}

.scene-thumb:hover {
    transform: translateY(-2px);
}

.scene-thumb.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
}

.scene-thumb-img {
    display: block;
    width: 100%;
    height: 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

.scene-thumb-title {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-loader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 100;
    color: white;
}

.tour-loader.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ----------------- Custom Hotspot Stilleri ----------------- */
.vt-hotspot {
    width: 40px !important;
    height: 40px !important;
    margin-left: -20px !important;
    margin-top: -20px !important;
    background: rgba(99, 102, 241, 0.95);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
    position: relative;
    box-sizing: border-box;
}

.vt-hotspot:hover {
    transform: scale(1.15);
}

.vt-hotspot-info {
    background: rgba(245, 158, 11, 0.95);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.vt-hotspot-info::after {
    content: 'i';
    color: white;
    font-weight: 700;
    font-style: italic;
    font-family: serif;
}

.vt-hotspot-scene::after {
    content: '↗';
    color: white;
    font-weight: 700;
    font-size: 18px;
}

/* ikon sınıfları */
.vt-icon-door::after {
    content: '⬚';
    font-size: 22px;
}

.vt-icon-info::after {
    content: 'i';
}

.vt-icon-star::after {
    content: '★';
}

.vt-icon-circle::after {
    content: '●';
}

/* Tooltip */
.vt-tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}

.vt-hotspot:hover .vt-tooltip {
    opacity: 1;
}

/* ----------------- Nadir Patch (tripod ayağı kapatıcı) ----------------- */
.vt-nadir {
    /* Pannellum varsayılan hotspot stillerini ezelim */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    /* Boyut JS tarafından set edilir */
}

.vt-nadir::before,
.vt-nadir::after {
    content: none !important;
}

.vt-nadir-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    /* Hafif yumuşak gölge ki tabana oturmuş gibi görünsün */
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    background: #0f172a;
}

/* =====================================================================
   ÜST NAV MODAL İÇERİKLERİ — Galeri/Plan Slider, Video, Link Kartları
   ===================================================================== */

/* Slider (galeri & planlar ortak) */
.vt-slider {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vt-slider-stage {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.vt-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vt-slide.active {
    opacity: 1;
    visibility: visible;
}

.vt-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.vt-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: white;
    font-size: 0.92rem;
    text-align: center;
}

.vt-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: background .15s, transform .15s;
}

.vt-slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.06);
}

.vt-slider-arrow svg {
    width: 22px;
    height: 22px;
}

.vt-slider-prev {
    left: 12px;
}

.vt-slider-next {
    right: 12px;
}

/* Thumbnail strip (galeri) */
.vt-slider-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: thin;
}

.vt-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 56px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: opacity .15s, border-color .15s, transform .15s;
}

.vt-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.vt-thumb.active {
    opacity: 1;
    border-color: #6366f1;
}

/* Title tab strip (planlar — başlık bazlı sekme) */
.vt-slider-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.vt-title-tab {
    padding: 8px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.vt-title-tab:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.vt-title-tab.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

/* Video modal */
.vt-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.vt-video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Link modal — kart listesi */
.vt-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vt-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}

.vt-link-card:hover {
    background: white;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.18);
}

.vt-link-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #6366f1;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vt-link-icon svg {
    width: 20px;
    height: 20px;
}

.vt-link-text {
    flex: 1;
    min-width: 0;
}

.vt-link-label {
    display: block;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.96rem;
}

.vt-link-url {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vt-link-arrow {
    color: #94a3b8;
    font-size: 18px;
}

.vt-link-card:hover .vt-link-arrow {
    color: #6366f1;
}

/* Mobil ayarlar */
@media (max-width: 640px) {
    .vt-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .vt-slider-prev {
        left: 6px;
    }

    .vt-slider-next {
        right: 6px;
    }

    .vt-thumb {
        width: 64px;
        height: 44px;
    }

    .vt-slide-caption {
        font-size: 0.82rem;
        padding: 10px 14px;
    }
}

/* =====================================================================
   Kategori Görsel Kart Stilleri
   ===================================================================== */
.category-card {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, outline 0.2s ease;
    outline: 3px solid transparent;
    outline-offset: 2px;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card:hover .card-img {
    transform: scale(1.08);
}

.category-card.active {
    outline-color: #6366f1;
    /* Indigo-500 */
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.35), 0 8px 10px -6px rgba(99, 102, 241, 0.35);
}

/* Alt Projeler Modal Listesi & Kart Stilleri */
.vt-sub-projects-section {
    margin-top: 24px;
    border-top: 1px solid #cbd5e1;
    padding-top: 20px;
}

.vt-sub-projects-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.vt-sub-projects-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vt-sub-project-card {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    align-items: center;
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}

.vt-sub-project-card:hover {
    background: white;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

.vt-sub-project-img {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.vt-sub-project-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vt-sub-project-name {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
}

.vt-sub-project-desc {
    margin: 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vt-sub-project-link {
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: color .15s;
    margin-top: 4px;
}

.vt-sub-project-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .vt-sub-project-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .vt-sub-project-img {
        width: 100%;
        height: 140px;
    }
}

/* UI Hidden Mode Styles */
body.ui-hidden .tour-topbar {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-20px) !important;
}

body.ui-hidden .tour-scenes {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, 20px) !important;
}

body.ui-hidden .tour-brand {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-20px) !important;
}

/* Ürün Hotspot ve Popap Stilleri */
.vt-hotspot-product {
    background: rgba(16, 185, 129, 0.95) !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.vt-hotspot-product::after {
    content: '🛒' !important;
    color: white;
    font-size: 15px;
}

.product-popup-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-popup-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.product-popup-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.product-popup-desc {
    font-size: 0.96rem;
    color: #475569;
    line-height: 1.6;
}

.product-popup-action {
    margin-top: 8px;
}

.btn-product-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.96rem;
    border-radius: 12px;
    transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-product-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-product-buy:active {
    transform: translateY(0);
}

.product-popup-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.product-popup-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Yazı Etiketi (Labelspot) Stilleri */
.vt-hotspot-label:not([class*="vt-icon-custom-"]) {
    width: 12px !important;
    height: 12px !important;
    background: #ffffff !important;
    border: 2px solid #0f172a !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}
.vt-hotspot-label:not([class*="vt-icon-custom-"])::after {
    content: none !important;
}
.vt-hotspot-label .vt-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    bottom: 100% !important;
    margin-bottom: 12px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transform: translateX(-50%) !important;
}
.vt-hotspot-label .vt-tooltip::before {
    content: '' !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.vt-hotspot-label a.vt-tooltip {
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s !important;
}
.vt-hotspot-label a.vt-tooltip:hover {
    background: rgba(99, 102, 241, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateX(-50%) scale(1.05) !important;
}
.hidden {
    display: none !important;
}
.tour-sb-audio:hover {
    background: #6366f1 !important;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.4) !important;
}