/* ============================================
   VIRTUAL TOUR PAGE
   ============================================ */

/* ── Page Banner ── */
.page-banner {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--primary-dark) 100%);
    padding: 120px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    animation: heroGlow 8s infinite ease-in-out alternate;
}

.page-banner h1 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 17px;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ── Breadcrumb ── */
.breadcrumb-custom {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-custom li a:hover {
    color: var(--accent-light);
}

.breadcrumb-custom li.active {
    color: var(--accent-light);
    font-weight: 600;
}

.breadcrumb-custom li+li::before {
    content: '›';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.4);
}


/* ═══════════════════════════
   HOW IT WORKS
   ═══════════════════════════ */
.tour-guide-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.guide-step {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.guide-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.guide-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.guide-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.guide-step:hover .guide-step-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
}

.guide-step h6 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.guide-step p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}


/* ═══════════════════════════
   DEPARTMENT CARDS
   ═══════════════════════════ */
.dept-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.dept-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.dept-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dept-card:hover .dept-card-image img {
    transform: scale(1.1);
}

.dept-card-icon-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(6, 182, 212, 0.1));
}

.dept-card-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.dept-room-count {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dept-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dept-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 16px;
    transition: all 0.4s ease;
}

.dept-card:hover .dept-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.dept-card-body h5 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
    font-size: 18px;
}

.dept-card-body p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.btn-explore {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
    align-self: flex-start;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.3);
}


/* ═══════════════════════════
   ROOMS SECTION
   ═══════════════════════════ */
.rooms-section {
    background: rgba(240, 253, 250, 0.8);
}

.rooms-header {
    margin-bottom: 40px;
}

.btn-back {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.btn-back:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-4px);
}

/* ── Room Filters ── */
.room-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.room-filter-btn {
    background: var(--glass-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #64748b;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.room-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.room-filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}


/* ═══════════════════════════
   ROOM CARDS
   ═══════════════════════════ */
.room-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.room-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-image img {
    transform: scale(1.1);
}

.room-card-icon-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary);
    opacity: 0.25;
}

.room-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.room-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.room-card:hover .room-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.room-card-play i {
    margin-left: 3px;
}

.room-card-body {
    padding: 22px;
}

.room-card-body h6 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.room-card-body p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.room-card:hover .room-card-link {
    gap: 10px;
}


/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h5 {
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}


/* ═══════════════════════════
   PANORAMA MODAL
   ═══════════════════════════ */
.tour-modal-content {
    background: #000;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.tour-modal-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}

.tour-modal-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tour-room-type-badge {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.tour-modal-info h5 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
}

.tour-modal-info p {
    margin: 0;
    font-size: 13px;
    opacity: 0.6;
}

.tour-modal-controls {
    display: flex;
    gap: 8px;
}

.tour-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.tour-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-close-tour {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-close-tour:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* ── Viewer ── */
.tour-viewer-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#panorama-viewer {
    width: 100%;
    height: 100%;
}

/* Pannellum Overrides */
.pnlm-container {
    background: #111 !important;
}

.pnlm-controls-container {
    bottom: 16px !important;
    right: 16px !important;
    top: auto !important;
    left: auto !important;
}

.pnlm-zoom-controls {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.pnlm-zoom-in,
.pnlm-zoom-out {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
}

.pnlm-zoom-in:hover,
.pnlm-zoom-out:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.pnlm-compass {
    bottom: 70px !important;
    right: 16px !important;
    top: auto !important;
    left: auto !important;
}

/* ── Loading ── */
.tour-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    gap: 20px;
}

.tour-loading p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.tour-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-light);
    border-radius: 50%;
    animation: tourSpin 0.8s linear infinite;
}

@keyframes tourSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Footer Bar ── */
.tour-modal-footer {
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.95), rgba(12, 74, 110, 0.95));
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.tour-modal-footer p {
    margin: 0;
    font-size: 13px;
    opacity: 0.7;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-instructions {
    display: flex;
    gap: 20px;
    font-size: 12px;
    opacity: 0.5;
}

.tour-instructions span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */
@media (max-width: 991px) {
    .page-banner h1 {
        font-size: 2.2rem;
    }

    .tour-modal-info h5 {
        font-size: 15px;
    }

    .tour-modal-info p {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 60px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .tour-guide-section {
        margin-top: -30px;
    }

    .room-filters {
        gap: 6px;
    }

    .room-filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .tour-modal-header {
        padding: 12px 16px;
    }

    .tour-modal-info {
        gap: 10px;
    }

    .tour-room-type-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    .tour-modal-footer {
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px;
    }

    .tour-modal-footer p {
        max-width: 100%;
        text-align: center;
    }

    .tour-instructions {
        gap: 12px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .dept-card-image {
        height: 160px;
    }

    .room-card-image {
        height: 160px;
    }

    .tour-modal-controls {
        gap: 6px;
    }

    .tour-control-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}


/* ============================================
   VIRTUAL TOUR PAGE — AREA-FIRST LAYOUT
   ============================================ */

/* ── Page Banner (same as before) ── */
.page-banner {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--primary-dark) 100%);
    padding: 120px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    animation: heroGlow 8s infinite ease-in-out alternate;
}

.page-banner h1 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 17px;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 24px;
}


/* ── Breadcrumb ── */
.breadcrumb-custom {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-custom li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-custom li a:hover {
    color: var(--accent-light);
}

.breadcrumb-custom li.active {
    color: var(--accent-light);
    font-weight: 600;
}

.breadcrumb-custom li+li::before {
    content: '›';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.4);
}


