/* Helvetica Neue Regular */
@font-face {
    font-family: "Helvetica Neue";
    src:url('../fonts/HelveticaNeueLight.otf') format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Neue Regular */
@font-face {
    font-family: "Helvetica Neue";
    src:url('../fonts/HelveticaNeueRoman.otf') format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Neue Medium */
@font-face {
    font-family: "Helvetica Neue";
    src: url("../fonts/HelveticaNeueMedium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Neue Bold */
@font-face {
    font-family: "Helvetica Neue";
    src: url("../fonts/HelveticaNeueBold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root{
    --body-bg:#F5F5F5;
    --gray-light:#CAD1BF;
    --section-padding:25px;
    --title-font: "Ubuntu", sans-serif;
    --body-font:"Helvetica Neue", sans-serif;
    --primary-black:#1F1F1F;
    --secondary-black:#212121;
}

html{
    font-size: 15px;
}

html, 
body{
    height: 100%;
}

body{
    background-color: var(--body-bg);
    font-size: 1rem;
    line-height: 1.375em;
    font-family: var(--body-font);
    color:var(--secondary-black);
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.video-wrapper{
    margin-top: 50px;
    position: relative; 
    width: 100%; 
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
}

.video-overlay{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../images/D_VideoPlaceholder.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

#player{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    border-radius: 8px;
}

h1{
    font-size: 2.4rem;
    line-height: 1.1em;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--title-font);
}

h2{
    font-size: 2.4rem;
    line-height: 1.1em;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--title-font);
}

h3{
    font-size: 2rem;
    line-height: 1.1em;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--title-font);
}

h4{
    font-size: 1.6rem;
    line-height: 1.15em;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--title-font);
}

h5{
    font-family: var(--title-font);
    font-size: 1.2rem;
    line-height: 1.625em;
    font-weight: 400;
}

h6{
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 400;
    color:#A1A997;
    margin-bottom: 16px;
    font-weight: bold;
    font-family: var(--body-font);
}

p{
    line-height: 1.5em;
}

p:not(:last-child){
    margin-bottom: 20px;
}

button{
    all: unset;               /* uklanja skoro sve inherited i user-agent stilove */
    display: inline-block;    /* ili block/flex ako treba */
    box-sizing: border-box;   /* bitno za padding/border */
    font: inherit;            /* koristi font roditelja */
    color: inherit;           /* koristi boju roditelja */
    background: none;         /* uklanja background */
    border: none;             /* uklanja border */
    padding: 0;               /* uklanja default padding */
    margin: 0;                /* uklanja default margin */
    cursor: pointer;          /* opcionalno, za pointer */
    text-align: inherit;      /* nasledjuje text-align roditelja */
}

.btn{
    border-radius: 8px;
    color: #fff;
    padding:1rem 1.15rem;
    display: inline-block;
    background-color: var(--secondary-black);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.main-nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    position: fixed;
    bottom:30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    transition:0.4s all;
    z-index: 20;
    pointer-events: none;
}

.main-nav-menu-wrapper{
    background-color: #343434;
    border-radius: 12px;
    padding: 32px 24px; 
    width: calc(100vw - 48px);
    margin-bottom: 14px;
}

.hamburger-wrapper{
    pointer-events: all;
    color:#fff;
    display: flex;
    align-items: center;
    height: 50px;
    padding:10px 15px;
    min-width: 50px;
    transition: 0.3s all;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background-color: #343434;
    z-index: 20;
}

.main-nav-mask{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #F5F5F5BF;
    z-index: 10;
    display: none;
}

.main-nav-mask.active{
    display: block;
}

.main-nav-menu{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    z-index: 20;

}

.main-nav-menu-wrapper{
    max-height: 80vh;
    transition:0.3s all ease-out;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 4px 21px 0px #00000036;
}

.main-nav.active .main-nav-menu-wrapper{
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.btn-main-menu{
    font-size: 16px;
    font-weight: 300;
    border: 1px solid #565656;
    border-radius: 8px;
    padding: 12px;
    background-color: transparent;
    transition: 0.2s all;
}

.btn-main-menu.active{
    outline: 2px solid white !important;
}

.btn-main-menu.btn-main-menu--white,
.btn-main-menu:hover{
    background-color: #F5F5F5;
    color:var(--secondary-black);
}

.main-nav.active .hamburger-wrapper{
    padding:5px;
    border-radius: 50% !important;
}

.hamburger {              /* resetuje default button stil */
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
    cursor: pointer;
    padding: 0;
    z-index: 1000;     
    position: relative;          /* iznad ostalog sadržaja */
}


.hamburger-icon-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    top:0;
    left: 0;
    transition: 0s all;
    opacity: 1;
}

.hamburger-icon-img.hide{
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    display: block;
    height: 1.5px;                 /* debljina linije */
    width: 100%;
    background-color: #fff;       /* boja linija */       /* blago zaobljene ivice */
    transition: all 0.3s ease;   /* za kasniju animaciju u X */
}

.hamburger span:nth-child(1){
    top: 0;
}

.hamburger span:nth-child(2){
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3){
    bottom: 0;
}

.main-nav.active .hamburger span:nth-child(1) {
    top: 50%;
    transform:rotate(45deg) translate(2%, -39%);
}

.main-nav.active .hamburger span:nth-child(2) {
    opacity: 0; /* sakrij srednju liniju */
}

.main-nav.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: rotate(-45deg) translate(-3%, 45%);
}

.hamburger-lable{
    margin-bottom: -2px;
    font-size: 16px;
    transition: 0.1s all;
    padding-left: 10px;
    max-width: 200px;
    opacity: 1;
}

.main-nav.active .hamburger-lable {
    max-width:0;
    overflow: hidden;
    padding-left: 0;
    opacity: 0;
}

.btn-link{
     text-underline-offset: 35%;  
    text-decoration: underline;
    color: var(--secondary-black);
    text-decoration-thickness: 2px;
}


.home-hero-images-logo-wrapper{
    display: none;
}

.text-center{
    text-align: center;
}

/* video wrapper */

.video-wrapper{
    margin-top: 30px;
}

.section_wrapper{
    padding-left:var(--section-padding);
    padding-right:var(--section-padding);
    border-bottom: 1px solid var(--gray-light);
}

.container{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding:var(--section-padding);
    border-left: 1px solid var(--gray-light);
    border-right: 1px solid var(--gray-light);
}

.inner-container > div:not(:last-child){
    margin-bottom: 20px;
}

.container--hero{
    padding-top: 45px;
}

.container--hero-inner-content{
    margin-bottom: 20px;
}

header{
    text-align: center;
}

.header_logo a{
    font-family: var(--title-font);
    color:var(--secondary-black);
    font-weight: bold;
    font-size: 24px;
}

.hero-content{
    font-size: 16px;
}

.home-hero-images{
    position: relative;
    margin-top:var(--section-padding);
}

.home-hero-images_main-image{
    border-radius: 10px;
    margin-bottom: 35px;
    display: inline-block;
}

.home-hero-images_featured{
    background-color: var(--body-bg);
    padding:var(--section-padding);
    border:1px solid var(--secondary-black);
    border-radius: 10px;
    text-align: left;
}

.home-hero-images_featured *:not(:last-child){
    margin-bottom: 12px;
}

.home-hero-images_featured h6{
    font-weight: 400;
    color:var(--secondary-black);
}
.section_wrapper--footer-logos{
    text-align: center;
    color:#A1A997;
}

.section_wrapper--footer-logos h6{
    margin-bottom: 20px;
    font-weight: 500;
}

.container--collapsible{
    padding:0;
    border-left: 0;
    border-right: 0;
}

.collapsible-wrapper__single-item .collapsible-content-wrapper p{
    margin-bottom: 20px;
}

.collapsible .collapsible-toggle{
    color:#A1A997;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}

.collapsible .collapsible-toggle h6,
.collapsible-wrapper__single-item .collapsible-content-wrapper h6{
    margin-bottom: 0 !important;
    font-weight: 500 !important;
}

.collapsible .collapsible-toggle img{
    width:14px;
    transform: rotate(180deg);
}

.collapsible-content-wrapper{
    overflow: hidden;
}

.collapsible-content-wrapper p{
    font-size: 15px;
}

.collapsible-content-wrapper h6{
    display: none;
}

.collapsible-title{
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    margin-top:15px;
}

.map-section{
    margin-top: 20px;
}

.map-section img{
    mix-blend-mode: multiply;
}

.map-section__wrapper{
    display: none;
}

.map-section-list{
    column-count: 2;
}

.map-section-list li{
    position: relative;
    padding-left: 20px; /* prostor za crticu */
}

.map-section-list li::before {
    content: "–"; /* crticu možeš zameniti sa "-" ili "•" */
    position: absolute;
    left: 0;
    color: #AAAAAA; /* boja crtice */
    font-weight: 400;
}

.team-grid{
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap:24px;
    text-align: center;
}

.team-grid__single-item{
    text-align: left;
}

.team-member__avatar{
    display: grid;
    grid-template-columns: 140px 1fr;
    gap:16px;
    align-items: center;
    margin-bottom: 32px;
}

.team-member__avatar img{
 
}

.team-member__name h3{
    font-size: 20px;
    line-height: 1.2em;
    font-family: var(--body-font);
    font-weight: 400;
    margin:0 0 2px 0 ;
} 

.team-member__name p{
    color:#434343;
}

.container-signup{
    background-color: #fff;
}

.container-signup h2{
    line-height: 1.35em;
    margin-bottom: 0;
}


/* footer */


.footer-logos img {
    width: 100%;
}

footer{
    padding-top: 20px;
    text-align: center;
    font-size: 0.86rem;
    background-color: #fff;
}

footer .container{
    border: none;
}

footer p{
    margin-bottom: 0;
    color: #565656;
}

/* popup */

.popup{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    padding:calc(2* var(--section-padding)) var(--section-padding);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition:0.5s all;
}

.popup.show{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.close-popup{
    position: absolute;
    top: -35px;
    right: 0;
}

.close-popup svg{
    width: 24px;
    height: 24px;
}

.popup-mask{
    background: #56565675;
    z-index: 30;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-wrapper{
    z-index: 40;
    position: relative;
    background-color: white;
    border-radius: 12px;
    max-width: 560px;
}

.popup-content{
    max-height: 75vh;
    overflow: auto;
    border-radius: 12px;
}

.popup-content p{
    font-weight: 300;
}

.popup-content > div{
    padding: var(--section-padding);
}

.popup-content_left{
    background-color: #F0F0F0;
}

.popup-content_left .popup-content_title{
    font-weight: 300;
}

.popup-content_left > *:not(:last-child),
.popup-content_right > *:not(:last-child){
    margin-bottom: 24px;
}

.popup-form_row:not(:last-child){
    margin-bottom: 24px;
}

label{
    color: #797979;
    display: block;
    margin-bottom: 5px;
}

input{
    font-size: 15px;
    font-weight: 400;
    font-family: var(--body-font);
    width: 100%;
    border:none;
    padding:10px 5px;
    border-bottom: 1px solid #DBDBDB;
}

.popup-form_footer{
    margin-top: 32px;
}

.btn[type='submit']{
    width: 100%;
    border-radius: 100px;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}



@media(min-width:768px){

    .collapsible-wrapper {
        padding-left: var(--section-padding);
        padding-right: var(--section-padding);
        border-bottom: 1px solid var(--gray-light) !important;
    }

    .container--collapsible{
        padding:0 !important;
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }

    .collapsible-wrapper__single-item .collapsible-toggle{
        display: none;
    }

    .collapsible-wrapper__single-item .container--collapsible{
        grid-template-columns: 1fr;
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper{
        display: grid !important;
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper img {
        order:1;
        padding-right: var(--section-padding);
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper > div{
        order:2;
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper p:last-child{
        margin-bottom: 0;
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper h6{
        display: block;
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper img{
        padding-right: var(--section-padding);
    }

    .collapsible-content-wrapper{
        display: block !important;
    }

    .container--collapsible .container{
        height: 100%;
    }
    .container--collapsible .section_wrapper{
        padding-left: 0;
        padding-right: 0;
        border-bottom: none;
    }

    .container--collapsible .section_wrapper:not(:last-child) .container{
        border-left: 1px solid var(--gray-light) !important;
        border-right: none;
    }

    .collapsible-toggle{
        cursor: default;
    }

    .collapsible-toggle img{
        display: none;
    }

    .popup-wrapper{
        max-width: 700px;
    }

    .popup-content{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .popup-content_left > *:not(:last-child), .popup-content_right > *:not(:last-child){
        margin-bottom: 40px;
    }

    .popup-content_left{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: flex-start;
    }

    .popup-content_left-text{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        flex:1;
        padding-bottom: 15px;
    }

    .team-grid__single-item{
        display: grid;
        align-items: flex-start;
        gap:24px;
        grid-template-columns: 140px 1fr;
    }

    .team-member__avatar {
        margin-bottom: 0;
    }

    .team-member__name{
        display: none;
    }

}

@media(min-width:992px){

    h1{
        font-size: 3.75rem;
        line-height: 1.15em;
    }

    h2{
        font-size: 3.75rem;
        line-height: 1.15em;
    }

    h5{
        font-size: 1.6rem;
        line-height: 1.25em;
    }

    p{
        font-size: 1.2rem;
    }
    
    .header_logo a{
        font-size: 26px;
    }

    .container{
        max-width: 1180px;
        padding-top:calc(2 * var(--section-padding));
        padding-bottom:calc(2 * var(--section-padding));
    }

    .inner-container > div:not(:last-child) {
        margin-bottom: 80px;
    }
    
    .section_wrapper,
    .container,
    .collapsible-wrapper{
        padding-left: calc(2.5 * var(--section-padding));
        padding-right: calc(2.5 * var(--section-padding));
    }

    .container--hero{
        padding-bottom:calc(3.5 * var(--section-padding));
        padding-top:calc(3.5 * var(--section-padding));
    }

    .home-hero-title{
        margin-bottom: 30px;
    }
    
    .hero-content{
        margin-bottom: 45px;
        font-size: 20px;
        line-height: 1.55em;
    }

    .home-hero-title,
    .home-hero-content{
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-content{
        max-width: 65%;
    }

    .home-hero-images{
        margin-top: 100px;
    }

    .home-hero-images_featured{
        position: absolute;
        top: -60px;
        left: 0;
        width: 300px;
        max-width: 100%;
    }

    .home-hero-images_main-image{
        max-width: 80%;
        margin-bottom: 0;
    }

    .home-hero-images-logo-wrapper{
        position: absolute;
        display: block;
        width: 192px;
        max-width: 100%;
        right: 0;
        top: 45%;
        position: absolute;
        border-radius: 10px;
        overflow: hidden;
        line-height: 0;
    }

    .container--hero-inner{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        align-items: center;
    }

    .container--hero-inner-content{
        padding-right: 60px;
        align-items: center;
        margin-bottom: 0;
    }

    .home-hero-images_featured *:not(:last-child){
        margin-bottom: 22px;
    }

    .home-hero-images_featured{
        font-size: 18px;
    }

    .map-section{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }

    .map-section-list{
        padding-top: 60px;
        column-count: 1;
    }

    .team-grid{
        margin-top: 45px;
        gap: 36px;
    }

    .team-grid__single-item{
        gap:50px;
    }

    .main-nav-menu-wrapper{
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        width: auto;
        padding: 14px;
    }

    .main-nav-menu{
        flex-direction: row;
        justify-content: center;
        gap:8px;
        align-items: center;
    }
    
    .btn-main-menu{
        white-space: nowrap;
    }

    .hamburger-wrapper{
        display: none;
    }

    .popup-wrapper{
        max-width: 850px;
    }

    .popup-content > div{
        padding: 60px;
    }

     .footer-logos{
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    #player,
    .video-wrapper{
        border-radius: 12px;
    }

    .collapsible-wrapper__single-item .collapsible-content-wrapper img {
        padding-right: calc(2.5 * var(--section-padding));
    }
}