
  /* ==========================================================
       OSNOVNI RESET
    ========================================================== */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* ==========================================================
       CONTAINER
    ========================================================== */
    .container, .container-fluid {
      width: 100%;
      padding-right: 1rem;
      padding-left:  1rem;
      margin-right: auto;
      margin-left: auto;
    }

    /* Ograničavanje širine containera na različitim ekranima */
    @media (min-width: 576px) { .container { max-width: 540px; } }
    @media (min-width: 768px) { .container { max-width: 720px; } }
    @media (min-width: 992px) { .container { max-width: 960px; } }
    @media (min-width: 1200px) { .container { max-width: 1140px; } }

    /* ==========================================================
       ROW (RED)
    ========================================================== */
    .row {
      display: flex;
      flex-wrap: wrap;
      margin-right:  -1rem;
      margin-left:  -1rem;
    }

    /* ==========================================================
       Zajednička svojstva za SVE kolumne
    ========================================================== */
    [class*="col-"], .col {
      position: relative;
      width: 100%;
      padding-right: 1rem;
      padding-left: 1rem;
    }


    /* Automatska kolumna (jednako dijeli preostali prostor) */
    .col { flex-basis: 0; flex-grow: 1; max-width: 100%; }

    /* ==========================================================
       GRID ZA MOBITELE (XS - Ekstra malo, 0px i više)
       Koristimo samo .col-1, .col-2... (bez xs u imenu, standard)
    ========================================================== */
    .col-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
    .col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-3  { flex: 0 0 25%;        max-width: 25%; }
    .col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-6  { flex: 0 0 50%;        max-width: 50%; }
    .col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-9  { flex: 0 0 75%;        max-width: 75%; }
    .col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-12 { flex: 0 0 100%;       max-width: 100%; }

    /* ==========================================================
       GRID ZA MALE EKRANE (SM - >= 576px)
    ========================================================== */
    @media (min-width: 576px) {
      .col-sm-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
      .col-sm-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
      .col-sm-3  { flex: 0 0 25%;        max-width: 25%; }
      .col-sm-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
      .col-sm-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
      .col-sm-6  { flex: 0 0 50%;        max-width: 50%; }
      .col-sm-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
      .col-sm-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
      .col-sm-9  { flex: 0 0 75%;        max-width: 75%; }
      .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
      .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
      .col-sm-12 { flex: 0 0 100%;       max-width: 100%; }
    }

    /* ==========================================================
       GRID ZA TABLETE (MD - >= 768px)
    ========================================================== */
    @media (min-width: 768px) {
      .col-md-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
      .col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
      .col-md-3  { flex: 0 0 25%;        max-width: 25%; }
      .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
      .col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
      .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
      .col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
      .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
      .col-md-9  { flex: 0 0 75%;        max-width: 75%; }
      .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
      .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
      .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
    }

    /* ==========================================================
       GRID ZA DESKTOP (LG - >= 992px)
    ========================================================== */
    @media (min-width: 992px) {
      .col-lg-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
      .col-lg-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
      .col-lg-3  { flex: 0 0 25%;        max-width: 25%; }
      .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
      .col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
      .col-lg-6  { flex: 0 0 50%;        max-width: 50%; }
      .col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
      .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
      .col-lg-9  { flex: 0 0 75%;        max-width: 75%; }
      .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
      .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
      .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
    }

    /* ==========================================================
       GRID ZA VELIKE EKRANE (XL - >= 1200px)
    ========================================================== */
    @media (min-width: 1200px) {
      .col-xl-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
      .col-xl-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
      .col-xl-3  { flex: 0 0 25%;        max-width: 25%; }
      .col-xl-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
      .col-xl-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
      .col-xl-6  { flex: 0 0 50%;        max-width: 50%; }
      .col-xl-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
      .col-xl-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
      .col-xl-9  { flex: 0 0 75%;        max-width: 75%; }
      .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
      .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
      .col-xl-12 { flex: 0 0 100%;       max-width: 100%; }
    }


/* FOTOGRAFIJE */