/* ═══════════════════════════
   HOW IT WORKS
   ═══════════════════════════ */
.tour-guide-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.guide-step {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.guide-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.guide-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.guide-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.guide-step:hover .guide-step-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
}

.guide-step h6 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.guide-step p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}


/* ═══════════════════════════
   AREA CARDS (Main Grid)
   ═══════════════════════════ */
.area-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 32px 20px 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Top accent bar */
.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.area-card:hover::before,
.area-card.active::before {
    transform: scaleX(1);
}

/* Hover */
.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

/* Active state */
.area-card.active {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.2);
    background: rgba(13, 148, 136, 0.05);
}

.area-card.active .area-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
}

.area-card.active h6 {
    color: var(--primary-dark);
}

.area-card.active .area-card-arrow {
    opacity: 1;
    color: var(--primary);
}

/* Icon */
.area-card-icon-wrap {
    margin-bottom: 8px;
}

.area-card-icon-wrap img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
}

.area-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: all 0.4s ease;
}

.area-card:hover .area-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.area-card h6 {
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
    font-size: 16px;
    transition: color 0.3s ease;
}

.area-room-count {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.area-card-arrow {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 12px;
    color: #cbd5e1;
    opacity: 0;
    transition: all 0.3s ease;
}

.area-card:hover .area-card-arrow {
    opacity: 1;
    color: var(--primary);
    right: 10px;
}


/* ═══════════════════════════
   ROOMS SECTION
   ═══════════════════════════ */
.rooms-section {
    background: rgba(240, 253, 250, 0.8);
}

.rooms-header {
    margin-bottom: 40px;
}

.rooms-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.rooms-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.btn-back {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-back:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-4px);
}


/* ═══════════════════════════
   ROOM CARDS
   ═══════════════════════════ */
.room-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(13, 148, 136, 0.3);
}

.room-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-image img {
    transform: scale(1.1);
}

.room-card-icon-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary);
    opacity: 0.25;
}

.room-card-area-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.room-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.room-card:hover .room-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.room-card-play i {
    margin-left: 3px;
}

.room-card-body {
    padding: 22px;
}

.room-card-body h6 {
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.room-card-body p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.room-card:hover .room-card-link {
    gap: 10px;
}


/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h5 {
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}


/* ═══════════════════════════
   PANORAMA MODAL
   ═══════════════════════════ */
.tour-modal-content {
    background: #000;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.tour-modal-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}

.tour-modal-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tour-area-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.tour-modal-info h5 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
}

.tour-modal-controls {
    display: flex;
    gap: 8px;
}

.tour-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.tour-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-close-tour {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-close-tour:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* ── Viewer ── */
.tour-viewer-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#panorama-viewer {
    width: 100%;
    height: 100%;
}

.pnlm-container {
    background: #111 !important;
}

.pnlm-controls-container {
    bottom: 16px !important;
    right: 16px !important;
    top: auto !important;
    left: auto !important;
}

.pnlm-zoom-controls {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.pnlm-zoom-in,
.pnlm-zoom-out {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
}

.pnlm-zoom-in:hover,
.pnlm-zoom-out:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.pnlm-compass {
    bottom: 70px !important;
    right: 16px !important;
    top: auto !important;
    left: auto !important;
}

/* ── Loading ── */
.tour-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    gap: 20px;
}

.tour-loading p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.tour-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-light);
    border-radius: 50%;
    animation: tourSpin 0.8s linear infinite;
}

@keyframes tourSpin {
    to { transform: rotate(360deg); }
}

/* ── Footer Bar ── */
.tour-modal-footer {
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.95), rgba(12, 74, 110, 0.95));
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.tour-modal-footer p {
    margin: 0;
    font-size: 13px;
    opacity: 0.7;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-instructions {
    display: flex;
    gap: 20px;
    font-size: 12px;
    opacity: 0.5;
}

.tour-instructions span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */
@media (max-width: 991px) {
    .page-banner h1 { font-size: 2.2rem; }
    .tour-modal-info h5 { font-size: 15px; }
    .area-card-icon { width: 60px; height: 60px; font-size: 24px; }
    .area-card h6 { font-size: 14px; }
    .rooms-header-info { gap: 14px; }
    .rooms-header-icon { width: 46px; height: 46px; font-size: 20px; }
}

@media (max-width: 768px) {
    .page-banner { padding: 100px 0 60px; }
    .page-banner h1 { font-size: 1.8rem; }
    .tour-guide-section { margin-top: -30px; }
    .area-card { padding: 24px 16px 22px; }
    .area-card-icon { width: 55px; height: 55px; font-size: 22px; border-radius: 16px; }
    .area-card h6 { font-size: 13px; }
    .area-room-count { font-size: 11px; }
    .tour-modal-header { padding: 12px 16px; }
    .tour-area-badge { font-size: 10px; padding: 4px 12px; }
    .tour-modal-footer {
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px;
    }
    .tour-modal-footer p {
        max-width: 100%;
        text-align: center;
    }
    .tour-instructions { gap: 12px; font-size: 11px; }
}

@media (max-width: 576px) {
    .area-card { padding: 20px 12px 18px; }
    .area-card-icon { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
    .area-card h6 { font-size: 12px; }
    .area-card-arrow { display: none; }
    .room-card-image { height: 160px; }
    .tour-modal-controls { gap: 6px; }
    .tour-control-btn { width: 36px; height: 36px; font-size: 13px; }
}