/* Globalne postavke */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    color: #2A512E;
    overflow-x: hidden;
}

/* Header i logo */
.header-content {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.header-content img.logo {
    max-width: 274px;
    max-height: 121px;
    width: auto;
    height: auto;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    color: #2A512E;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

/* Hero Sekcija */
.hero-image {
    width: 100vw;
    height: 100vh;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
}

.hero-text h1 {
    font-family: 'Lora', serif;
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-text p {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.hero-text .more-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17px;
    color: #2A512E;
    background-image: url('gumb.png');
    background-size: cover;
    width: 237px;
    height: 55px;
    text-align: center;
    line-height: 55px;
    text-decoration: none;
}

/* Sekcije */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content h2 {
    font-family: 'Lora', serif;
    font-weight: bold;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #2A512E;
}

#o-nama .content {
    text-align: center;
}

#o-nama .content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Sekcija Usluge */
.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}



.service-image {
    width: 350px;
    height: 300px;
    background-color: #2A512E;
}

.service-text {
    max-width: 400px;
}

.service-text h3 {
    font-family: 'Lora', serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.service-text p {
    font-family: 'Lora', serif;
    margin-bottom: 10px;
    line-height: 1.5;
}


/* Boja za naslove usluga */
.service-text h3 {
    font-family: 'Lora', serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: #9DCCA2; /* Dodana boja za naslove usluga */
}

/* Boja za kosu rečenicu u sekciji O Nama */
#o-nama .content h3 em {
    color: #9DCCA2; /* Dodana boja za kosu rečenicu */
}


.service-text .service-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17px;
    color: #2A512E;
    background-image: url('gumb1.png');
    background-size: cover;
    width: 237px;
    height: 55px;
    text-align: center;
    line-height: 55px;
    text-decoration: none;
}

/* Galerija */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
	
}
#galerija {padding-top: -50px; margin-top:-30px
}


   


.gallery-item {
    width: calc(35% - 30px); /* Tri slike po redu */
    aspect-ratio: 4 / 3; /* Pravokutni omjer */
    object-fit: cover; /* Uklapa sliku unutar dimenzija bez izobličenja */
    background-color: #ccc; /* Privremena pozadina */
	cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 5px solid white;
}

/* Footer */
.footer-content {
    background-color: #9DCCA2;
    color: white;
    text-align: center;
    padding: 10px;
}

.footer-content a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-family: 'Lora', serif;
}

.footer-content .fab {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.separator {
    margin: 0 8px;
    color: white;
    font-size: 16px;
    vertical-align: middle;
	
	/* Globalne postavke */
body {
    font-family: 'Lora', serif;
    color: #2A512E;
    overflow-x: hidden;
}

/* Header i logo */
.header-content img.logo {
    max-width: 248px; /* Uvećano za 15% od 216px */
    max-height: 123px; /* Uvećano za 15% od 107px */
    width: auto;
    height: auto;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    color: #2A512E;
    text-decoration: none;
    font-size: 16.5px; /* Povećano za 10% od 15px */
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

/* Hero Sekcija */
.hero-text .more-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17px;
    color: #2A512E;
    background-image: url('gumb.png');
    background-size: cover;
    width: 237px;
    height: 55px;
    text-align: center;
    line-height: 55px;
    text-decoration: none;
}

.service-text .service-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase; /* Velika slova */
    color: white; /* Bijela boja teksta */
    background-image: url('gumb1.png'); /* Pozadina gumb1.png */
    background-size: cover;
    width: 237px;
    height: 55px;
    text-align: center;
    line-height: 55px;
    text-decoration: none;
}


/* Sekcija Kontakt */
#kontakt .content h2 {
    font-family: 'Lora', serif;
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 10px;
    color: #2A512E;
}

#kontakt .contact-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}



/* Footer */
.footer-content {
    background-color: #9DCCA2;
    text-align: center;
    padding: 10px;
    color: white;
    font-size: 8px;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content .fab {
    font-size: 20px;
    margin-right: 5px;
}

.footer-content .footer-note {
    font-size: 8px;
    margin-top: 10px;
}

.footer-content .footer-note a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer-note {margin-top:30px;}

}


.footer-content {
    background-color: #9DCCA2;
    text-align: center;
    padding: 10px;
    color: white;
    font-size: 12px;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content .fab {
    font-size: 30px;
    margin-right: 5px;
}

.footer-content .footer-note {
    font-size: 12px; /* Smanjena veličina na 8px */
    margin-top: 20px; /* Dodan razmak od Facebook/Instagram natpisa */
    display: block;
}

.footer-content .footer-note a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


#kontakt .contact-link {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase;
    color: #2A512E;
    background-image: url('gumb1.png');
    background-size: cover;
    padding: 15px 35px;
    margin-left: 10px; /* Razmak od naslova */
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}

.footer-note{text-size: 8px;}



