/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,body{
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:'Poppins',sans-serif;
    background:#000;
}

/* ===========================
   HEADER
=========================== */

.header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 35px;

    background:linear-gradient(90deg,#0077ff,#0095ff);

    color:#fff;

    z-index:100;
}

.header-nav ul {
    display: flex;
    align-items: center;
}
.header-nav ul li {
    list-style: none;
    margin-left: 20px;
}
.header-nav ul li a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

.msg h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    text-align: center;
}

/* .header::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-35px;

    width:100%;

    height:45px;

    background:white;

    border-radius:0 0 100% 100%;

} */

.header-left{

    display:flex;

    align-items:center;

    gap:18px;

    z-index:2;

}

.logo{

    width:60px;

    height:60px;

    object-fit:contain;

}

.header h1{

    font-size:24px;

    font-weight:700;

}

.header p{

    font-size:14px;

    opacity:.9;

}

.header-right{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:18px;

    z-index:2;

}

.header-right i{

    color:#ffe600;

}

/* ===========================
   VIEWER
=========================== */

.viewer{

    width:100vw;

    height:100vh;

    overflow:hidden;

    position:relative;

    background:#111;

}

#panorama{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.4s;

    cursor:grab;

}

#panorama:active{

    cursor:grabbing;

}

/* qora gradient */

.viewer::before{

    content:"";

    position:absolute;

    width:100%;

    height:180px;

    left:0;

    top:0;

    background:linear-gradient(to bottom,
    rgba(0,0,0,.45),
    transparent);

    z-index:5;

}

/* ===========================
   HELP
=========================== */

.help-box{

    position:absolute;

    top:120px;

    left:30px;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(8px);

    padding:15px 20px;

    border-radius:15px;

    font-size:15px;

    line-height:24px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    z-index:50;

}

.help-box i{

    color:#0077ff;

    margin-right:8px;

}

/* ===========================
   360 TITLE
=========================== */

.title360{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    color:white;

    font-size:34px;

    font-weight:700;

    letter-spacing:3px;

    text-shadow:0 3px 12px black;

    z-index:20;

    pointer-events:none;

}







/*==========================
        CONTROL BUTTONS
==========================*/

.controls{

    position:absolute;

    bottom:110px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:15px;

    z-index:100;

}

.controls button{

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#ffffff;

    color:#0077ff;

    font-size:20px;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.3s;

}

.controls button:hover{

    background:#0077ff;

    color:#fff;

    transform:translateY(-6px);

}

.controls button:active{

    transform:scale(.95);

}


/*==========================
        FULLSCREEN
==========================*/

.fullscreen{

    position:absolute;

    right:30px;

    bottom:110px;

    padding:14px 22px;

    border:none;

    border-radius:40px;

    background:#0077ff;

    color:white;

    font-size:16px;

    cursor:pointer;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.3s;

    z-index:100;

}

.fullscreen:hover{

    background:#005fd1;

}

.fullscreen i{

    font-size:18px;

}


/*==========================
          FOOTER
==========================*/

footer{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    height:85px;

    background:#111;

    display:flex;

    justify-content:space-around;

    align-items:center;

    z-index:200;

}

footer a{

    text-decoration:none;

    color:#ddd;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    transition:.3s;

    font-size:14px;

}

footer a i{

    font-size:22px;

}

footer a:hover{

    color:#00a2ff;

}

footer .active{

    color:#00a2ff;

}

footer a span{

    font-size:13px;

}


/*==========================
        SCROLL BAR
==========================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#0077ff;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}
/* markaz haqida */
/*================ MODAL ================*/

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
    z-index:99999;
    justify-content:center;
    align-items:center;
}

.modal-box{

    width:500px;
    max-width:90%;
    background:#fff;
    border-radius:15px;
    padding:30px;
    position:relative;
    animation:popup .3s ease;

}

.modal-box h2{

    color:#0d6efd;
    margin-bottom:15px;

}

