﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}




html {
    position: relative;
    overflow-x: hidden !important;
    touch-action: pan-x pan-y;
}

body {
    width: 100% !important;
    height: 100% !important;
    touch-action: pan-x pan-y;
    background-color: white !important;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
}


::-webkit-scrollbar {
    display: none;
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff7f7;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #preloader img {
        width: 20vw;
    }

/* NAVBAR */
.navbar {
    position: fixed;
    padding: 20px 30px 20px 20px !important;
    background: transparent;
    width: 100%;
    transition: all ease-in 0.4s;
}

    .navbar.scrolled {
        background-color: rgba(255,255,255,0.01);
        box-shadow: 0 1px 10px rgba(74, 53, 34,0.2);
        backdrop-filter: blur(10px);
    }


#headerlogo {
    max-height: 100px;
    height: 100%;
    width: auto;
    object-fit: contain;
    padding-right: 20px;
    filter: drop-shadow(2px 2px 4px #3d2b1a)
}

/* TEKST */
.holistic {
    position: relative;
    padding-left: 20px;
    font-family: Garet;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 3px;
    color: #e3d9d2;
    text-shadow: 1px 1px 6px #3d2b1a;
}

    .holistic::before {
        content: "";
        position: absolute;
        left: 0;
        top: -25px;
        bottom: -25px;
        width: 4px;
        border-radius: 2px;
        background: linear-gradient(to bottom, #e3d9d2, #b8a89c);
    }

.nobefore::before {
    content: none !important;
}


.holisticsub {
    text-align: end;
    font-family: Hourglass;
    text-transform: lowercase;
    letter-spacing: 0;
    padding-top: 2px;
    color: #3d2b1a !important;
    text-shadow: none;
}



/* BRAND CONTAINER */
.brand-container {
    display: flex;
    align-items: center; /* vertikalno centriranje */
    gap: 15px; /* razmak između loga i teksta */
    
}

.navbar button {
    position: absolute;
    right: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #e3d9d2;
}

.brand-text {
    display: flex;
    flex-direction: column; /* h1 iznad h2 */
}

    .brand-text h1 {
        margin: 0;
        font-size: 1.8rem;
    }

    .brand-text h2 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 400;
        color: #d9cfc5;
    }


.offcanvas {
    background-image: url(../media/offcanvasbg1.png);
    width: 50vw !important;
    height: 92vh;
    background-position: top right;
    border-bottom-left-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.offcanvas-body {
    position: absolute;
    top: 19%;
    left: 45%;
}

.offcanvas h5 {
    font-family: Elephant;
    text-transform: uppercase;
    font-size: 4.5vw;
}

.offcanvas li {
    font-family: Garet;
    font-weight:900;
}

    .offcanvas li a {
        text-decoration: none !important;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-size: 2.2vw;
        color:black;
        opacity:0.36;
        transition: opacity ease-in-out 0.3s;
    }

.newlistoffcanvas li a {
    font-size: 1.7vw;
}

.newlistoffcanvas li:last-child a {
font-size:3vw;
}


        .offcanvas li a:hover {
        opacity:1;
        }

.langaugeswap {
position:absolute;
left: 2vw;

}

.offcanvas-header button {
    position:absolute;
    right:20px;
    top:30px;
}

.signature {
position:absolute;
right:10px;
bottom:40px;
}



/* FONTOVI */
@font-face {
    font-family: 'Garet';
    src: url('../fonts/Garet-Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Hourglass';
    src: url('../fonts/Hourglass of Shine.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'elephant';
    src: url('../fonts/Elephant Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SilverPersonal';
    src: url('../fonts/SILVERS PERSONAL USE.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

section {
    width: 100%;
    max-width: 100vw; /* sprečava da ode preko ekrana */
    overflow-x: hidden; /* dodatna sigurnost */
    box-sizing: border-box; /* da padding ne pravi problem */
}

/* RESPONSIVE PRELOADER */
@media (max-width: 750px) {

    section {
    width:100% !important;
    }

    #preloader img {
        width: 60vw;
    }
    .offcanvas {
        min-width: 100% !important;
        border-radius: 0;
        height: 100% !important;
    }


    .navbar {
        position: fixed;
        padding: 10px !important;
        background: transparent;
        width: 100%;
        transition: all ease-in 0.4s;
    }


    #headerlogo {
        max-height: 18vw;
        height: auto;
        width: auto;
        object-fit: contain;
        padding: 5px  !important;
        filter: drop-shadow(1px 1px 3px #3d2b1a);
        left:50%;
    }

    /* TEKST */
    .holistic {
        padding: 0;
        padding-left: 10px;
        zoom: 0.75;
        color: #3d2b1a;
        text-shadow: none;
    }

    .holisticsub {
        padding-top: 2.2px;
        color: #3d2b1a !important;
        text-shadow: none;
        opacity:0.6;
    }

        .navbar.scrolled {
            transition:ease-in-out all 0.4s;
        }


    .navbar button {
        position: absolute;
        right: 12px;
        background: none;
        border: none;
        font-size: 1.85rem;
        color: #e3d9d2;
    }



    .offcanvas-body {
        width: 59vw;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translateX(-50%);
    }

    .offcanvas h5 {
        font-family: Elephant;
        text-transform: uppercase;
        font-size: 12vw;
        padding-bottom:6px;
    }

        .offcanvas li a {
            font-size: 5.5vw;
            opacity: 0.6;
        }

    .newlistoffcanvas li a {
        font-size: 5.5vw;
    }

    .newlistoffcanvas li:last-child a {
        font-size: 11vw;
    }


    .offcanvas-header button {
        position: absolute;
        right: 20px;
        top: 30px;
    }

    .signature {
        position: absolute;
        right: 10px;
        bottom: 40px;
        height:23vh !important;
    }














}

@media (min-width: 750px) and (max-width: 1024px) and (orientation: portrait) {
    #preloader img {
        width: 40vw;
    }

    .offcanvas {
        width: 95vw !important;
        height: 70vh;
    }

    section {
        width: 100% !important;
    }


    .offcanvas h5 {
        font-family: Elephant;
        text-transform: uppercase;
        font-size: 8vw;
        padding-bottom: 6px;
    }

    .offcanvas li a {
        font-size: 3.5vw;
        opacity: 0.6;
    }

    .newlistoffcanvas li a {
        font-size: 3.5vw;
    }

    .newlistoffcanvas li:last-child a {
        font-size: 8vw;
    }
}


@media (min-width: 750px) and (max-width: 1024px) and (orientation: landscape) {

    section {
        width: 100% !important;
    }


    .offcanvas {
        width: 90vw !important;
        height: 92vh;
    }
}

footer {
background-color:black;
color:white;
padding:30px 0;
text-align:center;
font-family:Garet;
}

    footer strong {
    text-transform:uppercase;
    font-family:SilverPersonal;
    font-weight:100;
    }


.footernav {
margin-bottom:10px;
}

.footernav a {
    padding: 0 10px;
    text-transform: lowercase;
    border-left: 1px solid rgba(255,255,255,0.5);
    opacity:0.8;
    transition: opacity ease-in-out 0.3s;
    color:white;
    text-decoration:none;
}

    .footernav a:hover {
    opacity:1;
    cursor:pointer;
    }


.offcanvas li {
    opacity: 0;
    transform: translateX(0px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* aktivna animacija */
.show-item {
    opacity: 1 !important; /* override prethodnog opacity: 0.3 */
    transform: translateX(0);
}