.img-fluid {
  width: 100%;
  height: auto;
}


/* =========================================
   ZAMJENA REDOSLIJEDA (Reorder)
   ========================================= */

/* Osiguravamo da row koristi Flexbox (nužno za funkcioniranje ordera) */
.row.change-order {
    display: flex;
    flex-wrap: wrap;
}

/* Na ekranima širim od 992px (Desktop) primjenjujemo zamjenu redoslijeda */
@media (min-width: 992px) {
    .order-lg-1 {
        order: 1;
    }
    .order-lg-2 {
        order: 2;
    }
}

/* =========================================
   VERTIKALNO PORAVNANJE TEKSTA I SLIKE
   ========================================= */

/* Ovo će aktivirati tvoju 'vertical-align' klasu iz HTML-a */
.vertical-align {
    display: flex;
    align-items: center; /* Centrira sadržaj po vertikali */
}

/* Osiguravamo da unutarnji div uzme punu širinu kako ne bi narušio grid */
.vertical-align .inner {
    width: 100%;
}

 /* =========================================
           COOKIE BANNER (Iskačuća traka na dnu)
           ========================================= */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: var(--clr-white);
            box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
            z-index: 9998;
            padding: 1.5rem;
            box-sizing: border-box;
            transform: translateY(100%); /* Sakriveno po defaultu */
            transition: transform 0.4s ease-in-out;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .cookie-banner.show {
            transform: translateY(0);
        }

        .cookie-content h4 {
            margin: 0 0 0.5rem 0;
            color: var(--clr-primary);
            font-size: 1.25rem;
        }

        .cookie-content p {
            margin: 0;
            color: var(--clr-gray);
            font-size: 0.95rem;
            line-height: 1.5;
            max-width: 900px;
        }

        .cookie-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        /* Gumbovi */
        .btn-cookie {
            padding: 10px 24px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
        }

        .btn-accept {
            background-color: var(--clr-primary);
            color: var(--clr-white);
        }

        .btn-accept:hover {
            background-color: #0084c2;
            box-shadow: var(--shadow-md);
        }

        .btn-settings {
            background-color: transparent;
            color: var(--clr-text);
            border: 1px solid #D1D5DB;
        }

        .btn-settings:hover {
            background-color: var(--clr-jumbo-bg);
            border-color: var(--clr-gray);
        }

        @media (min-width: 768px) {
            .cookie-banner {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                padding: 1.5rem 3rem;
            }
        }

        /* =========================================
           COOKIE MODAL (Postavke kolačića)
           ========================================= */
        .cookie-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(31, 41, 55, 0.6);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .cookie-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .cookie-modal {
            background-color: var(--clr-white);
            width: 90%;
            max-width: 600px;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            padding: 2rem;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
        }

        .cookie-modal-overlay.show .cookie-modal {
            transform: scale(1);
        }

        .cookie-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #E5E7EB;
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }

        .cookie-modal-header h3 {
            margin: 0;
            color: var(--clr-primary);
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--clr-gray);
        }

        .cookie-category {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #F3F4F6;
        }

        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .category-header h4 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--clr-text);
        }

        .category-desc {
            margin: 0;
            font-size: 0.875rem;
            color: var(--clr-gray);
            line-height: 1.5;
        }

        .always-active {
            color: var(--clr-primary);
            font-size: 0.85rem;
            font-weight: 600;
        }

        /* Modern Toggle Switch */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--clr-secondary);
        }

        input:checked + .slider:before {
            transform: translateX(20px);
        }

        .modal-footer {
            margin-top: 2rem;
            display: flex;
            justify-content: flex-end;
        }