/* Popup za kolačiće */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Poluprozirna pozadina */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.cookie-popup-content {
    background-color: #9DCCA2; /* Pozadina popup-a */
    color: #2A512E; /* Tekst boja */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.cookie-popup-content p {
    margin-bottom: 20px;
    font-family: 'Lora', serif;
    font-size: 16px;
    text-transform: uppercase;
}

.cookie-popup-content a {
    color: #fff; /* Boja linka */
    
}

.cookie-popup-content button {
    padding: 10px 20px;
    background-color: #2A512E; /* Boja gumba */
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.cookie-popup-content button:hover {
    background-color: #557A61; /* Tamnija nijansa za hover */
}

@media (max-width: 768px) {
    /* Logo */
    .header-content img.logo {
        max-width: 180px; /* Smanjen logo za mobilne uređaje */
        height: auto;
    }

    /* Menu */
    nav ul {
        flex-direction: column; /* Vertikalni prikaz menija */
        gap: 10px;
        text-align: center;
    }

    nav a {
        font-size: 14px; /* Smanjena veličina fonta menija */
    }

    /* Hero tekst */
    .hero-text {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 24px; /* Smanjena veličina naslova */
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 16px;
    }

    /* Popup za kolačiće */
    .cookie-popup-content {
        max-width: 90%; /* Smanjenje širine popup-a */
        padding: 15px;
    }

    .cookie-popup-content p {
        font-size: 14px;
    }

    .cookie-popup-content button {
        padding: 8px 15px;
    }

    /* Sekcije */
    .content {
        padding: 20px 10px; /* Smanjeno opće razmicanje */
    }

    .content h2 {
        font-size: 28px; /* Smanjen font naslova sekcija */
    }

    #o-nama .content p {
        font-size: 14px; /* Manji font za paragraf */
    }

    /* Galerija */
    .gallery {
        gap: 8px; /* Manji razmaci između slika */
    }

    .gallery-item {
        width: calc(50% - 8px); /* Dvije slike u redu */
        aspect-ratio: 1 / 1; /* Kvadratne slike */
    }








@media (max-width: 768px) {
    /* Header - logo centriran, meni horizontalan ispod */
    .header-content {
        display: flex;
        flex-direction: column; /* Logo gore, meni dolje */
        align-items: center; /* Centriranje loga i menija */
        padding: 20px 0; /* Razmak iznad i ispod */
    }

    .header-content img.logo {
        max-width: 150px; /* Smanjeni logo za mobilne uređaje */
        height: auto;
        margin-bottom: 15px; /* Razmak ispod loga */
    }


   

     }



    /* Hero sekcija - Da li znate */
    .hero-text h1 {
        font-size: 30px; /* Veći font za naslov */
        line-height: 1.3; /* Razmak između linija */
        text-align: center; /* Centrirani tekst */
        margin: 20px 10px; /* Razmak oko naslova */
    }

    .hero-text p {
        font-size: 16px; /* Manji font za dodatni tekst */
        text-align: center;
        margin-top: 10px; /* Razmak ispod naslova */
    }

    /* Sekcija "Neke od usluga koje nudimo" */
    .service-item {
        display: flex;
        flex-direction: column; /* Vertikalni raspored slike i teksta */
        align-items: center; /* Centriranje sadržaja */
        text-align: center;
        margin-bottom: 20px; /* Razmak između usluga */
    }

    .service-image {
        width: 100%; /* Slike sada zauzimaju cijelu širinu ekrana */
        height: auto; /* Automatska visina */
        margin-bottom: 15px; /* Razmak ispod slike */
    }

    .service-text {
        font-size: 16px; /* Veličina teksta */
        line-height: 1.6; /* Razmak između linija teksta */
        padding: 0 15px; /* Razmak sa strane */
    }

    /* Galerija */
    .gallery {
        display: flex;
        flex-direction: column; /* Slike jedna ispod druge */
        gap: 15px; /* Razmak između slika */
    }

    .gallery-item {
        width: 100%; /* Širina slike jednaka širini ekrana */
        height: auto; /* Automatska visina za očuvanje proporcija */
    }

    /* Kontakt sekcija */
    #kontakt .content h2 {
        font-size: 26px; /* Veličina naslova */
        margin-bottom: 20px; /* Razmak ispod naslova */
        text-align: center;
    }

    #kontakt .contact-subtitle {
        font-size: 17px; /* Veličina podnaslova */
        text-align: center;
        margin-bottom: 40px; /* Veći razmak između podnaslova i gumba */
    }

    #kontakt .contact-link {
        font-size: 17px; /* Veličina gumba */
        margin-top: 20px; /* Razmak iznad gumba */
    }
}












/* Hamburger stil */
.hamburger {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Sakriven na većim ekranima */
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav ul.show {
    display: flex; /* Prikaz menija kada je otvoren */
    flex-direction: column;
    background-color: #9DCCA2;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 0;
    text-align: center;
}

nav ul li {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Prikaži hamburger na manjim ekranima */
        color: #2A512E;
    }

    nav ul {
        display: none; /* Sakrij meni na mobilnim uređajima */
        flex-direction: column;
    }
}



















