/* ==========================================
   CROARTIS ROOM 3
   FAZA 1
   OSNOVNA KONSTRUKCIJA
========================================== */


/* ==========================================
   RESET
========================================== */

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}


/* ==========================================
   HTML / BODY
========================================== */

html,
body{

    width:100%;
    height:100%;

    overflow:hidden;

    background:#222;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


/* ==========================================
   ROOM 3 SCENA
========================================== */

.room3-scene{

    position:relative;

    width:100vw;
    height:100vh;

    overflow:hidden;

    background:#222;

}


/* ==========================================
   ROOM 3 VIEW
========================================== */

.room3-view{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    display:none;

    flex-direction:column;

    overflow:hidden;

}


/* ==========================================
   AKTIVNI VIEW
========================================== */

.room3-view.active{

    display:flex;

}


/* ==========================================
   STROP
   10%
========================================== */

.room3-ceiling{

    flex:0 0 10%;

    width:100%;
    height:10%;

    background:

        linear-gradient(
            to bottom,
            #ffffff,
            #ddd8cf
        );

}


/* ==========================================
   ZID
   80%
========================================== */

.room3-wall{

    position:relative;

    flex:0 0 80%;

    width:100%;
    height:80%;

    background:

        linear-gradient(
            to bottom,
            #faf9f5,
            #f2eee6
        );

}


/* ==========================================
   POD
   10%
========================================== */

.room3-floor{

    flex:0 0 10%;

    width:100%;
    height:10%;

    background:

        linear-gradient(
            to bottom,
            #ddd8cf,
            #bdb6aa
        );

}


/* ==========================================
   ARTWORK KONTEJNER
========================================== */

.room3-artworks{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

}




/* ==========================================
   SLIKE
========================================== */

.room3-image{

    display:block;

    width:270px;
    height:auto;

    border:1px solid #222;

    box-shadow:

        0 25px 50px
        rgba(0,0,0,.30);

}


/* ==========================================
   ZID 1
   TRI SLIKE
========================================== */

.room3-wall1-artworks{

    justify-content:center;

    gap:45px;

}

/* ==========================================
   ZID 1 - ZASEBNA VELIČINA SLIKA
========================================== */

/* LIJEVA SLIKA */
.room3-wall1-image-1 {
    width: 200px;
    height: auto;
}

/* SREDNJA SLIKA */
.room3-wall1-image-2 {
    width: 200px;
    height: auto;
}

/* DESNA SLIKA */
.room3-wall1-image-3 {
    width: 350px;
    height: auto;
}




/* ==========================================
   ZID 2
   TRI SLIKE
========================================== */

.room3-wall2-artworks{

    justify-content:center;

    gap:45px;

}


/* ==========================================
   ZID 3
   VRATA LIJEVO → ROOM 2
   DVIJE SLIKE DESNO
========================================== */

.room3-wall3-artworks{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    gap:50px;

    /*
       Slobodan prostor počinje odmah nakon vrata.
       Cijela grupa slika zauzima 490px
       (220 + 50 + 220).

       Grupom upravlja margin-left,
       a ostatak prostora ostaje jednak
       prema desnom rubu zida.
    */

    margin-left:calc(8vw + 220px);

    width:calc(100% - 8vw - 220px - 8vw);

    justify-content:center;

}


/* ==========================================
   ZID 4
   DVIJE SLIKE LIJEVO
   ROOM 4 → VRATA DESNO
========================================== */

.room3-wall4-artworks{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    gap:50px;

    margin-right:calc(8vw + 220px);

    width:calc(100% - 8vw - 220px - 8vw);

    justify-content:center;

}


/* ==========================================
   POLITEO 22 - ZASEBNA VELIČINA
========================================== */

.room3-wall4-artworks .room3-artwork-22{

    flex:0 0 auto;

}

.room3-wall4-artworks .room3-artwork-22 .room3-image{

    width:200px !important;
    height:auto !important;

    object-fit:contain;

}


/* ==========================================
   POLITEO 23 - ZASEBNA VELIČINA
========================================== */

.room3-wall4-artworks .room3-artwork-23{

    flex:0 0 auto;

}

.room3-wall4-artworks .room3-artwork-23 .room3-image{

    width:380px !important;
    height:auto !important;

    object-fit:contain;

}


/* ==========================================
   VRATA
========================================== */

.room3-door{

    position:absolute;

    width:220px;
    height:75%;

    bottom:0;

    background:

        linear-gradient(
            to right,
            #939290,
            #cbc9c4 40%,
            #cbc9c4 70%,
            #939290
        );

    border:
        12px solid #dedbd3;

    box-shadow:

        0 30px 70px
        rgba(0,0,0,.35),

        inset 0 0 45px
        rgba(0,0,0,.18);

    z-index:20;

}


/* ==========================================
   ZID 3 - VRATA LIJEVO
========================================== */

.room3-door-to-room2 {
    left:8vw;
}




/* ==========================================
   ZID 4 - VRATA DESNO
========================================== */

.room3-door-to-room4 {
    right:8vw;
}



/* ==========================================
   VRATA HOTSPOT
========================================== */

.room3-door-hotspot{

    position:absolute;

    inset:0;

    cursor:pointer;

    z-index:30;

}


/* ==========================================
   NAVIGACIJA
========================================== */

.room3-navigation{

    position:fixed;

    left:50%;
    bottom:35px;

    transform:
        translateX(-50%);

    display:flex;

    gap:100px;

    z-index:1000;

}


/* ==========================================
   STRELICE
========================================== */

.room3-navigation button{

    appearance:none;

    border:0;
    padding:0;
    margin:0;

    background:none;

    font-family:Arial, Helvetica, sans-serif;

    font-size:75px;

    line-height:1;

    color:white;

    cursor:pointer;

    text-shadow:
        0 5px 15px rgba(0,0,0,.8);

}


.room3-navigation button:hover{

    transform:scale(1.08);

}



/* ==========================================
   PRIJELAZ
========================================== */

.room3-overlay{

    position:fixed;

    inset:0;

    background:white;

    opacity:0;

    pointer-events:none;

    z-index:900;

    transition:

        opacity .4s ease;

}


.room3-overlay.active{

    opacity:.85;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:900px){

    .room3-image{

        width:170px;

    }


    .room3-wall1-artworks,
    .room3-wall2-artworks{

        gap:25px;

    }


    .room3-wall3-artworks{

        padding-left:5vw;

    }


    .room3-wall4-artworks{

        padding-right:5vw;

    }


    .room3-door{

        width:180px;

    }

}


@media (max-width:600px){

    .room3-image{

        width:110px;

    }


    .room3-wall1-artworks,
    .room3-wall2-artworks{

        gap:12px;

    }


    .room3-wall3-artworks,
    .room3-wall4-artworks{

        gap:15px;

    }


    .room3-door{

        width:140px;

        height:70%;

    }


    .room3-navigation{

        bottom:20px;

        gap:60px;

    }


    .room3-navigation button{

        font-size:52px;

    }

}


.room3-artwork{

    position:relative;

    display:flex;

    align-items:flex-end;

}


.room3-plaque{

    position:relative;

    align-self:flex-end;
	
	transform:translateY(-110px);

    margin-left:-28px;

    margin-bottom:0;

    min-width:130px;

    padding:6px 8px;

    background:#f4f1e9;

    border:1px solid #bdb8ae;

    box-shadow:
        0 8px 20px rgba(0,0,0,.18);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height:1.2;
	
	width:90px;
min-width:90px;

}


.room3-plaque-title{

    font-size:14px;

    font-weight:bold;

    margin-bottom:4px;

}


.room3-plaque-technique{

    font-size:12px;

    margin-bottom:3px;

}


.room3-plaque-format{

    font-size:12px;

}


/* ==========================================
   ZID 2 - POZICIJA PLOČICA
========================================== */

.room3-wall2-artworks .room3-plaque{

    align-self:flex-end;

    transform:translateY(0px);

    margin-left:12px;

}


/* ==========================================
   ZID 2 - VELIČINA SLIKA
========================================== */

.room3-wall2-artworks .room3-image{

    width:250px;
    height:auto;

}


/* ==========================================
   ZID 3 - PODEŠAVANJE PLOČICA
========================================== */

.room3-wall3-artworks .room3-plaque{

    align-self:flex-end;

    transform:translateY(0px);

    margin-left:25px;

}

/* ==========================================
   ZID 3
   VELIČINA SLIKA
========================================== */

.room3-wall3-artworks .room3-image{

    width:300px;
    height:auto;

}

/* ZID 3 - POMAK SLIKA + PLOČICA LIJEVO/DESNO */

.room3-wall3-artworks{
    transform:translateX(50px);
}


/* DESNA SLIKA */
.room3-wall3-artworks .room3-artwork:last-of-type .room3-image {
    width: 200px;
    height: auto;
    transform: translateX(20px);
}

/* ==========================================
   ZID 4 - POMAK PLOČICA
========================================== */

.room3-wall4-artworks .room3-plaque{

    transform:
        translate(40px, 0px);

}

/* LIJEVA SLIKA - POLITEO 22 */

.room3-wall4-artworks .room3-artwork-22 .room3-image {

    width: 250px;
    height: auto;

}


/* DESNA SLIKA - POLITEO 23 */

.room3-wall4-artworks .room3-artwork-23 .room3-image {

    width: 300px;
    height: auto;

}

/* ==========================================
   ROOM 3
   SHABBY CHIC BIJELI PARKET
   ZAJEDNIČKI ZA SVA 4 ZIDA
========================================== */

.room3-floor{

    position:relative;

    width:100%;
    height:20%;

    overflow:hidden;

    background:#eeeae3;

    box-shadow:

        inset 0 18px 30px
        rgba(255,255,255,.35),

        inset 0 -80px 100px
        rgba(80,60,40,.14),

        inset 0 0 70px
        rgba(90,70,50,.06);

}


/* ==========================================
   OSNOVNE DASKE
========================================== */

.room3-floor::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        repeating-linear-gradient(
            0deg,

            #faf9f5 0px,
            #faf9f5 31px,

            #ddd8d0 32px,
            #ddd8d0 33px
        );

}


