﻿:root {
    --bs-body-font-family: aileron, sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    /*background-color: #02060b;*/
    color: #ffffff;
    margin: 0;
    width: 100%;
    background: hsla(210, 15%, 26%, 1);
    background: linear-gradient(90deg, hsla(210, 15%, 26%, 1) 0%, hsla(210, 15%, 26%, 1) 0%, hsla(212, 61%, 6%, 1) 38%, hsla(0, 0%, 0%, 1) 50%, hsla(212, 61%, 6%, 1) 62%, hsla(210, 15%, 26%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(210, 15%, 26%, 1) 0%, hsla(210, 15%, 26%, 1) 0%, hsla(212, 61%, 6%, 1) 38%, hsla(0, 0%, 0%, 1) 50%, hsla(212, 61%, 6%, 1) 62%, hsla(210, 15%, 26%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(210, 15%, 26%, 1) 0%, hsla(210, 15%, 26%, 1) 0%, hsla(212, 61%, 6%, 1) 38%, hsla(0, 0%, 0%, 1) 50%, hsla(212, 61%, 6%, 1) 62%, hsla(210, 15%, 26%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#39434D", endColorstr="#39434D", GradientType=1 );
    overflow-x: hidden;
}

/* Uklanjanje container paddinga koje Bootstrap dodaje */
.container.body-content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

main,
main > section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER WRAP ===== */

.sk-header {
    width: 100%;
    position: fixed; /* fixed-top efekat */
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    z-index: 1030;
}

/* HEADER ide od leve do desne ivice
   NEMA gap-a – razmak se dobija sa justify-content: space-between */
.sk-header-inner {
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
    background: transparent !important;
}

/* Oba bloka iste visine */
.sk-callcenter,
.sk-nav-wrapper {
    display: flex;
    align-items: center;
    min-height: 80px;
}

.sk-callcenter a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.sk-callcenter a:hover {
    text-decoration: underline;
}

/* ===== LEVI NAV – CALL CENTAR ===== */

.sk-callcenter {
    /* dužina levog bloka – donekle dinamična */
    padding-inline: clamp(40px, 4vw, 80px);
    background: linear-gradient( to bottom, #02060b 0%, #181e24 45%, #2e353c 100% );
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom-right-radius: 24px;
}

/* ===== DESNI NAV WRAPPER ===== */

.sk-nav-wrapper {
    /* širina = UL + padding; NE raste na ceo ekran */
    flex: 0 0 auto;
    justify-content: flex-end;
    background: linear-gradient( to bottom, #02060b 0%, #2a130b 45%, #5b1d0b 100% );
    border-bottom-left-radius: 24px;
    /* padding levo/desno ukupno */
    padding-inline: clamp(40px, 4vw, 80px);
    min-width: 0; /* da ne gura u overflow */
}

/* Toggle – kockast, sa blagim zaobljenjem, u gornjem desnom uglu */
.sk-nav-wrapper .navbar-toggler {
    position: absolute;
    top: -65px; /* koliko da “siđe” od vrha headera */
    right: clamp(16px, 4vw, 32px); /* margina od desne ivice – nije zalepljen */
    z-index: 50; /* iznad navova */

    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.6);
    background-color: transparent;
}

    /* Ikonica unutra */
    .sk-nav-wrapper .navbar-toggler-icon {
        width: 1.1em;
        height: 1.1em;
    }

    /* Hover efekat */
    .sk-nav-wrapper .navbar-toggler:hover {
        background-color: rgba(255,255,255,0.15);
    }

    /* Bez debele linije pri fokusu */
    .sk-nav-wrapper .navbar-toggler:focus,
    .sk-nav-wrapper .navbar-toggler:focus-visible,
    .sk-nav-wrapper .navbar-toggler:active {
        outline: none;
        box-shadow: none;
        border-width: 1px;
    }

/* ===== Unutrašnji navbar / linkovi ===== */

.sk-navbar {
    width: auto; /* bitno: NE 100%, već koliko treba UL-u */
}

/* Linkovi uvek u JEDNOM redu – bez wrapa, desno ravnato */
.sk-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap; /* zabranjen wrap */
    white-space: nowrap; /* tekst linkova u jednom redu */
    gap: 24px; /* razmak između linkova */
}

.sk-nav-item {
    display: inline-block;
}

.sk-nav-link {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: #ff6a2a;
}

.sk-nav-item.active .sk-nav-link {
    color: #ffffff;
}

.sk-nav-link:hover {
    color: #ffffff;
}

/* Sadržaj ispod headera */
.body-content {
    margin-top: 40px;
}

/* ===== RESPONSIVE ===== */

/* XL breakpoint (~1200) – ovde Bootstrap prebacuje navbar u toggle mode */
@media (max-width: 1199.98px) {

    .body-content {
        margin-top: 0;
    }

    /* Header više nema crnu pozadinu – postaje providan */
    .sk-header {
        background-color: transparent;
    }

    .sk-header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .sk-callcenter {
        width: 100%;
        border-bottom-right-radius: 0;
    }

    /* Desni wrapper više nema pozadinu, samo drži toggle i collapse */
    .sk-nav-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-left: 20px;
        padding-right: 20px;
        border-bottom-left-radius: 0;
        background: none !important;
        background-color: transparent !important;
        padding-top: 0; /* da ispod toggla ima mesta za meni */
    }

    /* CELA pozadina ide na collapse blok – on se animira */
    .sk-navbar {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 10px;
        padding-right: 30px;
        background: linear-gradient( to bottom, #02060b 0%, #2a130b 45%, #5b1d0b 100% );
        border-radius: 0 0 15px 15px; /* po želji – ili sve 0 ako hoćeš potpuno ravan */
        overflow: hidden; /* da wipe izgleda čisto */
    }

    /* Toggle ostaje gore desno, ne beži */
    .sk-nav-wrapper .navbar-toggler {
        align-self: flex-end;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* Vertikalni meni ispod toggla, poravnat udesno */
    .sk-nav-list {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        white-space: normal;
    }

    /* Otvoren meni (show) – ciljna vrednost */
    .sk-navbar.collapse.show {
        display: block;
        overflow: hidden;
        clip-path: inset(0 0 0 0); /* sve vidljivo */
        opacity: 1;
        transform-origin: top;
        transition: clip-path 0.35s ease-out, opacity 0.35s ease-out;
    }

    /* Faza tranzicije (Bootstrap koristi .collapsing) */
    .sk-navbar.collapsing {
        display: block;
        overflow: hidden;
        /* isečeno 100% odozdo – ništa se ne vidi na startu */
        clip-path: inset(0 0 100% 0);
        opacity: 0;
        transform-origin: top;
        transition: clip-path 0.35s ease-in, opacity 0.25s ease-in;
    }
}


/* Vrlo mali telefoni */
@media (max-width: 576px) {
    .sk-callcenter {
        padding-inline: 20px;
        font-size: 11px;
    }

    .sk-nav-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }
}



/* ------------------------------------------ */
/*                  HOME                      */
/* ------------------------------------------ */

/* PORAVNANJE CELOG BLOKA OD LEVE DO DESNE IVICE */

.home-main {
    background-color: transparent !important; /* ili šta već koristiš */
    /* dva ista background-a */
    background-image: url("../Images/bck-repeat.png"),url("../Images/bck-repeat.png");
    /* svaki se ne ponavlja – samo jednom se iscrta */
    background-repeat: no-repeat, no-repeat;
    /* horizontalno centar, vertikalno na 50% i 75% visine body-ja */
    background-position: center 15%, center 80%;
    /* da zauzmu celu širinu ekrana, visina proporcionalna */
    background-size: 100% auto, 100% auto;
}

#home,
.home-img-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* FULLSCREEN HERO (ispod fixed headera) */
.home-img-wrapper {    
    overflow: hidden;
}

/* SLIKA */
.home-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}


/* ------------------------------------------ */
/*                  MEHANIZAM                 */
/* ------------------------------------------ */

#mehanizam {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;    
}

.mehanizam-title {
    width: 80%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.mehanizam-title h2 {
   color: white;
   font-weight:800 ;
   font-size: clamp(2.4rem, 3vw + 1.4rem, 5rem);
}

.mehanizam-title h4 {
   color: white;
   font-weight:700 ;
   font-size: clamp(1.6rem, 2vw + 1rem, 3rem);
}

.mehanizam-title h4 span {
   color: #f05023;
   font-weight:800 ;
   font-size: clamp(1.6rem, 2vw + 1rem, 3rem);
}

.mehanizam-img-wrapper {
    width: 100%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.mehanizam-img-wrapper img {
    flex: 0 0 23%;                /* ~4 u redu sa malo prostora između */
    max-width: 23%;
    height: auto;
    margin-top: 0;
}


/* ------------------------------------------ */
/*                  REGISTRACIJA              */
/* ------------------------------------------ */

#registracija {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    margin-top: 150px;
}

.registracija-title {
    width: 80%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.registracija-title h2 {
    color: white;
    font-weight: 800;
    font-size: clamp(2.4rem, 3vw + 1.4rem, 5rem);
}

.registracija-title h4 {
    color: white;
    font-weight: 700;
    font-size: clamp(1.6rem, 2vw + 1rem, 3rem);
}

.registracija-inner {
    max-width: 60%;
    margin: 0 auto;
    padding: 60px;
    background: #f05023;
    margin-top: 60px;
    border-radius: 20px;
    border: solid 1px #f05023;
    text-align: center;
}

/* GRUPE POLJA */
.reg-group {
    margin: 0 auto;
    margin-bottom: 24px;
}

/* LABEL */
.reg-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* SVA INPUT POLJA – PILLE OBLIK */
.reg-input {
    width: 100%;
    border: none;
    outline: none;
    background: #e5eaef;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    box-sizing: border-box;
}

/* PFR – 3 INPUTA U REDU */
.reg-pfr-row {
    display: flex;
    gap: 24px;
    margin: 0 auto;
}

.reg-pfr-row span{
    font-size:3rem;
    font-weight: 600;
    line-height: 3rem;
}

.reg-input-pfr {
    flex: 1;
}

/* treći je kraći */
.reg-input-pfr-short {
    flex: 0.5;
}

/* CHECKBOX GRUPE */
.reg-group-check {
    text-align: left;
}

.reg-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    cursor: pointer; /* da je jasno da je klikabilno */
    position: relative;
}

/* sakrij default checkbox */
.reg-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    /* pointer-events: none;  <-- MOŽE i da ostane, ali nije neophodno */
}

/* custom kvadratić */
.reg-check-box {
    width: 21px;
    height: 21px;
    border-radius: 4px;
    border: 2px solid #f6f7f9;
    background: transparent;
    box-sizing: border-box;
}

/* čekiran – KORISTI ~ UMESTO + zbog hidden inputa između */
.reg-check input[type="checkbox"]:checked ~ .reg-check-box {
    background: #f6f7f9;
}

/* tekst */
.reg-check-text {
    color: #f6f7f9;
    text-decoration: underline;
}

/* DUGME POŠALJI */
.reg-submit {
    display: inline-block;
    width: 100%;
    max-width: 380px;
    padding: 10px 12px;
    border-radius: 20px;
    border: none;
    background: #132235; /* tamno plava kao na slici */
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.reg-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.reg-submit[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.reg-submit[disabled]:hover {
    opacity: 0.4; /* da se ne menja na hover */
}

.text-danger {
    --bs-text-opacity: 1;
    color: #010c12 !important;
}

/* ------------------------------------------ */
/*                  GDE                       */
/* ------------------------------------------ */

#gde {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.gde-title {
    width: 80%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.gde-title h3 {
    color: white;
    font-weight: 700;
    font-size: clamp(2.1rem, 2.5vw + 1.2rem, 4rem);
}

.gde {
    width: 100%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.gde-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.gde-inner h2 {
    font-weight: 800;
    font-size: clamp(2.4rem, 3vw + 1.4rem, 5rem);
    margin: 0 auto;
    margin-top: -60px;
    margin-bottom: 60px;

    /* GRADIENT NA TEKSTU */
    background: linear-gradient(to bottom, #f05023 0%, #ba3e1b 70%, #5f1a07 100%);
    -webkit-background-clip: text;   /* Chrome / Safari */
    background-clip: text;
    color: transparent;    
    display: inline-block; /* ponekad pomaže da gradient “legne” tačno na tekst */
}

/* WRAPPER SA SLIKAMA I DUGMIĆIMA */
.gde-img-wrapper {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centriraj sve u sredinu */
    gap: 40px; /* razmak između “kartica” */
}

/* SVAKI UNUTRAŠNJI DIV (slika + dugme) */
.gde-img-wrapper > div {
    display: flex;
    flex-direction: column;
    align-items: center; /* centriraj sliku i dugme */
    flex: 0 0 calc(33.333% - 40px); /* 3 po redu na desktopu */
}

/* SLIKE */
.gde-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px; /* razmak slika–dugme */
}

.gde-btn-gradient {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    /* isti gradient kao na h2 */
    background: linear-gradient(to bottom, #f05023 0%, #ba3e1b 70%, #5f1a07 100%);
    /* tekst */
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    /* underline na tekstu */
    text-decoration: underline;
    text-underline-offset: 3px;
    /* animacija */
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

    /* hover efekat */
    .gde-btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.4);
        filter: brightness(1.1); /* malo “jači” gradient */
    }

    /* fokus (tastatura) */
    .gde-btn-gradient:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 3px;
    }

/* ------------------------------------------ */
/*                  MAPA                      */
/* ------------------------------------------ */

#mapa {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.mapa-title {
    width: 80%;
    margin: 0 auto;
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.mapa-title h2 {
    font-weight: 800;
    font-size: clamp(2.4rem, 3vw + 1.4rem, 5rem);
    margin: 0 auto;
    /*margin-bottom: 30px;*/
    /* GRADIENT NA TEKSTU */
    background: linear-gradient(to bottom, #f05023 0%, #ba3e1b 70%, #5f1a07 100%);
    -webkit-background-clip: text; /* Chrome / Safari */
    background-clip: text;
    color: transparent;
}

/* Tamni wrapper */
.mapa-wrapper {
    width: 85%;
    margin: 50px auto;
    position: relative; /* bitno */
    padding: 60px 80px 80px;
    border-radius: 60px;
    overflow: hidden; /* da pseudo-element ne “viri” */
    z-index: 1; /* sadržaj iznad pozadine */
}

.mapa-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #13171c;
    opacity: 0.5; /* 50% */
    mix-blend-mode: subtract; /* efekt koji želiš */
    z-index: -1; /* ispod sadržaja */
}

/*.mapa-wrapper h3 {
    margin-top: 20px;
    font-size: clamp(1.6rem, 1.8vw + 0.8rem, 2rem);
    font-weight: 600;
    color: #f35023;
    text-align: center;
    width: 100%;
}*/

/*.mapa-logo {
    width: 230px;
    margin: 40px auto;
    display: block;*/ /* ← OVO ga centrirа */
/*}*/

.mapa-wrapper p {
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f35023;
}

/* GRID 2 kolone */
.lokacija-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 80px;
}

/* Jedna lokacija */
.lokacija-item h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 6px;
}

    .lokacija-item h4 span {
        color: #ffffffa8;
    }

.lokacija-item .lok-adresa {
    color: #f05023;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Dugme Location */
.btn-lokacija {
    padding: 10px 26px;
    background: #25303b;
    color: #fff;
    border: none;
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.btn-lokacija img {
    width: 18px;
}

.btn-lokacija:hover {
    background: #3a4a59;
}

.modal-content {
    position: relative; /* važno da bi absolute u odnosu na ovo radilo */
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 9999; /* da bude iznad iframe/mape */
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85); /* tamna pozadina */
    color: #fff; /* beli X */
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    transition: transform 0.15s ease, background 0.15s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: scale(1.05);
}

.modal-title {
    color: grey;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
    text-transform: uppercase;
}

#resultMessage {
    color: #010c12;
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
}

.icon-pin {
    width: 20px;
    height: 20px;
    background-color: white; /* boja ikone */
    mask-image: url('../Images/pin-white.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    display: inline-block;
}

/* ------------------------------------------ */
/*                  KONTAKT                   */
/* ------------------------------------------ */

#kontakt {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.kontakt-title {
    width: 80%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.kontakt-title h2 {
    color: white;
    font-weight: 800;
    font-size: clamp(2.4rem, 3vw + 1.4rem, 5rem);
}

.kontakt {
    width: 100%;
    margin: 0 auto;
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.kontakt-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* WRAPPER SA SLIKAMA I DUGMIĆIMA */
.kontakt-img-wrapper {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centriraj sve u sredinu */
    gap: 60px; /* razmak između “kartica” */
}

/* SVAKI UNUTRAŠNJI DIV (slika + dugme) */
.kontakt-img-wrapper > div {
    display: flex;
    flex-direction: column;
    align-items: center; /* centriraj sliku i dugme */
    flex: 0 0 calc(33.333% - 60px); /* 3 po redu na desktopu */
}

/* SLIKE */
.kontakt-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 80px; 
}

/* ------------------------------------------ */
/*                  FOOTER                   */
/* ------------------------------------------ */

.sk-footer {
    width: 100%;
    background-color: #f05023;
    height: 100px;
    margin: 0;
    padding: 0;
}

/* Unutrašnji wrapper — isto kao header */
.sk-footer-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between; /* logo levo, nav desno */
    align-items: center;
    padding-left: 5%; /* isti padding kao levom navu u headeru */
    padding-right: 5%; /* isti padding kao desnom navu u headeru */
}

/* Logo */
.footer-logo {
    height: 60px; /* prilagodi */
    width: auto;
    display: block;
}

/* Navigacija desno */
.sk-footer-nav {
    display: flex;
    align-items: center;
}

.sk-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px; /* isti razmak kao u header UL */
}

/* Stil linka */
.sk-footer-menu .sk-nav-link {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
}

.sk-footer-menu .sk-nav-link:hover {
    color: #000;
}

/* ===== FOOTER ===== */

.line {
    background-color: #f05023;
    width: 70%;
    height: 2px;
    margin: 10px auto;
}

@media (max-width: 1199.98px) {
    .registracija-inner {
        max-width: 80%;
        padding: 30px;
        margin-top: 30px;
        border-radius: 20px;
    }

    .reg-input {
        width: 90%;
        padding: 8px 12px;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .reg-submit {
        display: inline-block;
        width: 100%;
        max-width: 320px;
        padding: 8px 12px;
        border-radius: 15px;
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 0.10em;
    }
}

/* ispod 800px: 2 u redu */
@media (max-width: 880px) {
    .mehanizam-img-wrapper img {
        flex: 0 0 48%; /* 2 u redu */
        max-width: 48%;
        margin-bottom: 24px; /* malo razmaka po visini */
    }

    .registracija-inner {
        max-width: 90%;
        padding: 30px;
        margin-top: 30px;
        border-radius: 15px;
        justify-content: center;
    }

    .reg-input {
        width: 90%;
        padding: 7px 12px;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .reg-submit {
        display: inline-block;
        width: 100%;
        max-width: 300px;
        padding: 7px 12px;
        border-radius: 10px;
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 0.5em;
    }

    .reg-pfr-row {
        flex-direction: column;
        justify-content: center;
        width: 80%;
        margin: 0 auto;
    }

    .reg-pfr-row span{
        font-size:2rem;
        font-weight: 500;
        line-height: 1rem;
    }

    .reg-input-pfr,
    .reg-input-pfr-short {
        flex: 1;
    }

    .reg-group-check {
        text-align: center;
    }

    .reg-check {
        align-items: flex-start;
        text-align: left;
    }

    .gde-img-wrapper {
        width: 90%;
    }

    .gde-img-wrapper > div {
        flex: 0 0 100%;
    }

    .lokacija-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-img-wrapper {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 kolone */
        grid-template-rows: auto auto; /* 2 reda */
        gap: 30px;
        justify-items: center; /* centriraj sve */
        margin: 40px auto;
    }

    /* Prvi element ide preko cele širine */
    .kontakt-img-wrapper > div:nth-child(1) {
        grid-column: 1 / 3; /* zauzima obe kolone */
    }

    /* Slike */
    .kontakt-img-wrapper img {
        width: 70%;
        height: auto;
    }

    .home-img {
        margin-top: 40px;
    }
}

/* Vrlo mali telefoni */
@media (max-width: 576px) {
    .home-img {
        margin-top: 60px;
    }

    .mehanizam-title {
        width: 70%;
    }

    .mehanizam-img-wrapper{
        width: 80%;
        margin: 0 auto;
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        align-content: center;
    }

    .mehanizam-img-wrapper img {
        width: 80%;
        flex: 0 0 100%; /* jedan po redu */
        max-width: 100%;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .mehanizam-img-wrapper img:nth-child(3n) {
        margin-top: -50px;
    }

    .mehanizam-title h2,
    .registracija-title h2 {
        font-weight: 600;
        font-size: clamp(2.0rem, 2vw + 1.0rem, 3rem);
    }

    .mehanizam-title h4,
    .registracija-title h4 {
        font-weight: 500;
        font-size: clamp(1.2rem, 1vw + 0.9rem, 2rem);
    }

    .mehanizam-title span {
        font-weight: 600;
        font-size: clamp(1.0rem, 0.8vw + 0.8rem, 1rem);
        display: block;
    }

    .reg-input {
        width: 90%;
        padding: 6px 12px;
        font-size: 1.0rem;
        font-weight: 500;
    }

    .reg-submit {
        display: inline-block;
        width: 100%;
        max-width: 230px;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 1.0rem;
        font-weight: 500;
        letter-spacing: 0.3em;
    }

    .kontakt-img-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 26px;
        align-items: center;
        margin: 30px auto;
    }

    /* više nam ne treba 1 gore + 2 dole layout */
    .kontakt-img-wrapper > div:nth-child(1),
    .kontakt-img-wrapper > div:nth-child(2),
    .kontakt-img-wrapper > div:nth-child(3) {
        grid-column: auto;
    }

    .kontakt-img-wrapper img {
        width: 60%;
        height: auto;
    }
}


    /*HOME1 naslovna za Pravilnik, dobinici i politiku*/
    #home1 {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-content: flex-end;
        margin-top: -15px;
        padding-bottom: 30px;
    }

    #naslov1 {
        width: 90%;
        padding-top: 100px;
    }


    /*Pravlnik*/
    #pravilnik {
        font-family: "Montserrat", sans-serif;
        padding: 0;
        position: relative;
        border: none;
        margin: 0 auto;
        padding-top: 20px;
        text-align: center;
        width: 100%;
        color: #fff;
        background-color: transparent !important;
        background-image: url("../Images/bck-repeat.png"),url("../Images/bck-repeat.png");
        /* svaki se ne ponavlja – samo jednom se iscrta */
        background-repeat: no-repeat, no-repeat;
        /* horizontalno centar, vertikalno na 50% i 75% visine body-ja */
        background-position: center 15%, center 80%;
        /* da zauzmu celu širinu ekrana, visina proporcionalna */
        background-size: 100% auto, 100% auto;
    }

        #pravilnik .div-pravilnik {
            width: 90%;
            margin: 0 auto;
        }

        #pravilnik h3 {
            color: #fff;
            padding: 0 0 40px 0;
            max-width: 80%;
            margin: 0 auto;
        }

        #pravilnik p {
            color: #fff;
            font-size: 13px;
            line-height: inherit;
            letter-spacing: 1px;
            margin: 0;
            margin-bottom: 10px;
            text-align: left;
        }


        #pravilnik ol {
            color: white;
            list-style: none;
            text-align: left;
            font-size: 18px;
            font-weight: normal;
        }

        #pravilnik ul {
            color: white;
            list-style: circle;
            text-align: left;
            font-size: 14px;
        }

        #pravilnik table {
            width: 80%;
        }

            #pravilnik table td {
                border: solid 1px #fff;
                padding: 2px;
                word-wrap: break-word;
                word-break: break-all;
            }

    .div-pravilnik {
        padding-bottom: 80px;
    }


    /*Politika privatnosti*/

    #privatnost {
        font-family: "Montserrat", sans-serif;
        padding: 0;
        position: relative;
        border: none;
        margin: 0 auto;
        padding-top: 20px;
        width: 100%;
        color: #fff;
        background-color: transparent !important;
        background-image: url("../Images/bck-repeat.png"),url("../Images/bck-repeat.png");
        /* svaki se ne ponavlja – samo jednom se iscrta */
        background-repeat: no-repeat, no-repeat;
        /* horizontalno centar, vertikalno na 50% i 75% visine body-ja */
        background-position: center 15%, center 80%;
        /* da zauzmu celu širinu ekrana, visina proporcionalna */
        background-size: 100% auto, 100% auto;
    }

        #privatnost h3 {
            color: #fff;
            padding: 20px;
            max-width: 70%;
            margin: 0 auto;
        }

        #privatnost p {
            color: #fff;
            font-size: 13px;
            line-height: inherit;
            letter-spacing: 1px;
            margin: 30px;
            margin-bottom: 10px;
            text-align: left;
        }

    .div-privatnost {
        padding-bottom: 80px;
    }


    /*-------- dobitnici ---------------*/

    #dobitnici {
        font-family: "Montserrat", sans-serif;
        padding: 0;
        position: relative;
        border: none;
        margin: 0 auto;
        padding-top: 80px;
        text-align: center;
        width: 100%;
        color: #fff;
        min-height: 600px;
        padding-bottom: 150px;
    }

        #dobitnici h2 {
            font-weight: 600;
            font-size: clamp(2.0rem, 2vw + 1.0rem, 3rem);
            color: #EA5022;
            padding-top: 70px;
        }

        #dobitnici h4 {
            color: white;
            font-weight: 700;
            font-size: clamp(1.6rem, 2vw + 1rem, 3rem);
            padding-top: 20px;
        }

        #dobitnici h4 span {
            display: block;
        }

        #dobitnici table tr td {
            word-wrap: normal;
            border: solid 1px gainsboro;
            word-wrap: break-word;
            background: #020509;
        }
    /*----- dobitnici table ---------*/
    .Grid {
        border: 1px solid gainsboro;
        border-collapse: separate;
        width: 90%;
        font-size: 1.0em;
        margin: 0 auto 60px auto;
    }

        .Grid th {
            font-weight: bold;
            color: white;
        }

        .Grid th, .Grid td {
            padding: 3px 5px;
            border: 1px solid gainsboro;
            word-break: break-all
        }

        .Grid, .Grid table td {
            border: 1px solid gainsboro;
        }

            .Grid th a, .Grid th a:visited {
                text-align: center;
                color: white;
            }

    .Grid-Header {
        background-color: #020509;
        color: #fff;
        text-align: center;
        word-wrap: break-word;
    }

    .Grid-Row {
        background-color: #020509;
        word-wrap: break-word;
    }

    .Grid-Row-alt {
        word-wrap: break-word;
    }

    .Grid-foot {
        height: 20%;
        text-align: center;
        line-height: 18px;
        font-size: 1.5em;
        background-color: #020509;
    }

    /* Linkovi u ćelijama */

    .Grid td a,
    .Grid td a:visited {
        color: #EA5022;
    }

        .Grid td a:hover,
        .Grid td a:focus {
            color: #EA5022;
            text-decoration: underline; /* opcionalno */
        }

    .px30 {
        width: 30px;
    }

    .px60 {
        width: 60px;
    }

    .px90 {
        width: 90px;
    }

    .px120 {
        width: 120px;
    }

    .px180 {
        width: 180px;
    }

    .px200 {
        width: 200px;
    }

    .px240 {
        width: 240px;
    }

    .px280 {
        width: 280px;
    }

    .px300 {
        width: 300px;
    }

    .px300 {
        width: 320px;
    }

    .width10 {
        width: 10%;
    }

    .width20 {
        width: 20%;
    }

    .width30 {
        width: 30%;
    }

    .width40 {
        width: 40%;
    }

    .pagination > li > a,
    .pagination > li > span {
        color: #fff;
        background-color: #020509;
        border: 1px solid #03041D;
        padding: 1px 5px;
    }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            background-color: #020509;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        color: #fff;
        cursor: default;
    }

    .clearfix {
        clear: both;
        margin: 5px 0;
    }