@media (min-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

body {
    font-family: 'PT Serif', serif;
    font-style: normal;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.site-nav {
    position: fixed;
    top: 200px;
    left: 18px;
    z-index: 30;
    font-family: 'PT Sans', sans-serif;
    mix-blend-mode: difference;
    opacity: 0;
    transform: none;
    pointer-events: none;
    transition: opacity 1s ease;
}

.site-nav.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.site-nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.site-nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
}

.site-nav__menu {
    margin: 0;
    padding: 10px 12px;
    list-style: none;
    background: transparent;
}

.site-nav__menu li + li {
    margin-top: 8px;
}

.site-nav__menu a {
    display: inline-block;
    font-family: 'PT Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #ffffff;
    border-bottom: none;
    padding: 0;
}

.site-nav__menu a.is-active {
    color: #DAFB3F;
    font-weight: 700;
    mix-blend-mode: normal;
}

a {
    /* font-family: 'PT Sans', sans-serif; */
    color: white;
    border-bottom: 2px solid #DAFB3F;
    padding-bottom: 5px;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #DAFB3F;
}

.project a {
    color: black;
    font-weight: bolder;
}

.not_so_dark .project a {
    color: white;
}

.hvr-sweep-to-top {
    border: none;
    background: none;
    border-bottom: 2px solid #DAFB3F;
    padding: 4px;
    font-weight: 700;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hvr-sweep-to-top:hover,
.hvr-sweep-to-top:focus,
.hvr-sweep-to-top:active {}

.hvr-sweep-to-top:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #DAFB3F;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-sweep-to-top:hover:before,
.hvr-sweep-to-top:focus:before,
.hvr-sweep-to-top:active:before {
    -webkit-transform: scaleY(0.2);
    -ms-transform: scaleY(0.2);
    transform: scaleY(0.2);
}

.not_so_dark button {
    color: white;
}

h1.big {
    font-family: 'PT Serif', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    padding: 40px 0;
    line-height: 1.6em;
}

h1.big span {
    background-color: #DAFB3F;
    color: black;
}

h2 {
    margin: 40px 0;
    font-family: 'PT Sans';
    text-transform: uppercase;
    font-size: x-large;
}

h2 span.underline {
    border-bottom: 7px solid #DAFB3F;
    display: inline;
}

.dark {
    background-color: #313131;
    color: white;
}

.not_so_dark {
    background-color: #414141;
    color: white;
}

.light_gray {
    background-color: #e6e6e6;
}

.prvi {
    position: relative;
    height: 900px;
    overflow: hidden;
}

.prvi h1 {
    margin-top: 200px;
    font-size: clamp(2rem, 7vw, 50px);
    font-weight: 700;
    font-family: 'PT Serif Caption';
    line-height: 1.6em;
    color: white;
}

.prvi h1 span.yellow {
    background-color: #DAFB3F;
    color: black;
    padding: 10px;
}

.prvi h1 span.underline {
    border-bottom: 7px solid #DAFB3F;
    display: inline;
}

.prvi .lead {
    font-family: 'PT Serif', serif;
    font-size: 20px;
    margin-top: 40px;
    line-height: 1.8em;
}

.prvi a {
    color: black;
    border-bottom: 1px solid #616161;
}

.drugi {
    padding: 150px 0;
    background-color: #414141;
}

#competences {
    position: relative;
    overflow: hidden;
}

.competences-elastic {
    position: absolute;
    top: 700px;
    left: 0;
    width: 100vw;
    height: 3px;
    transform: rotate(var(--tilt-angle, 0deg));
    transform-origin: var(--tilt-origin-x, 50%) center;
    transition: transform 0.2s ease-in-out;
    pointer-events: none;
    z-index: 1000;
}

.competences-elastic span {
    position: absolute;
    inset: 0;
    background: rgba(218, 251, 63, 0.8);
    border-radius: 999px;
    transform-origin: left center;
}

.competences-elastic span:not(:first-child) {
    display: none;
}

.competences-elastic span.is-plucked {
    animation: elastic-pluck 0.2s ease-out;
}

.competences-elastic span.is-plucked.is-right {
    transform-origin: right center;
    animation-name: elastic-pluck-right;
}

.hero-shake-word {
    display: inline-block;
    transform-origin: center;
    color: inherit;
    font-weight: inherit;
}

.hero-shake-word.is-shaking {
    animation: hero-word-shake 0.2s ease-out;
    color: #DAFB3F;
    font-weight: 700;
}

@keyframes elastic-pluck {
    0% { transform: translateY(0) rotate(0deg) scaleX(1); }
    10% { transform: translateY(-3px) rotate(-0.45deg) scaleX(1.01); }
    20% { transform: translateY(3px) rotate(0.38deg) scaleX(0.995); }
    32% { transform: translateY(-2px) rotate(-0.3deg) scaleX(1.005); }
    46% { transform: translateY(2px) rotate(0.22deg) scaleX(0.998); }
    62% { transform: translateY(-1px) rotate(-0.14deg) scaleX(1.002); }
    78% { transform: translateY(1px) rotate(0.08deg) scaleX(0.999); }
    100% { transform: translateY(0) rotate(0deg) scaleX(1); }
}

@keyframes elastic-pluck-right {
    0% { transform: translateY(0) rotate(0deg) scaleX(1); }
    10% { transform: translateY(-3px) rotate(0.45deg) scaleX(1.01); }
    20% { transform: translateY(3px) rotate(-0.38deg) scaleX(0.995); }
    32% { transform: translateY(-2px) rotate(0.3deg) scaleX(1.005); }
    46% { transform: translateY(2px) rotate(-0.22deg) scaleX(0.998); }
    62% { transform: translateY(-1px) rotate(0.14deg) scaleX(1.002); }
    78% { transform: translateY(1px) rotate(-0.08deg) scaleX(0.999); }
    100% { transform: translateY(0) rotate(0deg) scaleX(1); }
}

@keyframes hero-word-shake {
    0% { transform: translateX(0) rotate(0deg); }
    20% { transform: translateX(-1px) rotate(-1deg); }
    40% { transform: translateX(1px) rotate(1deg); }
    60% { transform: translateX(-1px) rotate(-0.6deg); }
    80% { transform: translateX(1px) rotate(0.6deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

.latest-highlight {
    width: 100%;
    background-color: #313131;
    color: white;
    padding: 10px 0;
}

.latest-highlight__label {
    display: inline-flex;
    align-items: center;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    background: transparent;
    color: #DAFB3F;
    padding: 0;
    margin: 0 14px 0 0;
}

.latest-highlight__list {
    list-style: none;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 120px);
    height: 1.6em;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.latest-highlight__list li {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-20px) rotateX(12deg);
    transform-origin: center top;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.latest-highlight__list li.is-active {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

.latest-highlight__list li.is-leaving {
    opacity: 0;
    transform: translateY(20px) rotateX(-12deg);
}

.drugi h1 {
    line-height: 1.6em;
}

.drugi-feature-list {
    list-style: none;
    margin: 0 auto;
    padding: 0 0 40px 0;
    width: min(100%, 1180px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.drugi-feature-list li {
    margin: 0;
    padding: 24px 0px;
    font-size: initial;
    line-height: 2em;
    background: transparent;
    border: none;
}

.drugi-feature-list li h2 {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.2;
    display: inline-block;
    border-bottom: 5px solid #DAFB3F;
    padding-bottom: 4px;
}

.drugi-feature-list li p {
    margin: 0;
    font-size: initial;
    line-height: 1.8em;
}

.drugi li,
.drugi button {

}

.drugi span {
    border-bottom: 7px solid #DAFB3F;
}

.cta-strip {
    background-color: #313131;
    padding: 28px 0;
}

.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 18px;
}

.cta-strip .hvr-sweep-to-top {
    font-family: 'PT Sans', sans-serif;
    background-color: #616161;
    color: white;
    padding: 10px 20px;
}

.cta-strip__talk {
    font-family: 'PT Sans', sans-serif;
    color: white;
    padding-bottom: 5px;
    border:none;
}

.tretji,
.peti,
.sesti,
.tools {
    padding: 150px 0;
}

.peti .row {
    margin-bottom: 120px
}

.peti .img,
.tools .img {
    height: 120px;
    padding: 20px;
}

.peti .img img,
.tools .img img {
    max-height: 80px;
    display: block;
    margin: auto;
}

.peti p,
.tools p {
    font-size: medium;
    text-align: center;
}

.tools .row {
    padding: 20px 0px;
    text-align: center;
}

.sesti li {
    margin-bottom: 20px;
    line-height: 1.8em;
}

.sedmi {
    height: 800px;
}

.sedmi h1 {
    margin: 200px 0 100px;
    font-size: clamp(2.2rem, 10vw, 100px);
    font-weight: 700;
    font-family: 'PT Sans';
}

.divider {
    height: 200px;
}

.project {
    padding: 80px 0;
}

.project h1 {
    font-family: 'PT Sans';
    font-weight: 700;
    margin-bottom: 60px;
}

.project h2 {
    font-weight: 500;
}

.project h2 span {
    color: rgb(156, 156, 156);
}

.project li {
    margin: 0 0 10px 20px;
}

.bg_image_scroll_title {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHUlEQVQYV2NkwAIY8Qr6+vr+37x5M1gRfpXIxgAAyzwEBtgXVcAAAAAASUVORK5CYII=) repeat;
}

.bg_image_scroll_title .project {
    margin-top: 300px;
}

.bg_image_scroll_title img {
    width: 120px;
    background-color: white;
}

.bg_image_scroll {
    position: absolute;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.bg_image_scroll_sono {
    background: url('../video/DK_cluster_ux.mp4');
}

.project-bg-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.bg-case-2025 {
    background-image: url("../images/case_photos/2025 poenotenje cel.png");
}

.bg-case-icono {
    background-image: url("../images/case_photos/ICONO biplane.png");
}

.bg-case-sono {
    background-image: url("../images/case_photos/sono_cluster_wireframes.png");
}

.bg-case-ktm {
    background-image: url("../images/case_photos/ktm_790dash.jpg");
}

.bg-case-krebe {
    background-image: url("../images/case_photos/krebetippo_washingmachine.png");
}

.bg-case-avl {
    background-image: url("../images/case_photos/avl_bmwACrepair.png");
}

.prvi > video.bg_image_scroll {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHUlEQVQYV2NkwAIY8QqeOXPmv4mJCVgRfpXIxgAA0TAEBs593zYAAAAASUVORK5CYII=) repeat;
    background-color: gray;
}

.project-bg-video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 1;
    background-color: #F2F2F2;
    will-change: transform;
}

.project img.client {
    width: 140px;
    margin: 20px 0;
}

#lets-talk {
    padding: 80px 0;
    min-height: 800px;


}
#lets-talk .outro{
    line-height: 2.4;
    margin-bottom: 40px;
}

img.okvir {
    border: 18px solid #313131;
    -webkit-box-shadow: 0px 3px 28px 4px rgba(0, 0, 0, 0.37);
    box-shadow: 0px 3px 28px 4px rgba(0, 0, 0, 0.37);
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .prvi,
    .sedmi {
        height: 800px;
        min-height: 70vh;
    }

    .drugi,
    .tretji,
    .peti,
    .sesti,
    .tools {
        padding: 90px 0;
    }

    .bg_image_scroll_title .project {
        margin-top: 180px;
    }

    .project {
        padding: 56px 0;
    }

    .project h1 {
        margin-bottom: 30px;
    }

    .project .row {
        row-gap: 24px;
    }

    .peti .row {
        margin-bottom: 40px;
    }

    .divider {
        height: 120px;
    }

    .bg_image_scroll {
        background-attachment: scroll;
    }

    .drugi-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }
}

@media (max-width: 767.98px) {
    .container,
    .container-xxl {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-nav {
        position: fixed;
        top: 0px;
        left: auto;
        right: 0px;
        width: 44px;
        z-index: 40;
        mix-blend-mode: normal;
        transform: none;
        pointer-events: auto;
        transition: none;
        padding: 0;
        overflow: visible;
    }

    .site-nav__toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        background: rgba(49, 49, 49, 1);
    }

    .site-nav__menu {
        position: absolute;
        top: 44px;
        right: 0;
        margin-top: 0;
        width: max-content;
        box-sizing: border-box;
        padding: 20px;
        background: rgba(49, 49, 49, 1);
        border: none;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .site-nav.is-open .site-nav__menu {
        max-height: 260px;
        opacity: 1;
    }

    .competences-elastic {
        display: none;
    }

    .prvi h1 {
        margin-top: 120px;
        line-height: 2em;
    }

    .prvi .lead {
        font-size: 18px;
        line-height: 1.6em;
    }

    .cta-strip__inner {
        flex-direction: column;
        gap: 12px;
    }

    .drugi-feature-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .drugi-feature-list li {
        padding: 16px 0;
    }

    .latest-highlight {
        padding: 8px 0;
    }

    .latest-highlight__list {
        width: 100%;
        display: block;
        margin-top: 8px;
        font-size: 0.95rem;
        height: 1.7em;
    }

    .latest-highlight__list li {
        white-space: normal;
    }

    .peti .row {
        row-gap: 20px;
    }

    .col-4,
    .col-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sedmi h1 {
        margin: 120px 0 50px;
    }

    .project-bg-section .bg_image_scroll,
    .project-bg-section .bg_image_scroll_title {
        height: 360px !important;
    }

    .project-bg-section {
        height: 360px;
    }

    .hero-overlay {
        height: 100% !important;
    }

    .bg_image_scroll_title .project {
        margin-top: 120px;
    }

    .prvi > video.bg_image_scroll {
        position: absolute;
        height: 100%;
        width: 100%;
    }

    .prvi > video.bg_image_scroll {
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
    }
}

@media (max-width: 479.98px) {
    .drugi-feature-list {
        grid-template-columns: 1fr;
    }
}