/* ==========================================
   BLAGA NEUJEDNAČENOST BIJELOG DRVA
========================================== */

.room3-floor::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        repeating-linear-gradient(
            3deg,

            transparent 0px,
            transparent 45px,

            rgba(105,85,65,.045) 47px,

            transparent 50px
        ),

        radial-gradient(
            ellipse at 18% 35%,
            rgba(110,90,70,.045),
            transparent 20%
        ),

        radial-gradient(
            ellipse at 78% 70%,
            rgba(110,90,70,.035),
            transparent 22%
        );

    opacity:.75;

    pointer-events:none;

}


/* ==========================================
   PERSPEKTIVA PARKETA
========================================== */

.room3-floor-perspective{

    position:absolute;

    inset:0;

    pointer-events:none;

    z-index:10;

}


.room3-floor-perspective span{

    position:absolute;

    bottom:-25%;

    width:2px;

    height:170%;

    background:

        rgba(95,75,55,.13);

    transform-origin:bottom center;

    box-shadow:

        1px 0 3px
        rgba(255,255,255,.35);

}


/* ==========================================
   SREDNJI PAR
========================================== */

.room3-floor-perspective span:nth-child(1){

    left:43%;

    transform:
        rotate(13deg);

}


.room3-floor-perspective span:nth-child(2){

    left:57%;

    transform:
        rotate(-13deg);

}


/* ==========================================
   SREDNJI ŠIRI PAR
========================================== */

.room3-floor-perspective span:nth-child(3){

    left:32%;

    transform:
        rotate(21deg);

}


.room3-floor-perspective span:nth-child(4){

    left:68%;

    transform:
        rotate(-21deg);

}


/* ==========================================
   NAJŠIRI PAR
========================================== */

.room3-floor-perspective span:nth-child(5){

    left:15%;

    transform:
        rotate(31deg);

}


.room3-floor-perspective span:nth-child(6){

    left:85%;

    transform:
        rotate(-31deg);

}


/* ==========================================
   DUBINA / ISTROŠENOST
========================================== */

.room3-floor{

    background:

        linear-gradient(
            to bottom,
            rgba(255,255,255,.20),
            transparent 35%,
            rgba(95,70,45,.10)
        ),

        #eeeae3;

}


/* ==========================================
   ZID 1
   STROPNI REFLEKTORI
   FAZA 1 — SAMO REFLEKTORI
========================================== */


.room3-wall1-spot{

    position:absolute;

    top:-18px;

    width:22px;
    height:15px;

    background:

        linear-gradient(
            to bottom,
            #3b3b3b 0%,
            #111 45%,
            #050505 100%
        );

    border-radius:
        3px 3px 18px 18px;

    box-shadow:

        inset 2px 3px 5px
        rgba(255,255,255,.12),

        0 10px 18px
        rgba(0,0,0,.55);

    z-index:600;

    pointer-events:none;

}


/* ==========================================
   DONJA KUPOLA REFLEKTORA
========================================== */

.room3-wall1-spot::after{

    content:"";

    position:absolute;

    bottom:-6px;

    left:50%;

    transform:
        translateX(-50%);

    width:24px;
    height:12px;

    background:

        radial-gradient(
            ellipse at center,
            #222,
            #000 70%
        );

    border-radius:
        0 0 50% 50%;

}


/* ==========================================
   REFLEKTOR 1
========================================== */

.room3-wall1-spot-1{

    left:14%;

}


/* ==========================================
   REFLEKTOR 2
========================================== */

.room3-wall1-spot-2{

    left:45%;

}


/* ==========================================
   REFLEKTOR 3
========================================== */

.room3-wall1-spot-3{

    left:76.5%;

}


/* ==========================================
   ZID 1
   OSVJETLJENJE DIREKTNO NA SLIKAMA
========================================== */


/* ==========================================
   SLIKA 1
========================================== */

.room3-wall1-artworks img:nth-of-type(1){

    position:relative;

    z-index:10;

    box-shadow:

        0 25px 50px rgba(0,0,0,.35),

        0 0 35px rgba(255,250,220,.18);

}


/* ==========================================
   SLIKA 2
========================================== */

.room3-wall1-artworks img:nth-of-type(2){

    position:relative;

    z-index:10;

    box-shadow:

        0 25px 50px rgba(0,0,0,.35),

        0 0 35px rgba(255,250,220,.18);

}


/* ==========================================
   SLIKA 3
========================================== */

.room3-wall1-artworks img:nth-of-type(3){

    position:relative;

    z-index:10;

    box-shadow:

        0 25px 50px rgba(0,0,0,.35),

        0 0 35px rgba(255,250,220,.18);

}




