@charset "UTF-8";

/* Default */
:focus {
    outline: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    text-shadow: none;
}

:root {
    --zakon-plava: #0074E0;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}


@font-face {
    font-display: swap;
    font-optical-sizing: auto;
    font-family:'Inter';
    font-style: normal;
    font-weight: 400 600;
    src: url('./fonts/InterVariable.woff2') format('woff2');
}


.medium {
    font-weight: 500;
}

.semibold {
    font-weight: 600;
}

.regular {
    font-weight: 400;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.15;

    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-shadow: none;
}

@media (min-width: 2048px) {
    html {
        font-size: 0.8vw;
    }
}


body {
    margin: 0;
    color: #252525;
    background-color: #Ffffff;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
    word-spacing: -0.05rem;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.as-h1,
.as-h2,
.as-h3,
.as-h4,
.as-h5,
.as-h6 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.1;
}

img {
    width: 100%;
    height: auto;

}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container,
.container-fluid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 1);
    padding-left: calc(var(--bs-gutter-x) * 1);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 992px) {
    .container {
        --bs-gutter-x: 2.5rem;
        padding-right: calc(var(--bs-gutter-x) * 1.5);
        padding-left: calc(var(--bs-gutter-x) * 1.5);
    }
}

/* @media (min-width: 1600px) {
  .container {
    --bs-gutter-x: 5rem;
    padding-right: calc(var(--bs-gutter-x) * 1.5);
    padding-left: calc(var(--bs-gutter-x) * 1.5);
  }
} */


:root {
    --background-color: #ECEAE9;
    --text-color: #767676;
    --heading-color: #394239;
}


/*  NAV  */

nav {
    background-color: #DFDBDC;
    padding-top: 1rem;
    z-index: 10005;
    position: fixed;
    width: 100%;
    transition: transform 0.2s ease-in-out;
}

nav.hidden-nav {
    transform: translateY(-100%);
}

@media (min-width: 1200px) {
    nav {
        z-index: 9999;
    }
}

.nav-holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links ul {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 500px) {
    .nav-links ul {
        padding-left: 0;
    }
}

.nav-links a {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.language-swap {
    margin-left: 1rem;
    font-size: 0.625rem;
    font-weight: 600;
}

.logo img {
    height: 2rem;
}

.logo a{
    display: block;
    width: auto;
    height: 100%;
    width: calc(2rem + 8vw);
}

@media (min-width: 388px) {
    .logo img {
        height: 2rem;
    }
}

@media (min-width: 600px) {
    .logo img {
        height: 4rem;
    }
    .nav-links a {
        font-size: 1rem;
    }
    .language-swap {
        margin-left: 8rem;
    }
}


@media (min-width: 1200px) {
    .language-swap {
        margin-left: 4rem;
    }
}
/*  MAIN  */

.main {
    display: flex;
    flex-direction: column-reverse;
    background-color: #DFDBDC;
}

@media (min-width: 1200px) {
    .main {
        flex-direction: row;
    }
}

.main .left-section,
.main .right-section {
    background-color: #DFDBDC;
}

.main .left-section {
    width: 100%;
    background-color: #fff;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.right-section {
    width: 100%;
}

.mb-1 {
    margin-bottom: 1rem;
}

@media (min-width: 1200px) {
    .main .left-section {
        background-color: #DFDBDC;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.left-section>.container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2rem;
    gap: 3.5rem;
}

.left-section h2 {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 1.625rem;
    /* letter-spacing: -20px; */
    line-height: 1.813rem;
    letter-spacing: -0.05rem;
}

@media (min-width: 600px) {
    .left-section h2 {
        font-size: 2.625rem;
        line-height: 2.813rem;
    }
}
.left-section span {
    line-height: 1.2rem;
    width: 70%;
}

.left-section a {
    color: var(--text-color);
    text-decoration: underline;
}

.right-section>.container {
    padding-left: 0;
}

section:not(.main) {
    padding: 1.5rem 0;
    border-top: 0.063rem solid #ECEAE9;
}

.o-nama .container,
.proizvodi .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.o-nama h2,
.proizvodi h2,
footer h2 {
    font-weight: 500;
    font-size: 2.25rem;
    line-height: 2.375rem;
    color: var(--heading-color);
    letter-spacing: -0.05rem;
}

@media (min-width: 992px) {
    .o-nama h2,
    .proizvodi h2,
    footer h2 {
        font-size: 4.25rem;
        line-height: 4.375rem;

    }
}

.o-nama .right-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.o-nama .bigger-text,
.o-nama .smaller-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.iso-img {
    width: 30%;
    margin-top: 7rem;
    align-self: flex-end;
    max-width: 9rem;
}

@media (min-width: 1200px) {

    .o-nama .container,
    .proizvodi .container {
        flex-direction: row;
    }

    .o-nama .right-section {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        width: 100%;
    }
    .o-nama .left-section {
        width: 100%;
    }

    .iso-img {
        width: 30%;
        margin-top: 7rem;
    }
    .left-section>.container {
        padding-right: 0;
    }
    .left-section span {
        width: 30%;
    }
}

.o-nama .smaller-text {
    gap: 1rem;
}

.bigger-text p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3rem;
    color: var(--text-color);
    letter-spacing: -0.0075rem;
}

.smaller-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2rem;
    color: var(--text-color);
    letter-spacing: -0.0075rem;
}


