/* === GLAVNI RESET I FIX ZA OVERFLOW === */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* === GLOBALNE POSTAVKE I VARIJABLE === */
:root {
    --primary-color: #005A9C;
    --secondary-color: #007BFF;
    --accent-color: #FFA500;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --white-color: #FFFFFF;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --font-main: 'Roboto', sans-serif;
}

/* === OSNOVNI STILOVI === */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* === HEADER I NAVIGACIJA === */
.main-header {
    background-color: transparent;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}
/* === STIL ZA AKTIVNI LINK U NAVIGACIJI === */
.nav-links a.active {
    color: var(--primary-color); /* Ista boja kao na hover */
}

.nav-links a.active::after {
    width: 100%; /* Prikazuje punu liniju ispod aktivnog linka */
}
/* === HERO SEKCIJA SA SLIDEROM === */
.hero-section {
    position: relative;
    color: var(--white-color);
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(175, 180, 184, 0.85), rgba(118, 140, 155, 0.5));
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    margin: 0;
    text-align: left;
    z-index: 3;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: var(--accent-color);
    overflow-wrap: break-word;
}

.hero-content .description {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
}
/* === HERO SEKCIJA - FIXED WIDTH & RESPONSIVE === */

/* 1. Kontejner za sadržaj - Na desktopu širi */
.hero-content {
    max-width: 1100px; /* Povećali smo sa 700px na 1100px da tekst "diše" */
    margin: 0;
    text-align: left; /* Lijevo poravnanje na laptopu */
    z-index: 3;
    width: 100%; /* Osigurava da na mobitelu ne prelazi ekran */
    padding-right: 20px; /* Da tekst ne dira desni rub na manjim laptopima */
}

/* 2. Naslovi - Pametno skaliranje (Clamp) */
.hero-content h1 {
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    display: block;
    text-transform: uppercase;
}

/* Podnaslov (DEŽURNI) */
.h1-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem); /* Min: 1.2rem, Max: 2rem */
    color: var(--white-color);
    letter-spacing: 3px;
    margin-bottom: 5px;
}

/* GLAVNI NASLOV (VODOINSTALATER SPLIT) */
.h1-main {
    /* Ovdje je ključ: font će biti ogroman na laptopu, a mali na mobitelu */
    font-size: clamp(2.8rem, 8vw, 6rem); 
    color: var(--accent-color);
    margin: 5px 0;
    
    /* Ovo sprječava da dugačka riječ izleti van ekrana na mobitelu */
    overflow-wrap: break-word; 
    word-wrap: break-word;
    hyphens: auto;
}

/* Dostupnost (0-24h) */
.h1-availability {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--white-color);
    letter-spacing: 1px;
}

/* Opis ispod naslova */
.hero-content .description {
    font-size: 1.2rem;
    max-width: 600px; /* Opis ne mora biti preširok da ostane čitljiv */
    margin-bottom: 40px;
    line-height: 1.6;
}

/* === PRILAGODBA ZA MOBITELE (Ispod 768px) === */
@media (max-width: 768px) {
    .hero-content {
        text-align: center; /* Na mobitelu centriramo tekst jer izgleda bolje */
        padding-right: 0;
        margin: 0 auto; /* Centriramo cijeli blok */
    }
    
    .h1-main {
        /* Na jako malim ekranima, ako riječ ne stane, prelomit će se */
        word-break: break-word; 
    }

    .hero-buttons {
        justify-content: center; /* Centriramo gumbe na mobitelu */
    }
}
/* === SAVRŠENI NASLOV (1 RED LAPTOP, 2 REDA MOBITEL) === */

/* Stil za kontejner naslova */
.hero-content h1.responsive-title {
    display: flex;
    flex-direction: row; /* Laptop: sve u jednom redu */
    justify-content: flex-start; /* Laptop: poravnato lijevo */
    align-items: center;
    gap: 15px; /* Razmak između riječi na laptopu */
    width: 100%;
    margin-bottom: 20px;
    line-height: 1;
}

/* Stil za riječi (spanove) */
.hero-content h1.responsive-title span {
    display: inline-block;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white-color); /* Početna boja bijela */
    white-space: nowrap; /* ZABRANJUJE lomljenje riječi */
    
    /* Veličina fonta za laptop */
    font-size: clamp(2rem, 5vw, 5rem); 
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Druga riječ (VODOINSTALATER) je narančasta */
.hero-content h1.responsive-title span:last-child {
    color: var(--accent-color);
}