/* ==========================================
   ZID 2
========================================== */


/* ==========================================
   OSNOVNI REFLEKTOR
========================================== */

.room3-wall1-spot{

    position:absolute;

    width:22px;
    height:15px;

    z-index:600;

    pointer-events:none;

}


/* ==========================================
   REFLEKTOR 1
========================================== */

.room3-wall1-spot-1{

    left:14%;
    top:-18px;

}


/* ==========================================
   REFLEKTOR 2
========================================== */

.room3-wall1-spot-2{

    left:46%;
    top:-18px;

    transform:
        translateX(-50%);

}


/* ==========================================
   REFLEKTOR 3
========================================== */

.room3-wall1-spot-3{

    left:76.5%;
    top:-18px;

}


/* ==========================================
   SNOP SVJETLA IZ REFLEKTORA
========================================== */

.room3-wall1-spot-light{

    position:absolute;

    left:50%;

    bottom:-170px;

    transform:
        translateX(-50%);

    width:130px;
    height:170px;

    background:

        linear-gradient(
            to bottom,

            rgba(255,255,255,.95) 0%,

            rgba(255,255,255,.65) 18%,

            rgba(255,255,255,.32) 40%,

            rgba(255,255,255,.12) 65%,

            transparent 100%
        );

    clip-path:

        polygon(
            44% 0%,
            56% 0%,
            100% 100%,
            0% 100%
        );

    filter:
        blur(7px);

    opacity:.75;

    pointer-events:none;

    z-index:590;

}


/* ==========================================
   ZID 2
   REFLEKTORI NA STROPU
   FAZA 1 — SAMO REFLEKTORI
========================================== */


/* ==========================================
   OSNOVNI REFLEKTOR
========================================== */

.room3-wall2-spot{

    position:absolute;

    top:-18px;

    width:22px;
    height:15px;

    background:

        linear-gradient(
            to bottom,
            #3b3b3b 0%,
            #111 45%,
            #050505 100%
        );

    border-radius:
        3px 3px 18px 18px;

    box-shadow:

        inset 2px 3px 5px rgba(255,255,255,.12),

        0 10px 18px rgba(0,0,0,.55);

    z-index:600;

    pointer-events:none;

}


/* ==========================================
   DONJI DIO REFLEKTORA
========================================== */

.room3-wall2-spot::after{

    content:"";

    position:absolute;

    bottom:-6px;

    left:50%;

    transform:
        translateX(-50%);

    width:24px;
    height:12px;

    background:

        radial-gradient(
            ellipse at center,
            #222,
            #000 70%
        );

    border-radius:
        0 0 50% 50%;

}


/* ==========================================
   REFLEKTOR 1
========================================== */

.room3-wall2-spot-1{

    left:12%;

}


/* ==========================================
   REFLEKTOR 2
========================================== */

.room3-wall2-spot-2{

    left:46%;

    transform:
        translateX(-50%);

}


/* ==========================================
   REFLEKTOR 3
========================================== */

.room3-wall2-spot-3{

    left:78%;

}


/* ==========================================
   ZID 2
   FAZA 2 — SNOP SVJETLA IZ REFLEKTORA
========================================== */


/* ==========================================
   SNOP SVJETLA
========================================== */

.room3-wall2-spot::before{

    content:"";

    position:absolute;

    left:50%;

    bottom:-170px;

    transform:
        translateX(-50%);

    width:130px;
    height:170px;

    background:

        linear-gradient(
            to bottom,

            rgba(255,255,255,.95) 0%,

            rgba(255,255,255,.65) 18%,

            rgba(255,255,255,.32) 40%,

            rgba(255,255,255,.12) 65%,

            transparent 100%
        );

    clip-path:

        polygon(
            44% 0%,
            56% 0%,
            100% 100%,
            0% 100%
        );

    filter:
        blur(7px);

    opacity:.75;

    pointer-events:none;

    z-index:-1;

}



/* ==========================================
   ZID 3 — REFLEKTORI
========================================== */


/* ==========================================
   OSNOVNI REFLEKTOR
========================================== */

.room3-wall3-spot{

    position:absolute;

    top:-18px;

    width:22px;
    height:15px;

    background:

        linear-gradient(
            to bottom,
            #3b3b3b 0%,
            #111 45%,
            #050505 100%
        );

    border-radius:
        3px 3px 18px 18px;

    box-shadow:

        inset 2px 3px 5px rgba(255,255,255,.12),

        0 10px 18px rgba(0,0,0,.55);

    z-index:600;

    pointer-events:none;

}


/* ==========================================
   DONJI DIO REFLEKTORA
========================================== */

.room3-wall3-spot::after{

    content:"";

    position:absolute;

    bottom:-6px;

    left:50%;

    transform:
        translateX(-50%);

    width:24px;
    height:12px;

    background:

        radial-gradient(
            ellipse at center,
            #222,
            #000 70%
        );

    border-radius:
        0 0 50% 50%;

}


/* ==========================================
   REFLEKTOR 1 — POLITEO 20
========================================== */

.room3-wall3-spot-1{

    left:23%;

    transform:
        translateX(-50%);

}


/* ==========================================
   REFLEKTOR 2 — POLITEO 21
========================================== */

.room3-wall3-spot-2{

    left:72%;

    transform:
        translateX(-50%);

}


/* ==========================================
   ZID 3
   FAZA 2 — BIJELI I ŠIRI SNOP SVJETLA
========================================== */


/* ==========================================
   SNOP — REFLEKTOR 1
========================================== */

.room3-wall3-spot-1::before{

    content:"";

    position:absolute;

    top:12px;
    left:50%;

    transform:
        translateX(-50%);

    width:110px;
    height:230px;

    background:

        linear-gradient(
            to bottom,
            rgba(255,255,255,.42) 0%,
            rgba(255,255,255,.32) 18%,
            rgba(255,255,255,.22) 40%,
            rgba(255,255,255,.12) 65%,
            rgba(255,255,255,.04) 82%,
            transparent 100%
        );

    clip-path:polygon(
        35% 0%,
        65% 0%,
        100% 100%,
        0% 100%
    );

    filter:blur(11px);

    opacity:.9;

    pointer-events:none;

    z-index:-1;

}


/* ==========================================
   SNOP — REFLEKTOR 2
========================================== */

.room3-wall3-spot-2::before{

    content:"";

    position:absolute;

    top:12px;
    left:50%;

    transform:
        translateX(-50%);

    width:110px;
    height:230px;

    background:

        linear-gradient(
            to bottom,
            rgba(255,255,255,.42) 0%,
            rgba(255,255,255,.32) 18%,
            rgba(255,255,255,.22) 40%,
            rgba(255,255,255,.12) 65%,
            rgba(255,255,255,.04) 82%,
            transparent 100%
        );

    clip-path:polygon(
        35% 0%,
        65% 0%,
        100% 100%,
        0% 100%
    );

    filter:blur(11px);

    opacity:.9;

    pointer-events:none;

    z-index:-1;

}




/* ==========================================
   ZID 4 — REFLEKTORI
========================================== */


/* ==========================================
   OSNOVNI REFLEKTOR
========================================== */