/* MENU */
/* Navigacijska traka */
.navbar {
    background-color: var(--clr-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    margin: 0 auto;   
    padding: 0 20px;  
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

@media (min-width: 576px) { .nav-container { max-width: 540px; } }
@media (min-width: 768px) { .nav-container { max-width: 720px; } }
@media (min-width: 992px) { .nav-container { max-width: 960px; } }
@media (min-width: 1200px) { .nav-container { max-width: 1140px; } }

.logo img {
    max-height: 3rem;
}

.burger-btn {
    display: none !important; 
    flex-direction: column;
    justify-content: space-between;
    width: 35px !important;
    height: 24px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    padding: 0 !important;
    margin: 0 !important;
}

.burger-btn span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: var(--clr-primary) !important;
    border-radius: 3px !important;
    transition: all 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
}

/* Osnovni stilovi za linkove */
.nav-menu, .dropdown-menu {
    list-style: none;
    margin-bottom: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--clr-text);
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--clr-primary);
}

.dropdown-item {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Ikona za dropdown */
.dropdown-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230095DA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

/* =========================================
   ODABIR JEZIKA
   ========================================= */
.lang-item {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.lang-separator {
    color: var(--clr-gray);
    font-weight: 300;
    user-select: none; 
}

@media (max-width: 991px) {
    .lang-separator {
        display: none; 
    }
    
    .lang-item {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #E5E7EB; 
    }
}

/* Gumb za ponudu */
.btn-cta {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-cta:hover {
    opacity: 0.9;
    color: var(--clr-white);
}

/* Poništavanje globalnih bulleta za liste unutar navigacije */
.nav-menu li::before,
.dropdown-menu li::before {
    content: none !important; 
    display: none !important;
}

.nav-menu li,
.dropdown-menu li {
    padding-left: 0;
} 

/* =========================================
   DESKTOP STILOVI (min-width: 1200px)
   ========================================= */
@media (min-width: 1200px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* Dropdown logika - Hover */
    .dropdown-menu {
        display: block !important; /* Na desktopu mora biti u DOM-u, skrivamo ga opacity-em */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--clr-white);
        min-width: 200px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        padding: 10px 0;
        margin-top: 10px;
    }

    /* Nevidljivi most da se ne izgubi hover */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
    }

    .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item.has-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-item {
        display: block;
        padding: 10px 20px;
        color: var(--clr-gray);
        text-decoration: none;
        transition: all 0.2s;
    }

    .dropdown-item:hover {
        color: var(--clr-primary);
    }

    .overlay {
        display: none;
    }
}

/* =========================================
   MOBILNI STILOVI (max-width: 1199px)
   ========================================= */
@media (max-width: 1199px) {
    /* Prikazivanje Burger Gumba */
    .burger-btn {
        display: flex !important; 
    }

    /* Burger animacija u 'X' */
    .burger-btn.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg) !important;
    }
    .burger-btn.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .burger-btn.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg) !important;
    }

    /* Mobilni izbornik (Slide iz desnog u lijevo) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 250px;
        height: 100vh;
        background-color: var(--clr-white);
        flex-direction: column;
        padding: 4rem 2rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 900;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        display: block !important; 
        width: 100% !important;
    }

    .nav-link {
        font-size: 1rem;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: .6rem 0;
        box-sizing: border-box;
    }

    .btn-cta {
        display: inline-block;
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }

    /* Mobilni Dropdown - Akordion stil */
    .dropdown-menu {
        display: none !important; /* Početno skriveno */
        position: static !important; /* Gura elemente prema dolje, ne lebdi! */
        width: 100% !important;
        flex-direction: column;
        padding-left: 1rem; 
        box-sizing: border-box;
        opacity: 1 !important; /* Poništavamo desktop skrivenost */
        visibility: visible !important; /* Poništavamo desktop skrivenost */
        transform: none !important; /* Poništavamo desktop hover animaciju */
        box-shadow: none !important; /* Mičemo sjenu na mobitelu */
        background-color: transparent !important;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        display: flex !important; /* Prikazuje se tek na klik (JS dodaje .active) */
        margin-bottom: 2rem;
    }

    .nav-item.has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-item {
        padding: .6rem 0;
        color: var(--clr-gray);
        text-decoration: none;
        font-size: 1rem;
    }

    .dropdown-toggle {
        padding: .6rem 0;
    }

    /* Zatamnjena pozadina (Overlay) */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(31, 41, 55, 0.5); 
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 800;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}