@charset "utf-8";
/* CSS Document */


/* =========================================================
   OSNOVNO
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Courier New', Courier, monospace;
	color: #222;
	background: #fff;
}

img {
    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
	background: #fff;
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 100px;
	padding-left: 0;
}
.slika {
	max-height: 250px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 5px;
}
.hero-content {
    padding-right: 40px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.05;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
}

.hero h1 span {
    font-size: 18px;
    display: block;
    color: #777;
    font-weight: 300;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #151515;
    margin-bottom: 18px;
}

.hero-image {
    position: relative;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.hero-image:after {
    content: "";
    position: absolute;
    left: -8px;
    bottom: -8px;
    width: 80%;
    height: 80%;
    border-left: 2px solid #222;
    border-bottom: 2px solid #222;
    z-index: -1;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}


/* =========================================================
   NASLOV SEKCIJE
========================================================= */

.section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.section-heading h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.section-heading p {
    max-width: 650px;
    margin: auto;
    color: #777;
    font-size: 17px;
    line-height: 1.7;
}

.section-heading-line {
    width: 70px;
    height: 4px;
    background: #222;
    margin: 25px auto 0;
}


/* =========================================================
   TIMELINE SEKCIJA
========================================================= */

.timeline-section {
    background: #f1f1f1;
    padding: 110px 0;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}


/* CENTRALNA LINIJA */

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #bdbdbd;
    transform: translateX(-50%);
}


/* =========================================================
   TIMELINE ITEM
========================================================= */

.timeline-item {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 120px;

    opacity: 0;
    transition:
        opacity .9s ease,
        transform .9s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}


/* početno stanje */

.timeline-item:nth-child(odd) {
    transform: translateX(-80px);
}

.timeline-item:nth-child(even) {
    transform: translateX(80px);
}


/* aktivno */

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   LEVA / DESNA STRANA
========================================================= */

.timeline-image,
.timeline-content {
    width: 50%;
}


/* SLIKA LEVO */

.timeline-item:nth-child(odd) .timeline-image {
    order: 1;
    padding-right: 70px;
}


/* TEKST DESNO */

.timeline-item:nth-child(odd) .timeline-content {
    order: 2;
    padding-left: 70px;
    text-align: left;
}


/* TEKST LEVO */

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
    padding-right: 70px;
    text-align: right;
}


/* SLIKA DESNO */

.timeline-item:nth-child(even) .timeline-image {
    order: 2;
    padding-left: 70px;
}


/* =========================================================
   GODINA
========================================================= */

.timeline-year {
    font-size: 62px;
    line-height: .9;
    font-weight: 900;
    color: #d1d1d1;
    letter-spacing: -4px;
    margin-bottom: 18px;
    transition: color .4s ease;
}

.timeline-item.visible .timeline-year {
    color: #222;
}


/* =========================================================
   TEKST
========================================================= */

.timeline-content h3 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
}

.timeline-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #151515;
    margin: 0;
}


/* =========================================================
   CENTRALNA TAČKA
========================================================= */

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;

    background: #f1f1f1;
    border: 5px solid #222;

    border-radius: 50%;
    transform: translate(-50%, -50%);

    z-index: 10;
    transition: transform .4s ease, background .4s ease;
}

.timeline-item.visible .timeline-dot {
    background: #222;
    transform: translate(-50%, -50%) scale(1.2);
}


/* =========================================================
   OKVIR SLIKE
========================================================= */

.timeline-photo {
    position: relative;
    background: #fff;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.13);
}

.timeline-photo:before {
    content: "";
    position: absolute;
    top: -9px;
    left: -9px;
    right: 9px;
    bottom: 9px;
    border: 1px solid #aaa;
    pointer-events: none;
}

.timeline-photo img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}


/* =========================================================
   GALERIJA
========================================================= */

.gallery-section {
    background: #fff;
    padding: 110px 0;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 8px;
    border: 1px solid #ddd;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}


/* overlay */

.gallery-item:after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;

    width: 55px;
    height: 55px;

    background: rgba(0,0,0,.75);
    color: #fff;

    font-size: 32px;
    line-height: 52px;
    text-align: center;

    border-radius: 50%;

    transform: translate(-50%,-50%) scale(.5);
    opacity: 0;

    transition: .3s ease;
}

.gallery-item:hover:after {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
}


/* =========================================================
   ZAVRŠNA SEKCIJA
========================================================= */

.end-section {
    background: #222;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

.end-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.end-section p {
    color: #bbb;
    font-size: 17px;
    max-width: 650px;
    margin: auto;
    line-height: 1.8;
}


/* =========================================================
   MOBILNI
========================================================= */

@media (max-width: 767px) {


    /* HERO */

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-image {
        margin-top: 35px;
    }

    .hero-image img {
        height: 320px;
    }


    /* NASLOV */

    .section-heading {
        margin-bottom: 55px;
    }

    .section-heading h2 {
        font-size: 28px;
    }


    /* TIMELINE */

    .timeline-section {
        padding: 70px 0;
    }

    .timeline:before {
        display: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {

        display: flex;
        flex-direction: column;

        align-items: stretch;

        margin-bottom: 75px;

        opacity: 0;
        transform: translateY(40px);
    }

    .timeline-item.visible {
        opacity: 1;
        transform: translateY(0);
    }


    .timeline-image,
    .timeline-content {

        width: 100%;

        padding-left: 0 !important;
        padding-right: 0 !important;

        text-align: left !important;
    }


    /* GODINA */

    .timeline-year {
        font-size: 58px;
        letter-spacing: -3px;
        margin-bottom: 12px;
    }


    /* NASLOV */

    .timeline-content h3 {
        font-size: 25px;
    }


    /* SLIKA */

    .timeline-image {
        order: 3 !important;
        margin-top: 30px;
    }

    .timeline-photo img {
        height: 260px;
    }


    .timeline-dot {
        display: none;
    }


    /* GALERIJA */

    .gallery-section {
        padding: 70px 0;
    }

    .gallery-item img {
        height: 230px;
    }


    /* KRAJ */

    .end-section {
        padding: 70px 20px;
    }

    .end-section h2 {
        font-size: 32px;
    }

}
.language-switcher {
    position: fixed;
    left: 0;
    bottom: 20px;
    z-index: 9999;

    background: #000;
    color: #fff;

    padding: 10px 16px 10px 12px;

    border-radius: 0 25px 25px 0;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.language-switcher a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.language-switcher a:hover {
    opacity: 0.65;
}

.language-switcher span {
    margin: 0 8px;
    opacity: 0.5;
}

.language-switcher .language-active {
    font-weight: 700;
}