.room3-wall4-spot{

    position:absolute;

    top:-18px;

    width:22px;
    height:15px;

    display:block;

    visibility:visible;

    opacity:1;

    background:
        linear-gradient(
            to bottom,
            #3b3b3b 0%,
            #111 45%,
            #050505 100%
        );

    border-radius:
        3px 3px 18px 18px;

    box-shadow:

        inset 2px 3px 5px
        rgba(255,255,255,.12),

        0 10px 18px
        rgba(0,0,0,.55);

    z-index:600;

    pointer-events:none;

}


/* ==========================================
   DONJI DIO REFLEKTORA
========================================== */

.room3-wall4-spot::after{

    content:"";

    position:absolute;

    display:block;

    bottom:-6px;

    left:50%;

    width:24px;
    height:12px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            ellipse at center,
            #222,
            #000 70%
        );

    border-radius:
        0 0 50% 50%;

}


/* ==========================================
   REFLEKTOR 1 — POLITEO 22
========================================== */

.room3-wall4-spot-1{

    left:23%;

    transform:
        translateX(-50%);

}


/* ==========================================
   REFLEKTOR 2 — POLITEO 23
========================================== */

.room3-wall4-spot-2{

    left:66%;

    transform:
        translateX(-50%);

}


/* ==========================================
   ZID 4 — SNOP SVJETLA IZ REFLEKTORA
========================================== */


/* ==========================================
   SNOP — REFLEKTOR 1
========================================== */

.room3-wall4-spot-1::before{

    content:"";

    position:absolute;

    top:12px;
    left:50%;

    transform:
        translateX(-50%);

    width:110px;
    height:230px;

    background:

        linear-gradient(
            to bottom,

            rgba(255,255,255,.42) 0%,
            rgba(255,255,255,.32) 18%,
            rgba(255,255,255,.22) 40%,
            rgba(255,255,255,.12) 65%,
            rgba(255,255,255,.04) 82%,
            transparent 100%
        );

    clip-path:

        polygon(
            35% 0%,
            65% 0%,
            100% 100%,
            0% 100%
        );

    filter:
        blur(11px);

    opacity:.9;

    pointer-events:none;

    z-index:-1;

}


/* ==========================================
   SNOP — REFLEKTOR 2
========================================== */

.room3-wall4-spot-2::before{

    content:"";

    position:absolute;

    top:12px;
    left:50%;

    transform:
        translateX(-50%);

    width:110px;
    height:230px;

    background:

        linear-gradient(
            to bottom,

            rgba(255,255,255,.42) 0%,
            rgba(255,255,255,.32) 18%,
            rgba(255,255,255,.22) 40%,
            rgba(255,255,255,.12) 65%,
            rgba(255,255,255,.04) 82%,
            transparent 100%
        );

    clip-path:

        polygon(
            35% 0%,
            65% 0%,
            100% 100%,
            0% 100%
        );

    filter:
        blur(11px);

    opacity:.9;

    pointer-events:none;

    z-index:-1;

}

/* ==========================================
   ROOM 3 — NATPISI NA VRATIMA
   POTPUNO NEZAVISAN CSS
========================================== */


/* ==========================================
   ROOM 4 — NATPIS
========================================== */

.room3-view-4 .room3-door-to-room4::before{

    content:"ROOM 4";

    position:absolute;

    left:50%;
    top:20%;

    transform:
        translate(-50%, -50%);

    color:#ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:20px;

    font-weight:normal;

    letter-spacing:5px;

    line-height:1;

    white-space:nowrap;

    text-align:center;

    text-shadow:
        0 1px 3px rgba(0,0,0,.45),
        0 0 8px rgba(255,255,255,.20);

    z-index:25;

    pointer-events:none;

}


/* ==========================================
   ROOM 2 — NATPIS
========================================== */

.room3-view-3 .room3-door-to-room2::before{

    content:"ROOM 2";

    position:absolute;

    left:50%;
    top:20%;

    transform:
        translate(-50%, -50%);

    color:#ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:20px;

    font-weight:normal;

    letter-spacing:5px;

    line-height:1;

    white-space:nowrap;

    text-align:center;

    text-shadow:
        0 1px 3px rgba(0,0,0,.45),
        0 0 8px rgba(255,255,255,.20);

    z-index:25;

    pointer-events:none;

}


/* ==========================================
   ROOM 3 — FULLSCREEN VIEWER
   POTPUNO NEOVISAN BLOK
========================================== */


#room3Fullscreen{

    position:fixed;

    inset:0;

    width:100vw;
    height:100vh;

    display:none;

    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.70);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    z-index:999999;

    cursor:pointer;

}


/* ==========================================
   AKTIVAN FULLSCREEN
========================================== */

#room3Fullscreen.active{

    display:flex;

}


/* ==========================================
   FRAME
========================================== */

#room3FullscreenFrame{

    position:relative;

    display:flex;

    align-items:flex-end;
    justify-content:center;

    max-width:95vw;
    max-height:90vh;

}


/* ==========================================
   FULLSCREEN SLIKA
========================================== */

#room3FullscreenImage{

    display:block;

    max-width:80vw;
    max-height:90vh;

    width:auto;
    height:auto;

    object-fit:contain;

    box-shadow:
        0 30px 80px rgba(0,0,0,.40);

    cursor:pointer;

}


/* ==========================================
   LABELA
========================================== */

#room3FullscreenFrame {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;

    width: 95vw;
    height: 90vh;
    max-width: 95vw;
    max-height: 90vh;
}

#room3FullscreenImage {
    display: block;

    width: auto;
    height: auto;

    max-width: calc(95vw - 240px);
    max-height: 85vh;

    object-fit: contain;
    flex-shrink: 1;
}

#room3FullscreenLabel {
    position: relative;

    left: auto;
    bottom: auto;

    flex: 0 0 180px;
    width: 180px;
    max-width: 180px;

    box-sizing: border-box;
    align-self: center;

    background: #fff;
    border: 1px solid #000;
    padding: 10px;
}




/* ==========================================
   NASLOV
========================================== */

#room3FullscreenTitle{

    font-size:18px;

    font-weight:bold;

    margin-bottom:8px;

}


/* ==========================================
   TEHNIKA / FORMAT
========================================== */

#room3FullscreenInfo{

    font-size:14px;

    color:#444;

    line-height:1.5;

}


/* ==========================================
   SLIKA — PRST
========================================== */

.room3-image{

    cursor:pointer;

}


/* ==========================================
   MOBILNI PRIKAZ
========================================== */

@media (max-width:900px){

    #room3FullscreenImage{

        max-width:78vw;
        max-height:80vh;

    }


    #room3FullscreenLabel{

        left:50%;

        bottom:-95px;

        transform:
            translateX(-50%);

        width:160px;

        padding:10px;

        font-size:14px;

    }


    #room3FullscreenTitle{

        font-size:15px;

    }


    #room3FullscreenInfo{

        font-size:12px;

    }

}


/* ==========================================================
   CROARTIS – ROOM 3
   RESPONSIVE MOBITELI
   DESKTOP I TABLET OSTAJU NEPROMIJENJENI
========================================================== */


/* ==========================================================
   01 – MOBITEL VODORAVNO (LANDSCAPE)
   ZADRŽAVAMO STROP I POD
========================================================== */

