/* --- OSNOVNI STILOVI --- */
:root {
    --primary-color: #004D40; /* Tamno zelena */
    --secondary-color: #BCA43C; /* Zlatna */
    --background-color: #F5F5DC; /* Boja peska / bež */
    --text-color: #2E2E2E; /* Tamno siva */
    --light-text: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-color); background-color: var(--background-color); line-height: 1.8; }
.container { max-width: 1100px; margin: 0 auto; padding: 60px 20px; text-align: center; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 20px; font-weight: 700; }
h2 { font-size: 2.5rem; }
p { font-weight: 300; margin-bottom: 15px; }
.section-subtitle { font-size: 1.1rem; color: #555; max-width: 700px; margin: -10px auto 40px auto; }
main { position: relative; z-index: 10; background-color: var(--background-color); }

/* --- HEADER I NAVIGACIJA --- */
header { background-color: rgba(0, 77, 64, 0.9); color: var(--light-text); padding: 15px 50px; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
nav { display: flex; justify-content: space-between; align-items: center; }
nav .logo { font-family: var(--font-heading); font-size: 1.8rem; color: var(--secondary-color); text-decoration: none; font-weight: 700; z-index: 1001; }
nav ul#nav-links { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 30px; }
nav ul li a { color: var(--light-text); text-decoration: none; font-size: 1rem; transition: color 0.3s ease; padding: 10px 0; }
nav ul li a:hover { color: var(--secondary-color); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background-color: rgba(0, 77, 64, 0.95); list-style: none; padding: 10px 0; margin-top: 5px; min-width: 250px; box-shadow: 0 8px 16px rgba(0,0,0,0.3); border-radius: 5px; z-index: 1001; border-top: 2px solid var(--secondary-color); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.dropdown:hover .dropdown-menu { display: block; opacity: 1; visibility: visible; }
.dropdown-menu li { margin: 0; }
.dropdown-menu li a { padding: 12px 20px; display: block; width: 100%; text-align: left; white-space: nowrap; }
.dropdown-menu li a:hover { background-color: var(--secondary-color); color: var(--text-color); }
.dropdown a .fa-chevron-down { font-size: 0.8em; margin-left: 5px; transition: transform 0.3s ease; }
.dropdown:hover a .fa-chevron-down { transform: rotate(180deg); }
.hamburger-menu { display: none; cursor: pointer; z-index: 1001; }
.hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--light-text); transition: all 0.3s ease-in-out; }

/* --- HERO SEKCIJA --- */
.hero-slider { position: relative; height: 100vh; overflow: hidden; color: var(--light-text); }
.hero-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.hero-slider .slide.active { opacity: 1; z-index: 2; }
.hero-slider .slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 3; max-width: 800px; padding: 20px; }
.hero-content h1 { font-size: 4rem; color: var(--light-text); margin-bottom: 20px; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.hero-content p { font-size: 1.5rem; font-weight: 300; margin-bottom: 30px; text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }
.hero-buttons { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-button { background-color: var(--secondary-color); color: var(--text-color); padding: 15px 30px; text-decoration: none; font-size: 1rem; font-weight: 700; border-radius: 5px; transition: background-color 0.3s, transform 0.3s; border: 2px solid var(--secondary-color); display: inline-flex; align-items: center; gap: 8px; }
.cta-button:hover { background-color: #d4b84a; transform: translateY(-3px); }
.cta-button-outline { background-color: transparent; color: var(--light-text); padding: 15px 30px; text-decoration: none; font-size: 1rem; font-weight: 700; border-radius: 5px; border: 2px solid var(--secondary-color); transition: background-color 0.3s, color 0.3s, transform 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.cta-button-outline:hover { background-color: var(--secondary-color); color: var(--text-color); transform: translateY(-3px); }

/* --- SADRŽAJ I OSTALE SEKCIJE --- */
.utisci-slider-wrapper { position: relative; width: 100%; overflow: hidden; padding: 0 40px; }
.utisci-grid { display: flex; flex-wrap: nowrap; gap: 20px; transition: transform 0.5s ease-in-out; }
.utisak-card { flex: 0 0 calc(33.333% - 14px); min-width: 300px; background-color: #fff; padding: 25px; border-left: 5px solid var(--secondary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.08); font-style: italic; border-radius: 5px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--primary-color); color: var(--light-text); border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: background-color 0.3s, opacity 0.3s; }
.slider-btn:hover { background-color: var(--secondary-color); color: var(--text-color); }
.prev-btn { left: -10px; }
.next-btn { right: -10px; }
.slider-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.content-section { display: flex; align-items: center; justify-content: space-between; gap: 50px; text-align: left; }
.content-section.reverse { flex-direction: row-reverse; }
.content-text { flex: 1; }
.content-image { flex-basis: 40%; }
.content-image img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.cta-buttons { margin-top: 30px; display: flex; gap: 15px; flex-wrap: wrap; }
.cta-buttons a { text-decoration: none; color: var(--light-text); padding: 12px 25px; border-radius: 5px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.2s; }
.cta-buttons a:hover { transform: scale(1.05); }
.cta-buttons a:nth-child(1) { background-color: var(--primary-color); }
.cta-buttons a:nth-child(2) { background-color: #25D366; }
.cta-buttons a:nth-child(3) { background-color: #7360F2; }
#blog { background-color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; }
.blog-card { background-color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-radius: 10px; overflow: hidden; transition: transform 0.3s; border: 1px solid #eee; }
.blog-card:hover { transform: translateY(-10px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 25px; }
.blog-content h3 { font-size: 1.4rem; color: var(--primary-color); }
.read-more { display: inline-block; margin-top: 15px; color: var(--secondary-color); text-decoration: none; font-weight: 700; }
#faq { background-color: #fff; }
.faq-accordion { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; background: none; border: none; padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.2rem; font-family: var(--font-heading); color: var(--primary-color); text-align: left; }
.faq-question:hover { background-color: #f9f9f9; }
.faq-question i { font-size: 1.1rem; transition: transform 0.3s ease-in-out; color: var(--secondary-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer p { padding: 0 20px 20px 20px; margin: 0; font-weight: 300; line-height: 1.7; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-item.active .faq-answer { max-height: 500px; }
.contact-section { background-color: var(--primary-color); color: var(--light-text); padding: 80px 20px; text-align: center; }
.contact-section h2, .contact-section h3 { color: var(--light-text); }
.contact-section h3 { font-size: 3rem; font-family: var(--font-body); color: var(--secondary-color); margin: 20px 0; }
.contact-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin-left: auto; margin-right: auto; }
.call-now-button { background-color: var(--secondary-color); color: var(--text-color); padding: 20px 40px; font-size: 1.5rem; font-weight: 700; text-decoration: none; border-radius: 50px; display: inline-flex; align-items: center; gap: 15px; margin-top: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.social-contact { margin-top: 30px; }
.social-contact a { color: var(--light-text); font-size: 2.5rem; margin: 0 15px; transition: color 0.3s; }
.social-contact a:hover { color: var(--secondary-color); }
footer { background-color: var(--text-color); color: #aaa; text-align: center; padding: 20px; font-size: 0.9rem; }

/* --- RESPONSIVE DIZAJN --- */
/* --- RESPONSIVE DIZAJN --- */
@media (max-width: 768px) {
    /* --- FINALNA ISPRAVKA --- */
    /* Ovo pravilo garantuje da se stranica NE MOŽE horizontalno skrolovati. */
    html, body {
        overflow-x: hidden;
    }

    .hamburger-menu { display: block; }
    .hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
    .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* ISPRAVLJEN KOD ZA MOBILNI MENI */
    nav ul#nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 80%;
        max-width: 320px; /* Dodata maksimalna širina radi sigurnosti */
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s ease-in-out;
    }
    nav ul#nav-links.nav-active {
        transform: translateX(0);
    }

    nav ul li { margin: 20px 0; }
    .dropdown .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; background-color: transparent; box-shadow: none; border: none; padding-left: 20px; margin-top: 10px; min-width: unset; width: 100%; text-align: center; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.submenu-active .dropdown-menu { display: block; }
    .dropdown.submenu-active .fa-chevron-down { transform: rotate(180deg); }
    .dropdown-menu li a { color: #ddd; font-size: 0.9em; }
    .hero-content h1 { font-size: 2.5rem; }
    .content-section, .content-section.reverse { flex-direction: column; }
    .utisak-card { flex-basis: 100%; min-width: 80%; }
    .blog-grid { grid-template-columns: 1fr; }
    .contact-section h3 { font-size: 2rem; }
}


/* --- STILOVI ZA BLOG STRANICU --- */

/* Zaglavlje blog posta (slika sa naslovom) */
.blog-post-header {
    height: 60vh; /* Visina zaglavlja */
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--light-text);
    margin-top: 70px; /* Pomeranje ispod fiksne navigacije */
}

/* Prekrivka za bolji kontrast teksta */
.blog-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Crna prozirna prekrivka */
}

.blog-post-header h1 {
    position: relative; /* Da bi bio iznad prekrivke */
    z-index: 2;
    font-size: 3.5rem; /* Veličina naslova */
    color: var(--light-text);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    max-width: 90%;
}


/* Kontejner za sadržaj bloga */
.blog-post-content {
    max-width: 800px; /* Optimalna širina za čitanje */
    margin: 60px auto; /* Centriranje i razmak */
    padding: 0 20px;
    background-color: #fff; /* Bela pozadina za sadržaj */
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 40px; /* Unutrašnji razmak */
    text-align: left; /* Poravnanje teksta ulevo */
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
}

.blog-post-content h2 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

/* Slike unutar blog posta */
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px 0; /* Razmak iznad i ispod slike */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Lista (ul) unutar blog posta */
.blog-post-content ul {
    list-style-type: none; /* Uklanjanje tačkica */
    padding-left: 0;
    margin: 25px 0;
}

.blog-post-content ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Dodavanje ikonice ispred stavke liste */
.blog-post-content ul li::before {
    content: '🌙'; /* Možete koristiti '✔', '➤' ili bilo koji drugi simbol */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Prilagođavanje za dugme na kraju teksta */
.blog-post-content .cta-buttons {
    text-align: center; /* Centriranje dugmića */
    justify-content: center;
    margin-top: 40px;
}

.blog-post-content .cta-buttons a {
    text-decoration: none;
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background-color 0.3s;
    background-color: var(--primary-color);
}
.blog-post-content .cta-buttons a:hover {
    transform: scale(1.05);
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Sitna korekcija za drugi link (ime sajta) */
.blog-post-content .cta-buttons a:nth-child(2) {
    background: none;
    color: var(--primary-color);
    padding: 5px;
    font-size: 0.9rem;
    font-weight: 400;
}
.blog-post-content .cta-buttons a:nth-child(2):hover {
    background: none;
    color: var(--secondary-color);
}

/* Responsiv za naslov na manjim ekranima */
@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 2.5rem;
    }
    .blog-post-content {
        padding: 25px;
        margin: 40px auto;
    }
    .blog-post-content h2 {
        font-size: 1.8rem;
    }
}