.proizvodi .accordion-seciton-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.accordion-container {
    display: flex;
    flex-direction: column;
    border-bottom: 0.063rem solid #ECEAE9;
}

.accordion-header {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.25rem;
    line-height: 1.3rem;
    color: var(--heading-color);
    font-weight: 500;
    letter-spacing: -0.05rem;
    width: 70%;
}

@media (min-width: 1400px) {
    .proizvodi .accordion-seciton-container {
        width: 75%;
    }
    .proizvodi .headline-container {
        width: 25%;
    }
    .accordion-header {
        padding: 1rem 0 1.25rem 0;
    }
    .bigger-text p {
        font-size: 1.625rem;
        line-height: 1.95rem;
    }
    .accordion-header h3 {
        font-size: 1.625rem;
        line-height: 1.95rem;
        width: initial;
    }
}

.accordion-icon {
    line-height: 1;
    border-radius: 50%;
    font-weight: 600;
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
}

.accordion-icon::before {
    content: "";
    display: block;
    position: absolute;
    height: 2.5rem;
    width: 0.063em;
    left: 50%;
    top: 50%;
    background-color: var(--text-color);
    transform: translate(-50%, -50%);
    transition: height 0.3s ease-in-out;
}

.accordion-icon::after {
    content: "";
    display: block;
    position: absolute;
    height: 0.063em;
    width: 2.5rem;
    top: 50%;
    right: 50%;
    background-color: var(--text-color);
    transform: translate(50%, -50%);
}

.accordion-container.open .accordion-icon::before {
    height: 0;
}

.accordion-content {
    display: grid;
        grid-template-rows: 0fr;
        overflow: hidden;
        transition: grid-template-rows 0.35s ease-out;
}

.accordion-container.open .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-content .content {
    display: flex;
    flex-direction: column;
/*     margin-bottom: 1rem; */
    min-height: 0;
}

.accordion-content .content > *{
    margin-bottom: 3rem;
}


.content .smaller-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    letter-spacing: -0.0075rem;
}

.content .image-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.content .image-container img {
    width: 100%;
    border-radius: 0.25rem;
}

@media (min-width: 1200px) {
    .accordion-content .content {
        flex-direction: row;
    }

    .content .smaller-text {
        width: 37%;
    }

    .content .image-container {
        width: 63%;
        margin-top: 0;
    }

    .content .image-container img {
        width: 40%;
    }
}


/*  FOOTER  */

footer {
    margin-top: 15rem;
    background-color: #1A1A1A;
    color: #fff;
    padding: 1.5rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

footer .left,
footer .middle,
footer .right {
    width: 100%;
}

.potpis {
    display: none;
    font-size: 0.75rem;
}

.potpis-two {
    display: block;
    margin-top: 3rem;
    ;
}

.footer-div {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.95rem;
}

@media (min-width: 1200px) {
    footer .container {
        flex-direction: row;
    }

    footer .left,
    footer .middle,
    footer .right {
        width: 25%;
    }

    .potpis {
        display: block;
        margin-top: 10rem;
    }

    .potpis-two {
        display: none;
    }

    .footer-div {
        margin-bottom: 1rem;
    }
}

footer h2 {
    color: #fff;
}

footer a {
    color: #fff;
    letter-spacing: -0.05rem;
    transition: opacity 0.2s ease-in-out;
}

footer a:hover {
    opacity: 0.8;
}

footer .middle a {
    display: block;
    font-size: 1.625rem;
    margin-bottom: 2rem;
}

.footer-div span {
    line-height: 0.975rem;
    letter-spacing: -0.05rem;
}

.footer-div a {
    font-size: 1.625rem;
}

footer .right p {
    margin: 0;
    line-height: 1.95rem;
    font-size: 1.625rem;
}

.main-headline {
    position: absolute;
    top: 5rem;
    font-weight: 500;
    font-size: 2.25rem;
    color: #fff;
    text-align: left;
    right: 1rem;
    z-index: 9999;
    left: 1rem;
}

.main .img-container {
    margin-top: 10rem;
    position: relative;
}

@media (min-width: 500px) {
    .main .img-container {
        margin-top: 0;
    }
}


@media (min-width: 872px) {
    .main-headline {
        text-indent: 30%;
    }
}

@media (min-width: 992px) {
    .main-headline {
        top: 5rem;
        font-size: 2.25rem;
        right: 3.25rem;
        text-indent: 30%;
        left: 3.25rem;
    }
}

@media (min-width: 1200px) {
    .main-headline {
         top: 0.6rem; 
        left: 3.25rem;
        font-size: 3.6vw;
        width: 60%;
        text-indent: 37% !important;
    }
}
.animation-container {
    display: block;
    overflow: hidden;
    z-index: 9996;
}

.fade-in-bottom,
.fade-in-top{
    opacity: 0;
    visibility: hidden;
}

body.loaded .fade-in-bottom,
body.loaded .fade-in-top {
    opacity: 1;
    visibility: visible;
}

span {
    display: block;
}


.anim-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: #DFDBDC;
}

.right-section .img-container {
    width: 100%;
    height: 100%;
}

footer .right a {
    text-decoration: underline;
}

.footer-underline-a {
    text-decoration: none !important;
}

.footer-underline-a .with-underline {
    text-decoration: underline !important;
}