@media screen and (max-width: 900px)
and (orientation: landscape) {

    .room3-scene {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .room3-view {
        width: 100%;
        height: 100%;
    }

    .room3-ceiling {
        display: block;
        flex: 0 0 10%;
        height: 10%;
    }

    .room3-floor {
        display: block;
        flex: 0 0 10%;
        height: 10%;
    }

    .room3-wall {
        flex: 0 0 80%;
        height: 80%;
        min-height: 0;
        overflow: hidden;
    }

    /* SLIKE I PLOČICE – ZAJEDNO U VODORAVNOM RASPOREDU */

    .room3-artworks {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 8px;
        transform: none;
    }

    /* ZID 1 – SLIKE I PLOČICE SU IZRAVNI ELEMENTI */

    .room3-wall1-artworks {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr) 82px
            minmax(0, 1fr) 82px
            minmax(0, 1fr) 82px;
        grid-template-rows: 1fr;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .room3-wall1-artworks img.room3-image:nth-of-type(1) {
        grid-column: 1;
    }

    .room3-wall1-artworks .room3-plaque:nth-of-type(1) {
        grid-column: 2;
    }

    .room3-wall1-artworks img.room3-image:nth-of-type(2) {
        grid-column: 3;
    }

    .room3-wall1-artworks .room3-plaque:nth-of-type(2) {
        grid-column: 4;
    }

    .room3-wall1-artworks img.room3-image:nth-of-type(3) {
        grid-column: 5;
    }

    .room3-wall1-artworks .room3-plaque:nth-of-type(3) {
        grid-column: 6;
    }

    .room3-wall1-artworks img.room3-image,
    .room3-wall2-artworks img.room3-image,
    .room3-wall3-artworks img.room3-image,
    .room3-wall4-artworks img.room3-image {
        width: auto;
        max-width: 100%;
        max-height: 26vh;
        object-fit: contain;
        transform: none;
    }

    /* OSTALI ZIDOVI – UMJETNINA I PLOČICA U ISTOM REDU */

    .room3-artwork {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
        transform: none;
    }

    .room3-plaque {
        position: relative;
        align-self: center;
        transform: none;
        width: 82px;
        min-width: 82px;
        max-width: 82px;
        margin: 0;
        padding: 5px;
        font-size: 9px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .room3-wall2-artworks,
    .room3-wall3-artworks,
    .room3-wall4-artworks {
        gap: 8px;
        padding: 5px;
    }

    /* VRATA */

    .room3-door {
        width: 105px;
        height: 75%;
        bottom: 0;
    }

    .room3-door-to-room2 {
        left: 3vw;
    }

    .room3-door-to-room4 {
        right: 3vw;
    }

    /* NAVIGACIJA */

    .room3-navigation {
        bottom: 5px;
        gap: 45px;
    }

    .room3-navigation button {
        font-size: 36px;
    }
}


/* ==========================================================
   02 – MOBITEL OKOMITO (PORTRAIT)
   SKRIVAMO STROP I POD
========================================================== */

@media screen and (max-width: 600px)
and (orientation: portrait) {

    .room3-scene {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .room3-view {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    /* STROP I POD SE SKRIVAJU SAMO U PORTRAITU */

    .room3-ceiling,
    .room3-floor {
        display: none !important;
    }

    /* ZID ZAUZIMA CIJELI RASPOLOŽIVI PROSTOR */

    .room3-wall {
        position: relative;
        display: flex;
        flex: 1 1 100%;
        flex-direction: column;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    /* UMJETNINE SE SLAŽU JEDNA ISPOD DRUGE */

    .room3-artworks {
        position: relative;
        inset: auto;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 12px 10px 65px;
        overflow-y: auto;
        overflow-x: hidden;
        transform: none;
    }

    /* ZID 1 – SLIKE I PLOČICE SU IZRAVNI ELEMENTI */

    .room3-wall1-artworks {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 115px;
        grid-auto-rows: minmax(105px, auto);
        align-content: start;
        align-items: center;
        justify-content: stretch;
        gap: 12px 10px;
    }

    .room3-wall1-artworks img.room3-image:nth-of-type(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .room3-wall1-artworks .room3-plaque:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;
    }

    .room3-wall1-artworks img.room3-image:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .room3-wall1-artworks .room3-plaque:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
    }

    .room3-wall1-artworks img.room3-image:nth-of-type(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .room3-wall1-artworks .room3-plaque:nth-of-type(3) {
        grid-column: 2;
        grid-row: 3;
    }

    /* OSTALI ZIDOVI – JEDNA SLIKA I PLOČICA PO REDU */

    .room3-artwork {
        position: relative;
        display: flex;
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        min-height: 110px;
        margin: 0;
        transform: none;
    }

    .room3-image {
        display: block;
        width: auto;
        max-width: 58%;
        max-height: 135px;
        height: auto;
        object-fit: contain;
        margin: 0;
        transform: none;
    }

    .room3-plaque {
        position: relative;
        align-self: center;
        flex: 0 0 115px;
        width: 115px;
        min-width: 115px;
        max-width: 115px;
        margin: 0;
        padding: 7px;
        transform: none;
        font-size: 10px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .room3-wall2-artworks,
    .room3-wall3-artworks,
    .room3-wall4-artworks {
        gap: 12px;
        padding: 12px 10px 65px;
    }

    /* VRATA – PRIKAZUJU SE IZNAD UMJETNINA */

    .room3-door {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        order: -1;
        flex: 0 0 75px;
        width: 100%;
        height: 75px;
        margin: 8px auto;
        z-index: 20;
    }

    .room3-door-to-room2 {
        left: auto;
        right: auto;
    }

    .room3-door-to-room4 {
        left: auto;
        right: auto;
    }

    .room3-door::before {
        top: 8px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    /* NAVIGACIJA */

    .room3-navigation {
        position: fixed;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        gap: 55px;
        z-index: 1000;
    }

    .room3-navigation button {
        font-size: 38px;
    }
}


/* ==========================================================
   ROOM 3 – PORTRAIT
   RASPODJELA SADRŽAJA PO CIJELOJ VISINI EKRANA
========================================================== */

@media screen and (max-width: 600px)
and (orientation: portrait) {

    .room3-wall {
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        height: 100%;
        min-height: 0;
    }

    .room3-artworks {
        flex: 1 1 auto;
        width: 100%;
        height: 100%;
        min-height: 0;
        justify-content: space-evenly;
        align-content: space-evenly;
        padding-top: 15px;
        padding-bottom: 75px;
    }

    /* PRVI ZID – TRI SLIKE RAVNOMJERNO PO VISINI */

    .room3-wall1-artworks {
        grid-template-rows: repeat(3, minmax(0, 1fr));
        align-content: stretch;
        justify-content: stretch;
    }

    /* OSTALI ZIDOVI – RAVNOMJERAN RAZMAK */

    .room3-wall2-artworks,
    .room3-wall3-artworks,
    .room3-wall4-artworks {
        justify-content: space-evenly;
    }

    /* VRATA OSTAJU IZNAD SLIKA */

    .room3-door {
        flex-shrink: 0;
    }
}



/* ==========================================================
   CROARTIS ROOM 3
   LANDSCAPE MOBILE – NOVI RASPORED
   VEĆE SLIKE / MANJE PLOČICE
   REFLEKTORI IZNAD SLIKA
   VRATA U GABARITIMA EKRANA
========================================================== */

@media screen and (max-width: 900px)
and (orientation: landscape) {


    /* ======================================================
       01 – OSNOVNI PROSTOR
    ====================================================== */

    .room3-scene {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .room3-view {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .room3-ceiling {
        display: block;
        flex: 0 0 10%;
        height: 10%;
    }

    .room3-floor {
        display: block;
        flex: 0 0 10%;
        height: 10%;
    }

    .room3-wall {
        position: relative;
        flex: 0 0 80%;
        width: 100%;
        height: 80%;
        min-height: 0;
        overflow: hidden;
    }


    /* ======================================================
       02 – OPĆE POSTAVKE
    ====================================================== */

    .room3-artworks {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 1%;
        gap: 2%;
        transform: none;
        overflow: hidden;
    }

    .room3-artwork {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        gap: 4px;
        margin: 0;
        transform: none;
    }

    /* SLIKE – PRIORITET JE VELIČINA UMJETNINA */

    .room3-image {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 55vh;
        height: auto;
        object-fit: contain;
        margin: 0;
        transform: none;
    }

     NATPISNE PLOČICE – SVA ČETIRI ZIDA
   OKVIR PRILAGOĐEN TEKSTU
========================================================== */

.room3-plaque,
.room3-wall1-artworks > .room3-plaque:nth-child(3),
.room3-wall1-artworks > .room3-plaque:nth-child(6),
.room3-wall1-artworks > .room3-plaque:nth-child(9) {

    position: relative;

    display: table;

    width: fit-content !important;
    min-width: 0 !important;
    max-width: 90% !important;

    margin: 0 auto !important;
    padding: 1px 3px !important;

    font-size: clamp(6px, 0.8vw, 8px) !important;
    line-height: 1.05 !important;

    text-align: center !important;
    overflow-wrap: anywhere;
    box-sizing: border-box;

    transform: none;
}


/* ======================================================
   03 – ZID 1
   TRI JEDNAKE KOLONE
   SLIKA I NATPIS U ISTOJ KOLONI
====================================================== */

.room3-wall1-artworks {
    position: absolute !important;
    inset: 0 !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    grid-template-rows:
        minmax(0, 1fr) auto !important;

    grid-template-areas:
        "slika1 slika2 slika3"
        "tekst1 tekst2 tekst3" !important;

    align-items: center !important;
    justify-content: stretch !important;

    column-gap: 2% !important;
    row-gap: 3px !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 1% 2% !important;

    transform: none !important;
    overflow: hidden !important;
}


/* REFLEKTORI – NE SUDJELUJU U GRID RASPOREDU */

.room3-wall1-artworks > .room3-wall1-spot {
    position: absolute;
}


/* ======================================================
   PRVA SLIKA
====================================================== */

.room3-wall1-artworks > .room3-image:nth-child(2) {
    grid-area: slika1 !important;

    justify-self: center !important;
    align-self: center !important;

    width: 140px !important;
    max-width: 100% !important;
    max-height: 44vh !important;
    height: auto !important;

    object-fit: contain !important;
}


/* PRVI NATPIS */

.room3-wall1-artworks > .room3-plaque:nth-child(3) {
    grid-area: tekst1 !important;

    justify-self: center !important;
    align-self: start !important;

    width: fit-content !important;
    min-width: 0 !important;
    max-width: 90% !important;

    margin: 0 auto !important;
    padding: 1px 3px !important;

    font-size: clamp(6px, 0.8vw, 8px) !important;
    line-height: 1.05 !important;

    text-align: center !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;

    transform: none !important;
}


/* ======================================================
   DRUGA SLIKA – CENTAR SREDNJE KOLONE
====================================================== */

.room3-wall1-artworks > .room3-image:nth-child(5) {
    grid-area: slika2 !important;

    justify-self: center !important;
    align-self: center !important;

    width: 140px !important;
    max-width: 100% !important;
    max-height: 44vh !important;
    height: auto !important;

    margin: 0 auto !important;

    object-fit: contain !important;
}


/* DRUGI NATPIS */

.room3-wall1-artworks > .room3-plaque:nth-child(6) {
    grid-area: tekst2 !important;

    justify-self: center !important;
    align-self: start !important;

    width: fit-content !important;
    min-width: 0 !important;
    max-width: 90% !important;

    margin: 0 auto !important;
    padding: 1px 3px !important;

    font-size: clamp(6px, 0.8vw, 8px) !important;
    line-height: 1.05 !important;

    text-align: center !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;

    transform: none !important;
}


/* ======================================================
   TREĆA SLIKA
====================================================== */

.room3-wall1-artworks > .room3-image:nth-child(8) {
    grid-area: slika3 !important;

    justify-self: center !important;
    align-self: center !important;

    width: 220px !important;
    max-width: 100% !important;
    max-height: 44vh !important;
    height: auto !important;

    object-fit: contain !important;
}


/* TREĆI NATPIS */

.room3-wall1-artworks > .room3-plaque:nth-child(9) {
    grid-area: tekst3 !important;

    justify-self: center !important;
    align-self: start !important;

    width: fit-content !important;
    min-width: 0 !important;
    max-width: 90% !important;

    margin: 0 auto !important;
    padding: 1px 3px !important;

    font-size: clamp(6px, 0.8vw, 8px) !important;
    line-height: 1.05 !important;

    text-align: center !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;

    transform: none !important;
}



    /* ======================================================
       04 – ZID 2
       DVIJE SLIKE – NATPIS ISPOD SVAKE
    ====================================================== */

    .room3-wall2-artworks {
        position: absolute;
        inset: 0;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        width: 100%;
        height: 100%;

        gap: 4%;
        padding: 1%;
        margin: 0;

        transform: none;
    }

    .room3-wall2-artworks .room3-artwork {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        flex: 0 1 46%;
        max-width: 46%;
        min-width: 0;

        gap: 4px;
        transform: none;
    }

    .room3-wall2-artworks .room3-image {
        width: auto;
        max-width: 100%;
        max-height: 55vh;
        height: auto;
        object-fit: contain;
    }

    .room3-wall2-artworks .room3-plaque {
        align-self: center;

        width: 90%;
        min-width: 0;
        max-width: 90%;

        margin: 0;
        padding: 2px 3px;

        font-size: clamp(6px, 0.8vw, 8px);
        line-height: 1.15;

        transform: none;
    }


    /* ======================================================
       05 – ZID 3
       VRATA LIJEVO – DVIJE SLIKE DESNO
    ====================================================== */

    .room3-wall3-artworks {
        position: absolute;

        top: 0;
        right: 2%;
        bottom: 0;
        left: 17%;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        width: 81%;
        height: 100%;

        gap: 3%;
        padding: 1%;
        margin: 0;

        transform: none;
    }

    .room3-wall3-artworks .room3-artwork {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        flex: 0 1 46%;
        max-width: 46%;
        min-width: 0;

        gap: 4px;
        transform: none;
    }

    .room3-wall3-artworks .room3-image {
        width: auto;
        max-width: 100%;
        max-height: 55vh;
        height: auto;
        object-fit: contain;

        transform: none;
    }

    .room3-wall3-artworks .room3-plaque {
        align-self: center;

        width: 90%;
        min-width: 0;
        max-width: 90%;

        margin: 0;
        padding: 2px 3px;

        font-size: clamp(6px, 0.8vw, 8px);
        line-height: 1.15;

        transform: none;
    }


    /* ======================================================
       06 – ZID 4
       DVIJE SLIKE LIJEVO – VRATA DESNO
    ====================================================== */

    .room3-wall4-artworks {
        position: absolute;

        top: 0;
        right: 17%;
        bottom: 0;
        left: 2%;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        width: 81%;
        height: 100%;

        gap: 3%;
        padding: 1%;
        margin: 0;

        transform: none;
    }

    .room3-wall4-artworks .room3-artwork {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        flex: 0 1 46%;
        max-width: 46%;
        min-width: 0;

        gap: 4px;
        transform: none;
    }

    .room3-wall4-artworks .room3-image,
    .room3-wall4-artworks .room3-artwork-22 .room3-image,
    .room3-wall4-artworks .room3-artwork-23 .room3-image {
        width: auto;
        max-width: 100%;
        max-height: 55vh;
        height: auto;
        object-fit: contain;

        transform: none;
    }

    .room3-wall4-artworks .room3-plaque {
        align-self: center;

        width: 90%;
        min-width: 0;
        max-width: 90%;

        margin: 0;
        padding: 2px 3px;

        font-size: clamp(6px, 0.8vw, 8px);
        line-height: 1.15;

        transform: none;
    }


    /* ======================================================
       07 – VRATA
       LIJEVO NA ZIDU 3 / DESNO NA ZIDU 4
    ====================================================== */

    .room3-door {
        position: absolute;

        top: 0;
        bottom: 0;

        width: 14%;
        max-width: 115px;

        height: 100%;
        max-height: 100%;

        z-index: 20;
    }

    .room3-door-to-room2 {
        left: 1%;
        right: auto;
    }

    .room3-door-to-room4 {
        right: 1%;
        left: auto;
    }


    /* ======================================================
       08 – NAVIGACIJA
    ====================================================== */

    .room3-navigation {
        position: fixed;

        bottom: 4px;
        left: 50%;

        transform: translateX(-50%);

        display: flex;
        justify-content: center;
        align-items: center;

        gap: 40px;

        z-index: 1000;
    }

    .room3-navigation button {
        font-size: 34px;
    }

}



/* ==========================================
   ROOM 3 – PORTRAIT
   ZID 3 I ZID 4
   BOX PRILAGOĐEN SLICI I PLOČICI
========================================== */

@media screen and (max-width:600px)
and (orientation:portrait) {

    /* OKVIR PRATI STVARNU ŠIRINU SADRŽAJA */

    .room3-wall3-artworks .room3-artwork,
    .room3-wall4-artworks .room3-artwork {

        width: fit-content !important;

        min-width: 0 !important;
        max-width: 100% !important;

        align-self: center !important;

        flex: 0 0 auto !important;

    }


    /* SLIKE – UKLANJANJE DESKTOP ŠIRINA */

    .room3-wall3-artworks .room3-image,
    .room3-wall4-artworks .room3-image {

        width: auto !important;

        max-width: 77vw !important;

        max-height: 180px !important;

        height: auto !important;

        object-fit: contain;

        margin: 0 !important;

    }

}



/* ==========================================================
   CROARTIS ROOM 3 – FULLSCREEN SLIKE
   SLIKA U SREDINI EKRANA
   NATPIS ISPOD SLIKE
========================================================== */

#room3Fullscreen.active {

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 10px;

}


/* OKVIR – VERTIKALNO SLOŽENI ELEMENTI */

#room3Fullscreen.active #room3FullscreenFrame {

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 95vw;
    height: auto;

    max-width: 95vw;
    max-height: 96vh;

}


/* SLIKA – AUTOMATSKI OMJER, BEZ REZANJA */

#room3Fullscreen.active #room3FullscreenImage {

    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: calc(86vh - 70px);

    object-fit: contain;

    flex-shrink: 1;

}


/* NATPIS ISPOD SLIKE */

#room3Fullscreen.active #room3FullscreenLabel {

    position: relative;

    left: auto;
    bottom: auto;

    transform: none;

    flex: 0 0 auto;

    width: fit-content;

    min-width: 150px;
    max-width: 90vw;

    margin: 0;
    padding: 10px 14px;

    text-align: center;

    background: #fff;

    border: 1px solid #000;

    box-sizing: border-box;

}


/* NASLOV */

#room3Fullscreen.active #room3FullscreenTitle {

    font-size: 15px;

    margin-bottom: 5px;

}


/* TEHNIKA I FORMAT */

#room3Fullscreen.active #room3FullscreenInfo {

    font-size: 12px;

    line-height: 1.4;

}



/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   ZID 1 – PODIZANJE TRI TEKSTNE PLOČICE
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-wall1-artworks > .room3-plaque:nth-child(3),
    .room3-wall1-artworks > .room3-plaque:nth-child(6),
    .room3-wall1-artworks > .room3-plaque:nth-child(9) {

        transform: translateY(-12px) !important;

    }

}



/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   ZIDOVI 2, 3 I 4 – ŠIRINA NATPISNIH PLOČICA
   OKVIR PRATI TEKST
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-wall2-artworks .room3-plaque,
    .room3-view-3 .room3-plaque,
    .room3-view-4 .room3-plaque {

        display: table !important;
        width: fit-content !important;
        min-width: 0 !important;
        max-width: 90% !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding: 1px 3px !important;

        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;

    }

}


/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   ZID 3 – DRUGA SLIKA
   OKVIR PRATI STVARNU ŠIRINU SLIKE
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-view-3 .room3-artwork-21 .room3-image {

        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;

    }

}