/* === MOBILNA PRILAGODBA === */
@media (max-width: 992px) { /* Kad ekran postane uži (tableti i mobiteli) */
    
    .hero-content h1.responsive-title {
        flex-direction: column; /* Prebacuje u dva reda (jedan ispod drugog) */
        justify-content: center;
        align-items: center; /* Centrira sve */
        gap: 5px; /* Manji razmak između redova */
    }

    /* Ovo je KLJUČNO za mobitel: */
    .hero-content h1.responsive-title span {
        /* Font će biti točno 11% širine ekrana. 
           Tako "VODOINSTALATER" (14 slova) uvijek stane u jedan red bez lomljenja, 
           samo se smanjuje kako je ekran manji. */
        font-size: 11vw; 
        line-height: 1.1;
    }
}
.hero-buttons {
    display: flex;
    gap: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--white-color);
}

/* === GUMBI (BUTTONS) === */
.btn {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: #e69500;
    transform: translateY(-3px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.secondary-btn:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* === O NAMA SEKCIJA === */
.about-section { 
    background-color: var(--light-gray);
}

.about-container { display: flex; align-items: center; gap: 60px; }
.about-image-wrapper { flex: 1; }
.about-image { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.about-text-content { flex: 1; }
.about-text-content h2 { text-align: left; }
.about-text-content h2::after { margin: 15px 0 0; }
.about-text-content p { margin-bottom: 15px; }

/* === USLUGE SEKCIJA === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item { background: var(--white-color); padding: 40px; text-align: center; border-radius: var(--border-radius); box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-item:hover { transform: translateY(-10px); border-color: var(--accent-color); }
.service-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 20px; }
.service-item h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); }

/* === ZAŠTO MI SEKCIJA === */
.why-us-section {
    background: linear-gradient(rgba(215, 218, 221, 0.9), rgba(53, 56, 59, 0.9)), url('images/zastomipozadina.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: #333;
}
.why-us-section .section-title { color: #FFFFFF; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
.advantage-item { text-align: center; }
.advantage-item h3 { color: #FFFFFF; font-size: 1.5rem; margin-bottom: 10px; }
.advantage-item p { color: var(--text-color); }
.advantage-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 20px; }
.statistics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; padding-top: 60px; margin-top: 60px; border-top: 1px solid rgba(0,0,0,0.1); }
.statistic-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 15px; }
.statistic-number { font-size: 3.5rem; font-weight: 900; color: #f1f1f1; }
.statistic-text { font-size: 1.3rem; color: #000000; }


/* RESPONZIVNOST ZA RECENZIJE */
@media (max-width: 992px) {
    .reviews-widget-container {
        flex-direction: column;
    }
    .reviews-summary {
        margin-bottom: 40px;
        width: 100%;
    }
    .carousel-btn {
        display: none;
    }
}

@media (min-width: 769px) {
    .review-card-widget {
        flex-basis: calc(50% - 15px);
    }
}


/* === GALERIJA SEKCIJA === */
.gallery-section { background-color: var(--white-color); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--border-radius); box-shadow: var(--shadow); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); color: var(--white-color); font-size: 2rem; background-color: rgba(0, 90, 156, 0.7); width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; opacity: 0; transition: all 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* === LIGHTBOX STILOVI === */
.lightbox { display: none; position: fixed; z-index: 1001; padding-top: 60px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.9); }
.lightbox-content { margin: auto; display: block; max-width: 80%; max-height: 80%; }
.lightbox-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.lightbox-prev, .lightbox-next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; }
.lightbox-next { right: 0; border-radius: 3px 0 0 3px; }
.lightbox-prev:hover, .lightbox-next:hover { background-color: rgba(0, 0, 0, 0.8); }

/* === KONTAKT SEKCIJA === */
.contact-section { background-color: var(--light-gray); }
.contact-content-wrapper { display: flex; gap: 60px; align-items: stretch; }
.contact-form-side { flex: 2; }
.map-wrapper-full { flex: 1.5; overflow: hidden; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.map-wrapper-full iframe { width: 100%; height: 100%; display: block; border: 0; }
.contact-form-side form { display: flex; flex-direction: column; gap: 20px; }
.contact-form-side input, .contact-form-side textarea { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: var(--border-radius); font-family: var(--font-main); font-size: 1rem; transition: border-color 0.3s ease; }
.contact-form-side input:focus, .contact-form-side textarea:focus { outline: none; border-color: var(--secondary-color); }

/* === FOOTER === */
.main-footer {
    background-color: #1A2A4D;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px 0;
}
.footer-content { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-column .footer-title { font-size: 1.1rem; font-weight: 700; color: var(--white-color); margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.contact-visual-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-visual-item { display: flex; align-items: center; gap: 15px; }
.contact-visual-item .icon-circle { flex-shrink: 0; width: 45px; height: 45px; background-color: var(--secondary-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1rem; color: var(--white-color); transition: background-color 0.3s ease; }
.contact-visual-item a, .contact-visual-item span { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s ease; }
.contact-visual-item a:hover { color: var(--white-color); }
.footer-social .social-icons { display: flex; gap: 15px; }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white-color); border-radius: 50%; text-decoration: none; transition: all 0.3s ease; }
.social-icons a:hover { background-color: var(--accent-color); border-color: var(--accent-color); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9rem; }

/* === GUMB ZA POVRATAK NA VRH === */
.back-to-top-btn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--accent-color); color: var(--white-color); border-radius: 50%; text-align: center; font-size: 1.2rem; line-height: 50px; box-shadow: var(--shadow); z-index: 9999; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s ease; }
.back-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top-btn:hover { background-color: #e69500; }

/* === OBAVIJEST O KOLAČIĆIMA - MODAL === */
.cookie-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.cookie-modal-overlay.visible { opacity: 1; visibility: visible; }
.cookie-modal-content { background-color: var(--white-color); padding: 30px; border-radius: var(--border-radius); box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); max-width: 500px; width: 90%; text-align: center; transform: scale(0.9); transition: transform 0.4s ease; }
.cookie-modal-overlay.visible .cookie-modal-content { transform: scale(1); }
.cookie-modal-content h2 { color: var(--primary-color); margin-top: 0; margin-bottom: 15px; }
.cookie-modal-content p { margin-bottom: 25px; font-size: 0.9rem; line-height: 1.6; }
.cookie-modal-content a { color: var(--secondary-color); text-decoration: underline; }
.cookie-modal-buttons { display: flex; justify-content: center; gap: 15px; }
.cookie-btn { border: none; padding: 12px 25px; border-radius: var(--border-radius); cursor: pointer; font-weight: 700; transition: all 0.3s ease; }
.cookie-btn.primary { background-color: var(--accent-color); color: var(--white-color); }
.cookie-btn.primary:hover { background-color: #e69500; }
.cookie-btn.secondary { background-color: transparent; color: var(--text-color); border: 1px solid #ccc; }
.cookie-btn.secondary:hover { background-color: #f1f1f1; }

/* === RESPONZIVNI DIZAJN === */
@media (max-width: 992px) {
    .section-title { font-size: 2rem; }
    .about-container { flex-direction: column; }
    .advantages-grid, .statistics-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-content-wrapper { flex-direction: column; }
    .carousel-btn { display: none; }
    .review-card { flex: 0 0 90%; }
}

@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white-color); box-shadow: var(--shadow); }
    .main-nav.active { display: block; }
    .nav-links { flex-direction: column; align-items: center; padding: 20px 0; gap: 20px; }
    .mobile-nav-toggle { display: block; }
    section { padding: 60px 0; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
}
/* === STILOVI ZA "PROČITAJ VIŠE" === */
.more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
}

.more-text.visible {
    max-height: 1000px; /* Dovoljno velika visina da stane sav tekst */
}

.btn-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}
/* === CTA BLOKOVI === */
.cta-blocks-section {
    background-color: var(--light-gray);
    padding: 100px 0;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.cta-block {
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--white-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cta-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1;
}
.cta-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white-color);
}
.cta-block p {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--white-color);
    margin-bottom: 20px;
}
.cta-link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}
.cta-block:hover .cta-link {
    background-color: rgba(255, 255, 255, 0.3);
}

