/* Osnovni stilovi */
:root {
    --gl-crvena: #d02d35;
    --gl-crvena-na-zelenoj: #bf2d33;
    --gl-zelena: #0b361e; 
    --bg-light: #edf2ea;
    --text-color: #222222;
    --white: #ffffff;
}

@font-face {
    font-family: 'Quietism Text';
    src: url('fonts/QuietismText-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face{
    font-family: "Beausite Classic Regular";
    src: url("fonts/81db551dd19e720ed0bc40dbde312130.eot");
    src: url("fonts/81db551dd19e720ed0bc40dbde312130.eot?#iefix")format("embedded-opentype"),
        url("fonts/81db551dd19e720ed0bc40dbde312130.woff")format("woff"),
        url("fonts/81db551dd19e720ed0bc40dbde312130.woff2")format("woff2"),
        url("fonts/81db551dd19e720ed0bc40dbde312130.ttf")format("truetype"),
        url("fonts/81db551dd19e720ed0bc40dbde312130.svg#Beausite Classic Regular")format("svg");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}

@font-face {
    font-family: 'Quietism Display';
    src: url('fonts/QuietismDisplay-Regular.eot');
    src: local('Quietism Display Regular'), local('QuietismDisplay-Regular'),
        url('fonts/QuietismDisplay-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/QuietismDisplay-Regular.woff2') format('woff2'),
        url('fonts/QuietismDisplay-Regular.woff') format('woff'),
        url('fonts/QuietismDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Quietism Display';
    src: url('fonts/QuietismDisplay-Italic.eot');
    src: local('Quietism Display Italic'), local('QuietismDisplay-Italic'),
        url('fonts/QuietismDisplay-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/QuietismDisplay-Italic.woff2') format('woff2'),
        url('fonts/QuietismDisplay-Italic.woff') format('woff'),
        url('fonts/QuietismDisplay-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: 'Mulish';
    src: url('fonts/Mulish-VariableFont_wght.woff2') format('woff2');
    /*font-weight: 700;*/
    font-style: normal;
    font-display: swap;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mulish', sans-serif;
    /*font-family: "Beausite Classic Regular";*/
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9fbf8;
}

/* Fiksni Gornji Meni */
header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
}

.logo {
    display: flex;
}

.logo img{
    display: block;
    height: 2.7rem;
}

.menu-toggle {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--gl-crvena);
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--gl-zelena);
}

.btn_prijava_menu {
    background-color: #10723E;
    /*background: linear-gradient(180deg, #047937 0%, #a02733 47%, #97202c 56%, #047937 100%);*/
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    color: white;
}

.btn_prijava_menu:hover{
    color: var(--gl-crvena);
}

.btn_prijava_menu .koverta {
    
}

.btn_prijava_menu .koverta img {
    width: 25px;
    margin-bottom: -7px;
    margin-right: 7px;
}


/* Hero Sekcija */
.hero {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1536 / 659;
    max-width: 1200px;
    color: var(--white);
    margin: 0 auto;

    /* Omogućava korišćenje cqw jedinica vezanih za širinu hero elementa */
    container-type: inline-size;

    display: flex;
    align-items: flex-start;
    /*padding: 4rem 5rem;*/
    padding-left: 1.3rem;
    padding-top: 2rem;
    padding-right: 1.3rem;
    padding-bottom: 4rem;
    flex-direction: column;
    /*box-shadow: 1px 1px 10px rgba(50, 50, 50, 0.05), -1px -1px 10px rgba(50, 50, 50, 0.05);*/
    /*overflow: hidden;*/
    box-shadow:
            5px 0 10px rgba(0, 0, 0, 0.05),
            -5px 0 10px rgba(0, 0, 0, 0.05);

    /*overflow: hidden;*/
}


/*
 * PICTURE elementi zauzimaju ceo hero.
 * Sam IMG unutar picture elementa radi object-fit.
 */
.hero-bg,
.hero-hat {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
}


/*
 * IMG unutar picture elementa mora imati 100% dimenzija
 * da bi object-fit / object-position radili na isti način
 * kao ranije kada je IMG bio direktno u .hero.
 */
.hero-bg img,
.hero-hat img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center top;
}


.hero-bg {
    z-index: 1;
}


.hero-content, .hero-content2 {
    position: relative;
    width: 100%;
    z-index: 2;
    font-family: 'Quietism Text';
    margin-bottom: 3rem;
    text-align: center;
    padding: 0.5rem;
    padding-right: 8rem;
}

.hero-hat {
    z-index: 3;
    pointer-events: none;
}

.hero-content2 {
    z-index: 4;
    margin-top: 1.4rem;
}


.hero-wave {
    position: absolute;
    bottom: -15px;
    left: 0;

    width: 100%;
    height: 100px;

    display: block;
}

.biljke{
    position: absolute;
    top: 3px;
    right: 0px;
}

.hero h2 {
    font-family: 'Quietism Display';
    font-size: 2.4em;
    font-weight: 500;
    text-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
}

.hero h1 {
    font-family: 'Quietism Display';
    font-size: 4.4rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 3.4rem;
    text-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
}

.hero p {
    font-family: 'Quietism Display';
    /*font-style: italic;*/
    font-size: 2.1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 2.3rem;
    text-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
}

.btns_holder_hero{
    font-family: "Beausite Classic Regular";
    display: flex;
    width: 80%;
    margin-bottom: 2rem;
    margin-left: 10rem;
    margin-top: 5.2rem;
    flex-direction: row;
    justify-content: space-evenly;
}