/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   ZID 3 – POVEĆANJE OBA UMJETNIČKA DJELA
   NATPISI CENTRIRANI ISPOD SLIKA
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    /* POVEĆANJE PRVE I DRUGE SLIKE ZA 50% */

    .room3-view-3 .room3-artwork-20 .room3-image,
    .room3-view-3 .room3-artwork-21 .room3-image {

        transform: scale(1.5) !important;
        transform-origin: center center !important;
        position: relative !important;
        z-index: 2 !important;

    }

    /* NATPISI TOČNO ISPOD SLIKA */

    .room3-view-3 .room3-artwork-20 .room3-plaque,
    .room3-view-3 .room3-artwork-21 .room3-plaque {

        display: table !important;
        width: fit-content !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;

    }

}



/* ROOM 3 – ZID 3 – SPUŠTANJE NATPISNIH PLOČICA */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-view-3 .room3-artwork-20 .room3-plaque,
    .room3-view-3 .room3-artwork-21 .room3-plaque {

        transform: translateY(17px) !important;

    }

}



/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   POVEĆANE NAVIGACIJSKE STRELICE
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-navigation button {

        font-size: 85px !important;

        padding: 5px !important;

    }

    .room3-navigation button:hover {

        transform: scale(1.08);

    }

}



/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   ZID 4 – PROŠIRENJE VRATA ZA 1/3
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-view-4 .room3-door {

        transform: scaleX(1.333) !important;
        transform-origin: center center !important;

    }

}