.cta-block-primary {
    background-color: var(--accent-color); /* Narančasta */
}
.cta-block-secondary {
    background-color: var(--primary-color); /* Plava */
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}


/* === INFO TRAKA === */
.info-strip {
    background-color: var(--accent-color); /* Vaša narančasta boja */
    color: var(--white-color);
    padding: 25px 0; /* Tanji padding za manju visinu */
}

.info-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolone */
    gap: 20px;
}

.info-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3); /* Linija između */
}

.info-strip-item:last-child {
    border-right: none; /* Uklanja liniju s zadnjeg elementa */
}

.info-strip-item i {
    font-size: 2rem;
    margin-right: 15px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.info-text span {
    font-size: 0.9rem;
}
/* Dodatak za boju posjećenih linkova u info traci */
.info-strip a.info-strip-item,
.info-strip a.info-strip-item:visited {
    color: var(--white-color);
    text-decoration: none;
}

/* Responzivnost za info traku */
@media (max-width: 992px) {
    .info-strip .container {
        grid-template-columns: repeat(2, 1fr); /* 2 kolone na tabletima */
        gap: 25px 20px;
    }
    .info-strip-item {
        justify-content: flex-start; /* Poravnanje ulijevo na manjim ekranima */
    }
    .info-strip-item:nth-child(2) {
        border-right: none;
    }
    .info-strip-item:nth-child(1), .info-strip-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .info-strip .container {
        grid-template-columns: 1fr; /* 1 kolona na mobitelima */
    }
    .info-strip-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 15px;
    }
    .info-strip-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
/* === MODERNIZIRANI BLOG === */
.blog-hero-section {
    background: color #ccc;
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}
.blog-hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}
.blog-hero-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.blog-listing-section {
    padding: 100px 0;
}