.btn_preuzmi_prav_hero, .btn_prijava_hero {
    display: inline-block;
    color: var(--white);
    padding: 0.8rem 1rem;
    border-radius: 30px;
    border: 2px solid;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0px 0px 6px 3px rgba(50, 50, 50, 0.5), inset 0px 0px 6px 3px rgba(50, 50, 50, 0.5);
    text-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
}

.btn_preuzmi_prav_hero:hover, .btn_prijava_hero:hover {
    background-color: rgba(100,100,100,0.7);
}

.down_arrow_img{
    vertical-align: middle;
    margin-right: 1rem;
}

.right_arrow_img{
    vertical-align: middle;
    margin-left: 1rem;
}


h2{
    font-family: 'Quietism Text';
}


/* Glavni kontejner za sekcije */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: #ffffff;
    /*background: url("images/lijana.png");*/
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.05), -1px -1px 10px rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;

}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gl-crvena);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.dva_lista_div{
    margin: 0px auto;
    text-align: center;
    margin-bottom: 1.5rem;
}
.dva_lista_div img{
    height: 1rem;
}

.width-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--gl-crvena);
    border-right: 5px solid var(--gl-zelena);
    margin-bottom: 2rem;
    box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.06),
            0 2px 6px rgba(0, 0, 0, 0.04);
}

.extra-width-card {
    margin-left: -2rem;
    margin-right: -2rem;
    border-left: none;
    border-right: none;
}

/* Mreža sa karticama (Uputstva & Kako se radi) */
.grid {
}

.row {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 2rem;
}

/* svaki drugi red */
/*.row:nth-child(even) {*/
.row:nth-child(4n + 3) {
    grid-template-columns: 3fr 1fr;
}

.plant_cell {
    display: flex;    
    align-content: center;
    justify-content: center;
    align-items: center;
}

.plant_cell_mob{
    display: none;
}

.card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.06),
            0 2px 6px rgba(0, 0, 0, 0.04);
}

.red-left-card-border{
    border-left: 5px solid var(--gl-crvena);
}

.green-right-card-border{
    border-right: 5px solid var(--gl-zelena);
}

.card h3, .width-card h3 {
    font-family: 'Quietism Text';
    color: var(--gl-crvena);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.lista {
    margin-left: 2rem;
}

.faq{
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.05), -1px -1px 10px rgba(0, 0, 0, 0.05);
}


/* Sekcija za Prijavu / Kontakt */
.apply-box {
    background-color: var(--gl-crvena);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.apply-box h2 {
    margin-bottom: 1rem;
}

.email-link {
    font-family: 'Mulish', sans-serif;
    /*font-family: "Beausite Classic Regular";*/
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    /*font-weight: 700;*/
    color: var(--white);
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    /*word-break: break-all;*/
    border: 1px solid;
}

.email-link:hover {
    background: var(--white);
    color: var(--gl-crvena);
}


/* Podnožje */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #222;
    color: #888;
    font-size: 0.7rem;
}

.last-words {
    /*background-color: var(--gl-zelena);*/
    background-image: url("images/bg_width_card.jpg");
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: 2rem;
}

.last-words h2 {
    margin-bottom: 1rem;
}

.last-words .gorki-list{
    font-family: 'Quietism Text';
}

.near_footer
{
    margin-top: 2rem;
}


/* Adaptacija za mobilne ekrane */
@media (max-width: 768px) {
    
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        width: 30px;
        height: 24px;

        padding: 0;
        border: none;
        background: transparent;

        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;

        background-color: var(--gl-crvena);
        border-radius: 3px;

        transition: all 0.3s ease;
    }

    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background-color: white;

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    nav.active ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 1rem 2rem;
        margin: 0;
        gap: 0.5rem;
    }

    nav.active li {
        width: 100%;
    }

    nav.active a {
        display: block;
        padding: 0.8rem 0.8rem;
    }

    .menu-toggle span {
        transition: 
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }

    .btns_holder_hero{
        /*width: 374px;*/
        width: 100%;
    }

    .btn_prijava_hero {
        width: 8rem;
    }

    .btn_preuzmi_prav_hero {
        width: 12rem;
    }

    .btn_prijava_hero, .btn_preuzmi_prav_hero {
        font-size: 0.75rem;
        padding: 0.8rem 0.7rem;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .btn_prijava_hero .koverta img {
        width: 20px;
    }

    .btn_preuzmi_prav_hero .download img {
        width: 20px;
    }


    .hero-wave {
        bottom: -7px;
        height: 40px;
    }

    .hero .hero-content{
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }
    
    .hero-content2{
        margin: 0;
        padding: 8px;
    }

    .hero {
        aspect-ratio: 3 / 5;
    }

    .hero h2 {
        font-size: 2rem;
        margin-top: 3rem;
        line-height: 1.8rem;
        /*margin-top: -2rem;*/
    }

    .hero h1 {
        font-size: 3.3rem;
        line-height: 3rem;
        margin-top: 0.3rem;
    }

    .hero p {
        font-size: 1.3rem;
        margin-top: 6rem;
        line-height: 1.5rem;
    }

    .btns_holder_hero{
        margin: 0;
        margin-top: 5rem;
        /*margin-left: 20%;*/
        /*width: 55%;*/
    }

    .btn_preuzmi_prav_hero, .btn_prijava_hero{
        padding: 10px;
        font-size: 1rem;
        border: 1px solid;
        margin: 4px;
    }


    .btn_preuzmi_prav_hero img {
        width: 11px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .btn_prijava_hero{
        padding-left: 20px;
    }

    .btn_prijava_hero img {
        width: 9px;
    }

    .row {
        display: contents;
    }

    .card {
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .plant_cell {
        display: none;
    }

    .plant_cell_mob {
        display: flex;    
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}