/* ==========================================================
   ROOM 3 – LANDSCAPE MOBILE
   ZID 4 – SMANJENJE NATPISA NA VRATIMA ZA 1/3
========================================================== */

@media screen and (max-width: 900px) and (orientation: landscape) {

    .room3-view-4 .room3-door-to-room4::before {

        font-size: 14px !important;
        letter-spacing: 3.33px !important;

    }

}



/* ROOM 3 – VEĆE NAVIGACIJSKE STRELICE
   OKOMITI MOBILNI PRIKAZ */

@media screen and (max-width: 900px)
and (orientation: portrait) {

  .room3-navigation button {
    font-size: 85px !important;
    padding: 5px !important;
  }

  .room3-navigation button:hover {
    transform: scale(1.08);
  }

}



/* ROOM 3 – ZID 3: PROŠIRENJE VRATA I SMANJENJE NATPISA */

@media screen and (max-width: 900px)
and (orientation: landscape) {

  .room3-view-3 .room3-door-to-room2 {
    transform: scaleX(1.333) !important;
    transform-origin: center center !important;
  }

  .room3-view-3 .room3-door-to-room2::before {
    font-size: 14px !important;
  }

}


/* ==========================================================
   CROARTIS – ROOM 3
   LANDSCAPE MOBILE
   PRECIZNO CENTRIRANJE REFLEKTORA IZNAD SLIKA
   NE MIJENJA SLIKE, NATPISE, SNOP SVJETLA NI PORTRAIT
========================================================== */