.modal-box p{

    color:#555;
    line-height:28px;
    margin-top:10px;

}

.close{

    position:absolute;
    top:12px;
    right:18px;
    font-size:32px;
    cursor:pointer;
    color:#666;

}

.close:hover{

    color:red;

}
/*==========================
      XONALAR MODAL
==========================*/

.rooms-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.rooms-container{

    width: 92%;
    max-width: 1400px;
    height: 88vh;

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: 0 20px 60px rgba(0,0,0,.35);

    animation: roomShow .35s ease;

}

@keyframes roomShow{

    from{

        transform: scale(.85);
        opacity:0;

    }

    to{

        transform: scale(1);
        opacity:1;

    }

}

/*==========================
      HEADER
==========================*/

.rooms-header{

    background: linear-gradient(135deg,#0d6efd,#00b4ff);

    color:#fff;

    padding:20px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.rooms-header h2{

    font-size:28px;

    font-weight:600;

}

.rooms-header h2 i{

    margin-right:10px;

}

#closeRooms{

    font-size:34px;

    cursor:pointer;

    transition:.3s;

}

#closeRooms:hover{

    transform:rotate(90deg);

}

/*==========================
      SEARCH
==========================*/

.search-box{

    padding:20px;

    background:#f6f8fc;

    position:relative;

}

.search-box i{

    position:absolute;

    left:35px;

    top:50%;

    transform:translateY(-50%);

    color:#777;

}

.search-box input{

    width:100%;

    height:55px;

    border:none;

    outline:none;

    background:#fff;

    border-radius:40px;

    padding-left:55px;

    font-size:17px;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

}

.search-box input:focus{

    box-shadow:0 0 0 3px rgba(13,110,253,.25);

}

/*==========================
      GRID
==========================*/

.rooms-grid{

    flex:1;

    overflow-y:auto;

    padding:25px;

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));

    gap:25px;

}

/*==========================
      CARD
==========================*/

.room-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.room-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(13,110,253,.18);

}

.room-card img{

    width:100%;

    height:180px;

    object-fit:cover;

}

.room-card h3{

    padding:18px 18px 5px;

    font-size:20px;

}

.room-card p{

    padding:0 18px;

    color:#666;

    line-height:24px;

    min-height:55px;

}

.room-card button{

    width:calc(100% - 36px);

    margin:18px;

    height:45px;

    border:none;

    border-radius:10px;

    background:#0d6efd;

    color:#fff;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}

.room-card button:hover{

    background:#0056d6;

}

/*==========================
      SCROLL
==========================*/

.rooms-grid::-webkit-scrollbar{

    width:8px;

}

.rooms-grid::-webkit-scrollbar-thumb{

    background:#0d6efd;

    border-radius:10px;

}

.rooms-grid::-webkit-scrollbar-track{

    background:#eee;

}

/*==========================
      RESPONSIVE
==========================*/

@media(max-width:768px){

.rooms-container{

    width:96%;
    height:94vh;

}

.rooms-header h2{

    font-size:20px;

}

.search-box{

    padding:15px;

}

.room-card img{

    height:150px;

}

}


@keyframes popup{

    from{

        transform:scale(.7);
        opacity:0;

    }

    to{

        transform:scale(1);
        opacity:1;

    }

}

/*==========================
        RESPONSIVE
==========================*/

@media(max-width:900px){

.header{

    height:80px;

    padding:15px;

}

.header h1{

    font-size:18px;

}

.header p{

    display:none;

}

.logo{

    width:45px;

}

.header-right{

    font-size:14px;

}

.help-box{

    display:none;

}

.controls{

    gap:10px;

    bottom:100px;

}

.controls button{

    width:45px;

    height:45px;

    font-size:16px;

}

.fullscreen{

    bottom:165px;

    right:15px;

    padding:10px 16px;

    font-size:14px;

}

footer{

    height:75px;

}

footer a span{

    font-size:11px;

}

footer a i{

    font-size:18px;

}

.title360{

    font-size:22px;

}

}