/*
Theme Name: estetica.hr
Theme URI: http://www.drap.hr
Description: estetica.hr web site theme
Author: Drap d.o.o.
Author URI: http://www.drap.hr
Version: 2.0.0
*/

.mobile-only { display: none; }
@media (orientation: portrait) {
    .mobile-only { display: block; }
}


.hero iframe, .hero video { position: absolute; pointer-events: none; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

label.cmplz-label {
    font-size: 15px;
    margin-left: 6px;
}

.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open {
	font-size: 15px;
}

.is-provider-tiktok .video-container { display: none; }

[data-bg] {
    margin: 0;
    padding: 100px 0;
    background: attr(data-bg type(<color>), #fff);
}

.thumbnail-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s all ease-in-out;
}

.article:hover .thumbnail-video {
    transform: scale(1.1);
}



body.single-post {
    scroll-behavior: smooth;
}

body.single-post .hero {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: -1;
    top: 0;
}

body.single-post main {
    position: relative;
    margin-top: 100vh;
    width: 100%;
    background: white;
    padding: 1px 0;
    transition: .7s all ease-in-out;
}

body.single-post.scroll-bottom main {
    margin-top: 55vh;
}








.parallax-1 {
    height: 100vh;
    display: flex;
    align-items: center;
}

.parallax-1 .wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px;
}

.parallax-1 .nav {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50vh;
    list-style: none;
}

.parallax-1 .nav li {
    font-size: clamp(24px, 2vw, 30px);
    color: #BBBBBB;
    font-weight: 400;
    transition: all 0.6s ease;
    letter-spacing: -1.5px;
}

.parallax-1 .nav li.active {
    font-size: 34px;
    color: #000;
    font-weight: 500;
}

.parallax-1 .nav li a {
    color: #000;
}

.parallax-1 .images {
    width: 50%;
    height: 50vh;
    overflow: hidden;
    position: relative;
}

.parallax-1 .images-track {
    display: flex;
    height: 100%;
}

.parallax-1 .images-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.parallax-2 #sticky-container {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.parallax-2 #content-flex-container {
    display: flex;
    height: 50vh;
    width: 100%;
    gap: 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.parallax-2 #slide-wrapper {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}


.parallax-2 .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s;
}

.parallax-2 .slide div {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.parallax-2 .slide div img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-2 #side-content {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.parallax-2 .side-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: background-color 0.5s;
}

.parallax-2 .side-slide a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.parallax-2 .side-slide h2 {
    font-size: clamp(20px, 2vw, 36px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin-bottom: 30px;
}

.parallax-2 .side-slide h2 a {
    color: #000;
}


@media only screen and (max-width: 1024px) {
    .parallax-1 .wrapper {
        flex-direction: column;
        height: unset;
        aspect-ratio: 1;
        position: relative;
    }
    .parallax-1 .nav {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 50px 30px 30px 30px;
        height: unset;
        z-index: 1;
        background: #000;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    }
    .parallax-1 .nav li {
        display: none;
        line-height: 1.3;
    }
    .parallax-1 .nav li.active {
        display: block;
        font-weight: 400;
    }
    .parallax-1 .nav li, .parallax-1 .nav li.active {
       font-size: clamp(26px, 3vw, 30px);
    }
    .parallax-1 .nav li a {
        color: #fff;
    }
    .parallax-1 .images {
        width: 100%;
        height: 100%;
    }
    .parallax-2 #content-flex-container {
        height: auto;
        flex-direction: column;
        gap: 15px;
    }
    .parallax-2 #slide-wrapper {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
    .parallax-2 #side-content {
        width: 100%;
        min-height: 20vh;
    }
    .parallax-2 .side-slide {
        padding: 0;
        height: auto;
    }
    .parallax-2 .side-slide h2 {
        font-size: clamp(20px, 3vw, 36px);
        margin-bottom: 20px;
    }
}