@media screen and (max-width: 900px)
and (orientation: landscape) {

    /* ZID 1 – TRI SLIKE */

    .room3-wall1-artworks > .room3-wall1-spot-1 {
        position: absolute !important;
        left: 17.33% !important;
        transform: translateX(-50%) !important;
    }

    .room3-wall1-artworks > .room3-wall1-spot-2 {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .room3-wall1-artworks > .room3-wall1-spot-3 {
        position: absolute !important;
        left: 82.67% !important;
        transform: translateX(-50%) !important;
    }


    /* ZID 2 – TRI SLIKE */

    .room3-wall2-artworks > .room3-wall2-spot-1 {
        position: absolute !important;
        left: 16% !important;
        transform: translateX(-50%) !important;
    }

    .room3-wall2-artworks > .room3-wall2-spot-2 {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .room3-wall2-artworks > .room3-wall2-spot-3 {
        position: absolute !important;
        left: 84% !important;
        transform: translateX(-50%) !important;
    }


    /* ZID 3 – DVIJE SLIKE */

    .room3-wall3-artworks > .room3-wall3-spot-1 {
        position: absolute !important;
        left: 25% !important;
        transform: translateX(-50%) !important;
    }

    .room3-wall3-artworks > .room3-wall3-spot-2 {
        position: absolute !important;
        left: 75% !important;
        transform: translateX(-50%) !important;
    }


    /* ZID 4 – DVIJE SLIKE */

    .room3-wall4-artworks > .room3-wall4-spot-1 {
        position: absolute !important;
        left: 23% !important;
        transform: translateX(-50%) !important;
    }

    .room3-wall4-artworks > .room3-wall4-spot-2 {
        position: absolute !important;
        left: 67% !important;
        transform: translateX(-50%) !important;
    }

}



/* ==========================================================
   CROARTIS – ROOM 3
   FULLSCREEN – MOBITEL VODORAVNO
   SLIKA LIJEVO / NATPIS DESNO
   CIJELI NATPIS VIDLJIV
========================================================== */

@media screen and (max-width: 900px)
and (orientation: landscape) {

    /* GLAVNI OKVIR – VODORAVNI RASPORED */

    #room3Fullscreen.active #room3FullscreenFrame {

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;
        justify-content: center !important;

        gap: clamp(10px, 2vw, 22px) !important;

        width: 96vw !important;
        height: 92vh !important;

        max-width: 96vw !important;
        max-height: 92vh !important;

    }


   /* SLIKA – LIJEVA STRANA */

#room3Fullscreen.active #room3FullscreenImage {

    display: block !important;

    position: relative !important;
    top: -25px !important;

    width: auto !important;
    height: auto !important;

    max-width: 66vw !important;
    max-height: 86vh !important;

    object-fit: contain !important;

    flex: 0 1 auto !important;

}



    /* NATPIS – DESNA STRANA */

    #room3Fullscreen.active #room3FullscreenLabel {

        position: relative !important;

        left: auto !important;
        bottom: auto !important;

        transform: none !important;

        flex: 0 1 28vw !important;

        width: 28vw !important;

        min-width: 130px !important;
        max-width: 280px !important;

        max-height: 86vh !important;

        margin: 0 !important;

        padding: 10px 12px !important;

        box-sizing: border-box !important;

        text-align: center !important;

        overflow-wrap: anywhere !important;

        overflow-y: auto !important;

    }


    /* NASLOV */

    #room3Fullscreen.active #room3FullscreenTitle {

        font-size: clamp(12px, 2vw, 17px) !important;

        line-height: 1.3 !important;

        margin-bottom: 8px !important;

    }


    /* TEHNIKA I FORMAT */

    #room3Fullscreen.active #room3FullscreenInfo {

        font-size: clamp(10px, 1.5vw, 13px) !important;

        line-height: 1.5 !important;

    }

}


/* ==========================================================
   ROOM 3 – OKOMITI MOBITEL
   ZID 1 – FLORA
   POSEBNE DIMENZIJE SLIKA
========================================================== */

@media screen and (max-width: 600px)
and (orientation: portrait) {

    .room3-wall1-image-1 {
        width: 140px !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 202px !important;
    }

    .room3-wall1-image-2 {
        width: 140px !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 202px !important;
    }

    .room3-wall1-image-3 {
        width: 220px !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 202px !important;
    }

}


/* ==========================================
   ROOM 3 – ZID 2 – PRVA SLIKA
   PORTRAIT: OKVIR PRATI STVARNU VELIČINU SLIKE
========================================== */

@media screen and (max-width: 600px)
and (orientation: portrait) {

    .room3-wall2-artwork-1 {

        width: fit-content !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        align-self: center !important;

    }

    .room3-wall2-artwork-1 .room3-image {

        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 77vw !important;
        max-height: 110px !important;
        object-fit: contain !important;
        margin: 0 !important;

    }

}


/* ==========================================
   ROOM 3 – ZID 4
   KOREKCIJA OKVIRA SLIKA
========================================== */


/* ------------------------------------------
   PORTRAIT – SAMO PRVA SLIKA
------------------------------------------ */

@media screen and (max-width: 600px)
and (orientation: portrait) {

    .room3-wall4-artworks .room3-artwork-22 {

        width: fit-content !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        align-self: center !important;

    }

    .room3-wall4-artworks .room3-artwork-22 .room3-image {

        width: auto !important;
        height: auto !important;
        max-width: 77vw !important;
        max-height: 180px !important;
        object-fit: contain !important;
        margin: 0 !important;

    }

}


/* ------------------------------------------
   LANDSCAPE – OBE SLIKE
------------------------------------------ */

@media screen and (max-width: 900px)
and (orientation: landscape) {

    .room3-wall4-artworks .room3-artwork-22,
    .room3-wall4-artworks .room3-artwork-23 {

        width: fit-content !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        align-self: center !important;

    }

    .room3-wall4-artworks .room3-artwork-22 .room3-image,
    .room3-wall4-artworks .room3-artwork-23 .room3-image {

        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 55vh !important;
        object-fit: contain !important;
        margin: 0 !important;

    }

}



/* ==========================================
   ROOM 3 – ZID 4
   LANDSCAPE MOBILE – RAZMAK SLIKA
========================================== */

@media screen and (max-width: 900px)
and (orientation: landscape) {

    .room3-view-4 .room3-wall4-artworks {

        gap: 80px !important;

    }

}















