/* Stiluri pentru afișarea completă pe ecran a Turului Virtual */
.tur-virtual-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 99999; /* Index foarte mare pentru a acoperi tot site-ul, inclusiv meniul */
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tur-virtual-overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Butonul de închidere (X) */
.tur-virtual-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 6px; /* Border radius fin */
    z-index: 100000;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tur-virtual-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* Construcția grafică a lui X folosind ::before și ::after (Alb) */
.tur-virtual-close::before,
.tur-virtual-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

.tur-virtual-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tur-virtual-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Prevenire scroll pe site-ul principal când turul este deschis */
body.tur-virtual-open {
    overflow: hidden !important;
}