/* Stil za istaknuti članak */
.featured-post {
    display: flex;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 60px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.featured-post-image {
    flex: 0 0 50%;
}
.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-post-content {
    flex: 1;
    padding: 40px;
}
.post-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}
.featured-post-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.btn-read-more-alt {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--primary-color);
}
.btn-read-more-alt i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}
.featured-post:hover .btn-read-more-alt i {
    transform: translateX(5px);
}

/* Stil za modernu mrežu članaka */
.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.blog-card-modern {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    height: 400px;
}
.blog-card-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card-modern:hover img {
    transform: scale(1.05);
}
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    color: var(--white-color);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}
.card-content h3 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

/* Animacije pri skrolanju */
.anim-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Stilovi za pojedinačni članak (malo prilagođeni) */
.blog-post-section { padding: 120px 0; background-color: var(--white-color); }
.blog-post-container { max-width: 800px; margin: 0 auto; }
.blog-post-image { width: 100%; border-radius: var(--border-radius); margin-bottom: 30px; }
.blog-post-container h1 { font-size: 2.8rem; color: var(--primary-color); margin-bottom: 20px; }
.blog-post-container h2 { font-size: 1.8rem; color: var(--primary-color); margin-top: 40px; margin-bottom: 15px; }
.blog-post-container p { margin-bottom: 20px; line-height: 1.8; color: #555; }
.blog-post-container strong { color: var(--text-color); }

/* Responzivnost za blog */
@media (max-width: 768px) {
    .featured-post {
        flex-direction: column;
    }
    .featured-post-image {
        flex-basis: 250px;
    }
}
/* === SEKCIJA RECENZIJA (WIDGET VERZIJA - KONAČNI ISPRAVAK) === */
.reviews-section-widget {
    background-color: var(--white-color);
}

.reviews-widget-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.reviews-summary {
    flex-shrink: 0;
    text-align: center;
    width: 200px;
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.summary-stars {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 5px;
}
.summary-stars span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-left: 10px;
    vertical-align: middle;
}

.summary-based-on {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.summary-google-logo {
    width: 80px;
    height: auto;
}

.reviews-carousel {
    flex-grow: 1;
    min-width: 0; 
}

.carousel-wrapper { 
    position: relative; 
}

.carousel-track { 
    display: flex; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px; 
    padding: 20px 0; /* Dodan padding i s gornje strane radi sjene */
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
.carousel-track::-webkit-scrollbar { 
    display: none; 
}

.carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background-color: var(--white-color); 
    border: 1px solid #eee;
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    box-shadow: var(--shadow); 
    cursor: pointer; 
    transition: all 0.3s ease; 
    z-index: 10;
}
.carousel-btn:hover { 
    background-color: var(--primary-color); 
    color: var(--white-color); 
}
.prev-btn { left: -25px; }
.next-btn { right: -25px; }

.review-card-widget {
    /* Osnovni stil za sve veličine ekrana */
    flex: 0 0 90%; /* Prikazuje se jedna kartica i dio druge */
    scroll-snap-align: start;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid #eee;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-main-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}
.reviewer-name { font-weight: 700; }
.review-date {
    font-size: 0.8rem;
    color: #888;
}

.review-rating {
    margin-bottom: 10px;
    color: #FFD700;
}
.verified-check {
    color: #007BFF;
    font-size: 1rem;
    margin-left: 5px;
}
.review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* RESPONZIVNOST ZA RECENZIJE */
@media (max-width: 992px) {
    .reviews-widget-container {
        flex-direction: column;
    }
    .reviews-summary {
        margin-bottom: 40px;
        width: 100%;
    }
    .carousel-btn {
        display: none;
    }
}

@media (min-width: 769px) {
    .review-card-widget {
        flex-basis: calc(50% - 15px); /* 2 kartice na tabletima */
    }
}

@media (min-width: 1201px) {
    .review-card-widget {
        flex-basis: calc(33.333% - 20px); /* 3 kartice na desktopu */
    }
}
/* === KONAČNI ISPRAVAK ZA RECENZIJE === */

/* Osiguravamo da se karusel ispravno prikazuje */
.reviews-carousel {
    width: 100%;
    flex-grow: 1;
    min-width: 0;
}

.carousel-track { 
    display: flex; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px; 
    padding: 20px 5px; /* Dodan padding radi sjene */
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
.carousel-track::-webkit-scrollbar { 
    display: none; 
}

/* Stil kartice recenzije */
.review-card-widget {
    flex: 0 0 90%; /* Na manjim ekranima zauzima 90% širine */
    scroll-snap-align: center; /* Centrira karticu prilikom skrolanja */
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

/* Prilagodbe za veće ekrane */
@media (min-width: 769px) {
    .review-card-widget {
        flex-basis: calc(50% - 15px); /* 2 kartice na tabletima */
    }
}
@media (min-width: 1201px) {
    .review-card-widget {
        flex-basis: calc(33.333% - 20px); /* 3 kartice na desktopu */
    }
}

/* Glavni popravak za mobilne uređaje */
@media (max-width: 992px) {
    .reviews-widget-container {
        flex-direction: column;
    }
    .reviews-summary {
        width: 100%;
        margin-bottom: 40px;
    }
    .carousel-btn {
        display: none;
    }
}
/* === KONAČNI POPRAVAK ZA GUMB "POVRATAK NA VRH" === */
/* Ovaj kod koristi !important kako bi bio jači od svih ostalih pravila. */

#back-to-top-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background-color: var(--accent-color) !important;
    color: var(--white-color) !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 1.2rem !important;
    line-height: 50px !important;
    box-shadow: var(--shadow) !important;
    z-index: 2147483647 !important; /* Maksimalna moguća vrijednost */
    
    /* Stilovi za animaciju vidljivosti */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-decoration: none;
    border: none;
}

#back-to-top-btn.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

#back-to-top-btn:hover {
    background-color: #e69500 !important;
}
/* === FAQ SEKCIJA === */
.faq-section {
    background-color: var(--white-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease;
}

.faq-answer p {
    padding: 0 10px 20px 10px;
    margin: 0;
    line-height: 1.8;
}

/* Stilovi kada je pitanje aktivno/otvoreno */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Dovoljno visine za odgovor */

}
/* === KONAČNI POPRAVAK ZA KONTAKT FORMU === */
/* Ovaj kod koristi !important pravila kako bi bio jači od svih ostalih. */

.contact-form-side form {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.contact-form-side select {
    width: 100% !important;
    padding: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: var(--border-radius) !important;
    font-family: var(--font-main) !important;
    font-size: 1rem !important;
    color: #555 !important;
    background-color: var(--white-color) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 1em !important;
}
/* === KONAČNI POPRAVAK ZA RAZMAK U FORMI === */
.form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}
/* === LOKACIJSKA TRAKA (STIL KAO KONTAKT TRAKA) === */
.locations-strip {
    background-color: var(--accent-color); /* Plava boja */
    color: var(--white-color);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.locations-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolone */
    gap: 20px;
}

.loc-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3); /* Linija između */
}

.loc-strip-item:last-child {
    border-right: none; /* Nema linije na zadnjem */
}

.loc-strip-item i {
    font-size: 2.2rem;
    margin-right: 15px;
    color: #e0e0e0 /* Narančasta ikona za kontrast */
}

.loc-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.loc-text strong {
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.loc-text span {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responzivnost (isto kao gornja traka) */
@media (max-width: 992px) {
    .locations-strip .container {
        grid-template-columns: repeat(2, 1fr); /* 2 reda po 2 na tabletu */
        gap: 30px 20px;
    }
    .loc-strip-item {
        justify-content: flex-start;
    }
    .loc-strip-item:nth-child(2) {
        border-right: none;
    }
    .loc-strip-item:nth-child(1), .loc-strip-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .locations-strip .container {
        grid-template-columns: 1fr; /* 1 po 1 na mobitelu */
        gap: 0;
    }
    .loc-strip-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 20px 0;
    }
    .loc-strip-item:last-child {
        border-bottom: none;
    }
}
/* === STIL ZA NAPOMENU O LOKACIJAMA === */
.locations-footer-note {
    text-align: center;
    margin-top: 30px;     /* Razmak od kvadrata */
    margin-bottom: 0;
    font-size: 0.9rem;    /* Sitnija slova */
    color: rgba(0, 59, 121, 0.9); /* Bijela boja */
    width: 100%;          /* Osigurava da je ispod svega */
    grid-column: 1 / -1;  /* Ako je unutar grida, ovo ga rasteže preko cijele širine */
}

.locations-footer-note a {
    color: #003877;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.locations-footer-note a:hover {
    opacity: 0.8;
    text-decoration: none;
}
/* === "ZAŠTO MI" - BOXY DIZAJN (OŠTRI RUBOVI) === */
.why-us-boxy-section {
    background: linear-gradient(rgba(29, 30, 30, 0.9), rgba(24, 28, 32, 0.95)), url('images/zastomi2.png') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.why-us-header {
    margin-bottom: 50px;
    font-size: 1.5rem;
}

/* Mreža za 3 kvadrata */
.boxy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Razmak između kvadrata */
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Iznad statistike */
    margin-bottom: -10px; /* Negativna margina da "sjednu" na traku ispod */
}

.boxy-card {
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 40px 20px;
    /* NEMA border-radius za oštre rubove */
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Efekt lebdenja */
.boxy-card:hover {
    transform: translateY(-10px);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Srednji kvadrat malo istaknut (opcionalno) */
.featured-boxy {
    border-top: 5px solid var(--accent-color);
}

.boxy-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.boxy-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.boxy-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Veliki pravokutnik sa statistikom */
.stats-rectangle {
    background-color: var(--accent-color); /* Plava traka */
    color: var(--white-color);
    max-width: 1100px; /* Malo šira od kvadrata da ih obuhvati */
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-box-simple {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
    width: 33%;
}

.stat-box-simple:last-child {
    border-right: none;
}

.stat-num-simple {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
}
.stat-num-simple::after { content: '+'; }

.stat-label-simple {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 5px;
    display: block;
}

/* Responzivnost */
@media (max-width: 992px) {
    .boxy-grid {
        grid-template-columns: 1fr; /* Jedna kolona na mobitelu */
        max-width: 400px;
        margin-bottom: 0;
    }
    .stats-rectangle {
        flex-direction: column;
        gap: 30px;
        margin-top: 0;
        width: 100%;
    }
    .stat-box-simple {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 20px;
        width: 100%;
    }
    .stat-box-simple:last-child { border-bottom: none; }
}
/* === GLOBALNE FLUIDNE ANIMACIJE === */

/* Početno stanje: element je malo spušten i nevidljiv */
.reveal-element {
    opacity: 0;
    transform: translateY(50px); /* Pomiče element 50px dolje */
    transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1); /* Vrlo glatka tranzicija */
    will-change: opacity, transform; /* Optimizacija za preglednike */
}

/* Završno stanje: element je na mjestu i vidljiv */
.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mala odgoda za elemente koji su u grupi (npr. kartice usluga) da ne iskoče svi odjednom */
.services-grid .reveal-element:nth-child(1) { transition-delay: 0.1s; }
.services-grid .reveal-element:nth-child(2) { transition-delay: 0.2s; }
.services-grid .reveal-element:nth-child(3) { transition-delay: 0.3s; }
.services-grid .reveal-element:nth-child(4) { transition-delay: 0.4s; }
.services-grid .reveal-element:nth-child(5) { transition-delay: 0.5s; }
.services-grid .reveal-element:nth-child(6) { transition-delay: 0.6s; }

/* Isto za galeriju */
.gallery-grid .reveal-element:nth-child(odd) { transition-delay: 0.1s; }
.gallery-grid .reveal-element:nth-child(even) { transition-delay: 0.3s; }

/* === MODERNA SEKCIJA USLUGA === */
.services-section-modern {
    background-color: #f9f9f9; /* Blago siva za kontrast od bijelih kartica */
    padding: 100px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    margin-top: 10px;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Dizajn Kartice */
.service-card-modern {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: left;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy efekt */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
}

/* Hover Efekt - Podizanje */
.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(255, 165, 0, 0.2);
}

/* Animirana crta na dnu */
.service-card-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.service-card-modern:hover::after {
    width: 100%;
}

/* Ikonica */
.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 90, 156, 0.08); /* Jako svijetlo plava */
    color: var(--primary-color);
    border-radius: 20px; /* Squircle oblik */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card-modern:hover .icon-box {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotate(10deg); /* Lagana rotacija */
}

.service-card-modern h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card-modern p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Gura link na dno */
}

/* Link "Saznajte više" */
.read-more-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-card-modern:hover .read-more-link {
    gap: 10px; /* Strelica bježi desno */
}

/* Animacije ulaska (već definirane u JS, ovdje samo stilovi) */
.anim-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-section-modern.visible .anim-up {
    opacity: 1;
    transform: translateY(0);
}

/* Odgode za domino efekt */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Responzivnost */
@media (max-width: 768px) {
    .services-grid-modern {
        grid-template-columns: 1fr;
    }
}
/* === PADAJUĆI IZBORNIK (DROPDOWN) === */
.nav-links li {
    position: relative; /* Potrebno za pozicioniranje padajućeg izbornika */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    min-width: 250px;
    z-index: 1000;
    flex-direction: column;
}

.nav-links li:hover .dropdown-menu {
    display: flex; /* Prikazuje se na hover */
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
    color: var(--accent-color);
    background-color: #f9f9f9;
    padding-left: 25px; /* Mali efekt pomicanja */
}

/* Mobilni prikaz dropdowna */
@media (max-width: 768px) {
    .nav-links li:hover .dropdown-menu {
        display: none; /* Na mobitelu ne radi hover isto */
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        padding-left: 20px;
        display: none; /* Sakriveno dok se ne klikne (potreban JS ili CSS hack, ali za sad nek bude ovako) */
    }
    /* Jednostavno rješenje za mobitel: prikaži sve odmah ili koristi JS za toggle */
    .nav-links li.active-dropdown .dropdown-menu {
        display: flex;
    }
}

/* === STILOVI ZA STRANICU USLUGE === */
.service-page-hero {
    background: linear-gradient(rgba(0, 50, 90, 0.9), rgba(0, 90, 156, 0.8)), url('images/hero.png') no-repeat center center/cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.service-page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-details-section {
    padding: 80px 0;
}

.service-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.service-highlights {
    margin: 30px 0;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.highlight-list li i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.service-image-col img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.back-home-btn-wrapper {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

@media (max-width: 992px) {
    .service-content-wrapper {
        grid-template-columns: 1fr;
    }
    .service-page-hero h1 {
        font-size: 2.5rem;
    }
}
/* === POPRAVAK ZA PADAJUĆI IZBORNIK === */
.nav-links li {
    list-style: none !important; /* Miče točkice s glavnih linkova */
}

.dropdown-menu {
    list-style: none !important; /* KLJUČNO: Miče točkice s padajućeg izbornika */
    padding-left: 0 !important;  /* Miče uvlačenje */
    margin: 0 !important;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    min-width: 260px; /* Malo šire da stane tekst */
    z-index: 1000;
    flex-direction: column;
    border-top: 3px solid var(--accent-color); /* Dodana narančasta crta na vrhu za stil */
}

.nav-links li:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    list-style: none !important; /* Dupla sigurnost za micanje točkica */
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    text-transform: capitalize; /* Prvo slovo veliko */
}

.dropdown-menu a:hover {
    color: var(--accent-color);
    background-color: #f9f9f9;
    padding-left: 25px; /* Efekt pomicanja na hover */
}

/* Mobilna prilagodba za dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: #f5f5f5;
        width: 100%;
    }
    .dropdown-menu a {
        padding-left: 30px; /* Uvučeno na mobitelu */
    }
}