/* ================================================================
   GIGANT NEKRETNINE — Custom CSS
   Extracted from: show.blade, index.blade, home.blade
   ================================================================ */

   #site-top-bar{
    position:fixed;top:0;
    left:0;width:100%;
    z-index:10000;
    background:#0f3e68;
    padding:7px 0;
    font-size:13px;
   } 

/* === SHOW PAGE === */
    .flat-section-v4 { padding: 30px 0 20px; }
    .header-property-detail .content-top { margin-bottom: 16px; }
    .single-property-gallery { margin-bottom: 0; }

    /* ── Glavni slider ── */
    .image-sw-single {
        height: 590px;
        overflow: hidden;
        border-radius: 12px;
        display: block;
        cursor: pointer;
    }
    .image-sw-single img { width:100%; height:100%; object-fit:cover; }

    /* ── Thumb slider ── */
    .img-thumb-pagi {
        height: 110px;
        overflow: hidden;
        border-radius: 8px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color .2s;
    }
    .img-thumb-pagi:hover { border-color: #1563DF; }
    .swiper-slide-thumb-active .img-thumb-pagi { border-color: #1563DF; }
    .img-thumb-pagi img { width:100%; height:100%; object-fit:cover; }

    /* ── Strelice na slideru ── */
    .gallery-nav-wrap { position: absolute; top: 50%; left: 0; right: 0; z-index: 10; pointer-events: none; display: flex; justify-content: space-between; padding: 0 12px; transform: translateY(-50%); }
    .gallery-nav-btn {
        pointer-events: all;
        width: 44px; height: 44px;
        background: rgba(255,255,255,.9);
        border: none; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        transition: background .2s, transform .2s;
    }
    .gallery-nav-btn:hover { background: #fff; transform: scale(1.08); }
    .gallery-nav-btn svg { width: 20px; height: 20px; stroke: #333; stroke-width: 2.5; fill: none; }

    /* ── Foto count badge ── */
    .photo-count-badge {
        position: absolute; bottom: 16px; right: 16px; z-index: 10;
        background: rgba(0,0,0,.65); color: #fff;
        padding: 6px 14px; border-radius: 20px;
        font-size: 13px; font-weight: 500;
        display: flex; align-items: center; gap: 6px;
        cursor: pointer; transition: background .2s;
    }
    .photo-count-badge:hover { background: rgba(0,0,0,.85); }
    .photo-count-badge svg { width: 16px; height: 16px; }

    /* ══════════════════════════════════════════════
       CUSTOM LIGHTBOX
       ══════════════════════════════════════════════ */
    .g-lightbox {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 100000;
        background: rgba(0,0,0,.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        user-select: none;
        -webkit-user-select: none;
    }
    .g-lightbox.is-open { display: flex; }

    /* Toolbar */
    .g-lb-toolbar {
        position: absolute; top: 0; left: 0; right: 0;
        display: flex; justify-content: space-between; align-items: center;
        padding: 16px 20px;
        z-index: 10;
    }
    .g-lb-counter { color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500; }
    .g-lb-close {
        width: 44px; height: 44px;
        background: rgba(255,255,255,.1); border: none; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; transition: background .2s;
    }
    .g-lb-close:hover { background: rgba(255,255,255,.25); }
    .g-lb-close svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; fill: none; }

    /* Glavna slika */
    .g-lb-stage {
        flex: 1; display: flex; align-items: center; justify-content: center;
        width: 100%; position: relative;
        padding: 60px 70px 100px;
        min-height: 0;
    }
    .g-lb-stage img {
        max-width: 100%; max-height: 100%;
        object-fit: contain;
        border-radius: 4px;
        opacity: 0;
        transition: opacity .25s ease;
    }
    .g-lb-stage img.loaded { opacity: 1; }

    /* Spinner */
    .g-lb-spinner {
        position: absolute; top: 50%; left: 50%;
        transform: translate(-50%,-50%);
        width: 36px; height: 36px;
        border: 3px solid rgba(255,255,255,.15);
        border-top-color: #fff;
        border-radius: 50%;
        animation: g-spin .7s linear infinite;
    }
    .g-lb-spinner.hidden { display: none; }
    @keyframes g-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

    /* Strelice */
    .g-lb-prev, .g-lb-next {
        position: absolute; top: 50%; transform: translateY(-50%);
        width: 52px; height: 52px;
        background: rgba(255,255,255,.08); border: none; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; transition: background .2s;
        z-index: 10;
    }
    .g-lb-prev { left: 16px; }
    .g-lb-next { right: 16px; }
    .g-lb-prev:hover, .g-lb-next:hover { background: rgba(255,255,255,.2); }
    .g-lb-prev svg, .g-lb-next svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 2; fill: none; }

    /* Thumbnails */
    .g-lb-thumbs {
        position: absolute; bottom: 0; left: 0; right: 0;
        display: flex; gap: 6px; justify-content: center;
        padding: 12px 20px 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .g-lb-thumbs::-webkit-scrollbar { display: none; }
    .g-lb-thumb {
        flex-shrink: 0;
        width: 64px; height: 48px;
        border-radius: 6px; overflow: hidden;
        cursor: pointer;
        opacity: .45;
        border: 2px solid transparent;
        transition: opacity .2s, border-color .2s;
    }
    .g-lb-thumb:hover { opacity: .75; }
    .g-lb-thumb.active { opacity: 1; border-color: #fff; }
    .g-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }

    @media(max-width:768px) {
        .image-sw-single { height: 320px; border-radius: 8px; }
        .img-thumb-pagi { height: 60px; }
        .g-lb-stage { padding: 56px 12px 90px; }
        .g-lb-prev, .g-lb-next { width: 40px; height: 40px; }
        .g-lb-prev { left: 8px; }
        .g-lb-next { right: 8px; }
        .g-lb-prev svg, .g-lb-next svg { width: 20px; height: 20px; }
        .g-lb-thumb { width: 50px; height: 38px; }
    }

    .fixed-sidebar { position: sticky; top: 100px; }
    #property-map { height: 350px; border-radius: 12px; overflow: hidden; }
    .amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }
    .amenity-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #444; }
    .amenity-item svg { flex-shrink: 0; color: #1563DF; }
    .contact-form .ip-group { margin-bottom: 12px; }
    .contact-form .ip-group input,
    .contact-form .ip-group textarea { width: 100%; border: 1px solid #e8ecef; border-radius: 8px; padding: 11px 14px; font-size: 14px; outline: none; transition: border .2s; resize: none; }
    .contact-form .ip-group input:focus,
    .contact-form .ip-group textarea:focus { border-color: #1563DF; }
    .box-loan-calc .box-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
    .box-loan-calc .item-calc label { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: block; }
    .box-loan-calc .item-calc input { width:100%; border:1px solid #e8ecef; border-radius:8px; padding:10px 12px; font-size:14px; outline:none; }
    .box-loan-calc .box-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
    @media(max-width:576px) { .box-loan-calc .box-top { grid-template-columns:1fr; } }

/* === INDEX/LISTING PAGE === */
    /* ------------------------------------------------------------------ */
    /* Half-map layout                                                      */
    /* ------------------------------------------------------------------ */
    .wrapper-layout-3 {
        display: flex;
        min-height: calc(100vh - 80px);
        padding-top: 80px; /* visina headera */
    }

    /* Sidebar */
    .wrap-sidebar {
        width: 340px;
        min-width: 340px;
        overflow-y: auto;
        background: #fff;
        border-right: 1px solid #e8ecef;
        z-index: 10;
    }

    /* Lista nekretnina */
    .wrap-inner {
        flex: 1;
        overflow-y: auto;
        padding: 24px 20px;
        max-width: 680px;
    }

    /* Mapa — sticky, visina se mijenja JS-om kada footer ulazi u viewport */
    .wrap-map {
        flex: 1;
        position: sticky;
        top: 80px;
        height: calc(100vh - 80px);
        align-self: flex-start;
        transition: height .1s linear;
    }

    #map {
        width: 100%;
        height: 100%;
    }

    .wrapper-layout-3 {
        align-items: flex-start !important;
    }

    /* ------------------------------------------------------------------ */
    /* Mobilni filter drawer                                                */
    /* ------------------------------------------------------------------ */
    .filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 1040;
    }
    .filter-overlay.open { display: block; }

    /* Sidebar — na desktopu normalan, na mobilnom drawer */
    @media (max-width: 1024px) {
        .wrap-sidebar {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 300px !important;
            height: 100dvh !important;
            z-index: 1050 !important;
            overflow-y: auto !important;
            background: #fff !important;
            box-shadow: 4px 0 24px rgba(0,0,0,.15) !important;
            transform: translateX(-110%) !important; /* sakriveno van ekrana */
            transition: transform .3s cubic-bezier(.4,0,.2,1) !important;
            padding-top: 0 !important;
            visibility: hidden !important;
        }
        .wrap-sidebar.open {
            transform: translateX(0) !important;
            visibility: visible !important;
        }
        .filter-drawer-close {
            display: flex !important;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            height: 56px;
            padding: 0 16px;
            background: #fff;
            border-bottom: 1px solid #e8ecef;
            font-weight: 700;
            font-size: 15px;
            z-index: 2;
        }
        .filter-drawer-close button {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #333;
            line-height: 1;
            padding: 4px 8px;
        }
    }
    @media (min-width: 1025px) {
        .filter-overlay { display: none !important; }
        .filter-drawer-close { display: none !important; }
        .wrap-sidebar {
            transform: none !important;
            visibility: visible !important;
            position: sticky !important;
            top: 80px !important;
            height: calc(100vh - 80px) !important;
        }
    }

    /* ------------------------------------------------------------------ */
    /* Spinner za učitavanje                                                */
    /* ------------------------------------------------------------------ */
    #loading-overlay {
        display: none;
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.7);
        z-index: 20;
        align-items: center;
        justify-content: center;
    }
    #loading-overlay.active {
        display: flex;
    }

    /* ------------------------------------------------------------------ */
    /* Kartica nekretnine — list stil                                       */
    /* ------------------------------------------------------------------ */
    .homelengo-box.list-style-2 {
        display: flex;
        gap: 0;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e8ecef;
        margin-bottom: 16px;
        background: #fff;
        transition: box-shadow .2s, transform .2s;
        cursor: pointer;
    }
    .homelengo-box.list-style-2:hover,
    .homelengo-box.list-style-2.active {
        box-shadow: 0 4px 24px rgba(0,0,0,.12);
        transform: translateY(-2px);
    }
    .homelengo-box.list-style-2 .archive-top {
        flex-shrink: 0;
        width: 220px;
        align-self: stretch; /* rasteže do visine kartice */
    }
    .homelengo-box.list-style-2 .images-group {
        display: block;
        height: 100%;
        position: relative;
    }
    .homelengo-box.list-style-2 .images-style {
        width: 100%;
        height: 100%; /* puna visina archive-top */
        min-height: 160px;
        overflow: hidden;
    }
    .homelengo-box.list-style-2 .images-style img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .3s;
        display: block;
    }
    .homelengo-box.list-style-2:hover .images-style img {
        transform: scale(1.05);
    }
    .homelengo-box.list-style-2 .archive-bottom {
        flex: 1;
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 160px;
    }

    /* ------------------------------------------------------------------ */
    /* Kartica nekretnine — grid stil                                       */
    /* ------------------------------------------------------------------ */
    .homelengo-box.grid-style {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e8ecef;
        margin-bottom: 16px;
        background: #fff;
        transition: box-shadow .2s, transform .2s;
        cursor: pointer;
    }
    .homelengo-box.grid-style:hover,
    .homelengo-box.grid-style.active {
        box-shadow: 0 4px 24px rgba(0,0,0,.12);
        transform: translateY(-2px);
    }
    .homelengo-box.grid-style .images-style {
        width: 100%;
        height: 180px;
        overflow: hidden;
        position: relative;
    }
    .homelengo-box.grid-style .images-style img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
    }
    .homelengo-box.grid-style:hover .images-style img {
        transform: scale(1.05);
    }

    /* ------------------------------------------------------------------ */
    /* Leaflet custom popup                                                 */
    /* ------------------------------------------------------------------ */
    .leaflet-popup-content-wrapper {
        border-radius: 10px;
        padding: 0;
        overflow: hidden;
        min-width: 220px;
    }
    .map-popup img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
    .map-popup-body {
        padding: 10px 12px;
    }
    .map-popup-body h6 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    .map-popup-body .price {
        color: #1a73e8;
        font-weight: 700;
        font-size: 15px;
    }
    .map-popup-body .meta {
        font-size: 11px;
        color: #888;
        margin-top: 4px;
    }

    /* ------------------------------------------------------------------ */
    /* Markeri — balon sa repom                                            */
    /* ------------------------------------------------------------------ */
    .marker-pin {
        position: relative;
        background: #1563DF;
        color: #fff;
        border-radius: 8px;
        padding: 5px 10px;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
        border: 2px solid #fff;
        box-shadow: 0 3px 12px rgba(21,99,223,.4);
        cursor: pointer;
        transition: transform .15s, background .15s;
        line-height: 1.2;
    }
    /* Rep balona */
    .marker-pin::after {
        content: '';
        position: absolute;
        bottom: -7px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid #1563DF;
    }
    .marker-pin::before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 8px solid rgba(255,255,255,.7);
    }
    .marker-pin:hover {
        transform: translateY(-2px) scale(1.05);
        background: #0f4fc7;
    }
    .marker-pin.active {
        background: #e53935;
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 4px 16px rgba(229,57,53,.5);
        z-index: 1000 !important;
    }
    .marker-pin.active::after {
        border-top-color: #e53935;
    }
    /* Tip badge na markeru */
    .marker-pin .marker-tip {
        display: block;
        font-size: 9px;
        font-weight: 500;
        opacity: .85;
        line-height: 1;
        margin-bottom: 1px;
    }



    /* ------------------------------------------------------------------ */
    /* Paginacija                                                           */
    /* ------------------------------------------------------------------ */
    .pagination-wrap {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 24px;
        flex-wrap: wrap;
    }
    .pagination-wrap button {
        min-width: 36px;
        height: 36px;
        border: 1px solid #e8ecef;
        background: #fff;
        border-radius: 8px;
        cursor: pointer;
        font-size: 13px;
        transition: all .2s;
    }
    .pagination-wrap button:hover,
    .pagination-wrap button.active {
        background: #1a73e8;
        color: #fff;
        border-color: #1a73e8;
    }
    .pagination-wrap button:disabled {
        opacity: .4;
        cursor: default;
    }

    /* ------------------------------------------------------------------ */
    /* Responsive                                                           */
    /* ------------------------------------------------------------------ */
    @media (max-width: 1024px) {
        .wrap-map { display: none; }
        .wrap-inner { max-width: 100%; padding: 16px; }
    }
    @media (max-width: 768px) {
        .wrapper-layout-3 { flex-direction: column; }
        .homelengo-box.list-style-2 .archive-top { width: 140px; }
        .homelengo-box.list-style-2 .images-style { width: 140px; height: 120px; }
    }
    @keyframes slideInRight {
        from { transform: translateX(100px); opacity: 0; }
        to   { transform: translateX(0);     opacity: 1; }
    }

    /* ------------------------------------------------------------------ */
    /* No-map mod — mapa sakrivena, lista na punu širinu                   */
    /* ------------------------------------------------------------------ */
    .wrapper-layout-3.no-map .wrap-map {
        display: none !important;
    }
    .wrapper-layout-3.no-map .wrap-inner {
        max-width: 100% !important;
    }
    /* U no-map modu grid je 3 kolone */
    .wrapper-layout-3.no-map #properties-list.grid-view {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .wrapper-layout-3.no-map #properties-list.grid-view .col-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    @media (max-width: 992px) {
        .wrapper-layout-3.no-map #properties-list.grid-view {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 576px) {
        .wrapper-layout-3.no-map #properties-list.grid-view {
            grid-template-columns: 1fr;
        }
    }
    /* Animacija za toggle */
    .wrap-map { transition: opacity .25s ease; }
    .wrapper-layout-3.no-map .wrap-map { opacity: 0; }

    /* Toggle dugme aktivan state */
    #btn-toggle-map.map-hidden {
        background: #1563DF;
        color: #fff;
        border-color: #1563DF;
    }

/* === HOME PAGE === */
    /* ================================================================
       HERO SLIDER
    ================================================================ */
    .hero-swiper-wrap {
        position: relative;
        width: 100%;
        height: 700px;
        overflow: hidden;
    }
    @media (max-width: 768px) {
        .hero-swiper-wrap { height: 560px; }
        .hero-slide-content { padding-bottom: 220px; }
        .hero-search-inner { padding: 16px; }
        .hero-search-overlay { padding-bottom: 16px; }
    }
    @media (max-width: 480px) {
        .hero-swiper-wrap { height: 620px; }
        .hero-search-input-wrap { flex-direction: column; }
        .hero-search-btn { width: 100%; justify-content: center; }
    }
    .hero-swiper-wrap .swiper,
    .hero-swiper-wrap .swiper-wrapper,
    .hero-swiper-wrap .swiper-slide {
        height: 100%;
    }
    .hero-slide-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transition: transform 6s ease;
    }
    .swiper-slide-active .hero-slide-bg {
        transform: scale(1.06);
    }
    .hero-slide-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(21,99,223,.70) 0%, rgba(10,25,70,.52) 100%);
        z-index: 1;
    }
    .hero-slide-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 20px 160px; /* prostor za search box pri dnu */
    }

    /* Search box preklopljen preko slidera, pri dnu */
    .hero-search-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 20;
        padding: 0 0 32px;
    }
    .hero-search-inner {
    

    border-radius: 16px;
    padding: 22px 28px 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .22);
    max-width: 820px;
    margin: 0 auto;
}
    .hero-slide-title {
        font-size: clamp(28px, 4.5vw, 54px);
        font-weight: 800;
        color: #fff;
        line-height: 1.15;
        margin-bottom: 12px;
        text-shadow: 0 2px 12px rgba(0,0,0,.3);
    }
    .hero-slide-sub {
        font-size: 22px;
        color: rgba(255,255,255,.9);
        margin-bottom: 15px;
            line-height: 1.3;
        max-width: 700px;
    }
    .hero-slide-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        background: #fff;
        color: #1563DF;
        font-weight: 700;
        font-size: 15px;
        padding: 12px 28px;
        border-radius: 10px;
        text-decoration: none;
        transition: background .2s, color .2s;
    }
    .hero-slide-btn:hover { background: #1563DF; color: #fff; }

    /* Swiper dots za hero */
    .hero-swiper-wrap .swiper-pagination-bullet {
        background: rgba(255,255,255,.6);
        opacity: 1;
        width: 10px; height: 10px;
    }
    .hero-swiper-wrap .swiper-pagination-bullet-active {
        background: #fff;
        width: 28px;
        border-radius: 5px;
    }
    /* Prev/Next strelice */
    .hero-swiper-wrap .swiper-button-prev,
    .hero-swiper-wrap .swiper-button-next {
        color: #fff;
        opacity: .7;
        transition: opacity .2s;
    }
    .hero-swiper-wrap .swiper-button-prev:hover,
    .hero-swiper-wrap .swiper-button-next:hover { opacity: 1; }

    /* Fallback ako nema slidera */
    .hero-fallback {
        height: 580px;
        background: linear-gradient(135deg, #1563DF 0%, #0d3a8e 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Search box */
    .hero-search-box {
        background: #fff;
        border-radius: 16px;
        padding: 28px 32px 24px;
        box-shadow: 0 8px 40px rgba(0,0,0,.18);
        max-width: 760px;
        margin: 0 auto;
    }
    .hero-tabs {
        display: flex;
        gap: 4px;
        margin-bottom: 20px;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 0;
    }
    .hero-tab-btn {
        padding: 10px 24px;
        border: none;
        background: none;
        font-size: 15px;
        font-weight: 700;
        color: #888;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        margin-bottom: -2px;
        transition: all .2s;
        border-radius: 8px 8px 0 0;
    }
    .hero-tab-btn.active {
        color: #1563DF;
        border-bottom-color: #1563DF;
        background: #f0f5ff;
    }
    .hero-search-input-wrap {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .hero-search-input-wrap input {
        flex: 1;
        border: 1px solid #0f3e68;
        border-radius: 10px;
        padding: 13px 18px;
        font-size: 15px;
        outline: none;
        transition: border .2s;
    }
    .hero-search-input-wrap input:focus {
        border-color: #1563DF;
    }
    .hero-search-btn {
        background: #0f3e68;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 13px 28px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background .2s;
    }
    .hero-search-btn:hover { background: #0d4fc4; }

    /* Stats ispod searcha */
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 32px;
        margin-top: 24px;
        flex-wrap: wrap;
    }
    .hero-stat {
        text-align: center;
        color: #fff;
    }
    .hero-stat-num {
        font-size: 28px;
        font-weight: 800;
        line-height: 1;
        display: block;
    }
    .hero-stat-lbl {
        font-size: 13px;
        opacity: .8;
        margin-top: 4px;
        display: block;
    }

    /* ================================================================
       PROPERTY CARD (naslovna)
    ================================================================ */
    .homelengo-box .images-style {
        height: 220px;
        overflow: hidden;
        position: relative;
    }
    .homelengo-box .images-style img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }
    .homelengo-box:hover .images-style img {
        transform: scale(1.05);
    }
    .homelengo-box .archive-top {
        position: relative;
    }
    .homelengo-box .images-group {
        display: block;
        text-decoration: none;
    }
    .homelengo-box .top {
        position: absolute;
        top: 12px;
        left: 12px;
    }
    .homelengo-box .bottom {
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
        color: #fff;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 4px;
        text-shadow: 0 1px 4px rgba(0,0,0,.5);
    }
    .no-image-placeholder {
        width: 100%;
        height: 220px;
        background: linear-gradient(135deg, #e8ecef 0%, #d0d7e0 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #aaa;
    }

    /* ================================================================
       GRADOVI
    ================================================================ */
    .box-location .image {
        border-radius: 12px;
        overflow: hidden;
        height: 180px;
    }
    .box-location .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }
    .box-location:hover .image img {
        transform: scale(1.06);
    }
    .box-location .content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 4px 0;
    }
    .box-location .sub-title {
        font-size: 12px;
        color: #888;
        display: block;
    }
    .box-location .title {
        font-size: 15px;
        font-weight: 700;
        color: #161e2d;
        margin: 2px 0 0;
    }

   /* ================================================================
       PROMO BANERI (4 KOMADA)
    ================================================================ */
    .promo-banners {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dva reda po dva bloka */
        gap: 20px;
        padding: 40px 0;
    }
    .promo-banner {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        height: 220px;
        display: block;
        text-decoration: none;
    }
    .promo-banner-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        transition: transform .5s ease;
    }
    .promo-banner:hover .promo-banner-bg {
        transform: scale(1.06);
    }
    .promo-banner-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg, rgba(10,20,60,.55) 0%, rgba(10,20,60,.80) 100%);
        transition: opacity .3s;
    }
    .promo-banner:hover .promo-banner-overlay {
        opacity: .7;
    }
    .promo-banner-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 24px;
        z-index: 2;
    }
    .promo-banner-tag {
        display: inline-block;
        background: #1563DF;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 20px;
        letter-spacing: .5px;
        text-transform: uppercase;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    .promo-banner-tag.hitna   { background: #ef4444; }
    .promo-banner-tag.lux     { background: #b8860b; }
    .promo-banner-tag.ponuda  { background: #16a34a; }
    .promo-banner-title {
        font-size: 20px;
        font-weight: 800;
        color: #fff;
        line-height: 1.2;
        margin-bottom: 6px;
        text-shadow: 0 1px 6px rgba(0,0,0,.4);
    }
    .promo-banner-sub {
        font-size: 13px;
        color: rgba(255,255,255,.85);
        margin-bottom: 14px;
    }
    .promo-banner-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fff;
        color: #161e2d;
        font-size: 13px;
        font-weight: 700;
        padding: 8px 18px;
        border-radius: 8px;
        align-self: flex-start;
        transition: background .2s, color .2s;
    }
    .promo-banner:hover .promo-banner-btn {
        background: #1563DF;
        color: #fff;
    }
    @media (max-width: 768px) {
        .promo-banners { grid-template-columns: 1fr; }
        .promo-banner  { height: 200px; }
    }

    /* ================================================================
       ZAŠTO GIGANT (SLIKA LEVO, TEKST DESNO)
    ================================================================ */
    .flat-img-with-text {
        display: flex;
        align-items: center;
        gap: 40px;
        padding: 60px 0;
    }
    .flat-img-with-text .content-left {
        flex: 1;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .flat-img-with-text .content-left img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
    .flat-img-with-text .content-right {
        flex: 1;
    }
    @media (max-width: 992px) {
        .flat-img-with-text {
            flex-direction: column;
        }
        .flat-img-with-text .content-left, .flat-img-with-text .content-right {
            width: 100%;
        }
    }

/* ================================================================
   POČETNA STRANA (HOME) - Komponente
================================================================ */

/* Hero Statistika ispod pretrage */
.hero-stats-wrap { display: flex; gap: 28px; margin-top: 12px; flex-wrap: wrap; }
.hero-stats-item { font-size: 13px; color: #888; }
.hero-stats-item strong { color: #1563DF; }
.hero-fallback h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.hero-fallback p { color: rgba(255,255,255,0.85); font-size: 17px; }

/* Promo Baneri - Overlays */
.promo-overlay-lux { background: linear-gradient(160deg, rgba(80,50,0,.55) 0%, rgba(40,20,0,.80) 100%); }
.promo-overlay-ponuda { background: linear-gradient(160deg, rgba(0,60,20,.55) 0%, rgba(0,30,10,.80) 100%); }
.promo-overlay-ekskluzivno { background: linear-gradient(160deg, rgba(20,0,80,.55) 0%, rgba(10,0,50,.82) 100%); }

/* Sekcija: Usluge */
.section-services { background: #fff; padding: 60px 0; }
.service-card-wrap { display: block; text-decoration: none; border-radius: 16px; overflow: hidden; position: relative; height: 380px; background: #000; }
.service-card-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: all .5s ease; }
.service-card-wrap:hover img { opacity: .45; transform: scale(1.05); }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.0) 60%); }
.service-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; z-index: 2; }
.service-card-icon { width: 48px; height: 48px; background: rgba(21,99,223,.9); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-card-title { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.service-card-desc { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.service-card-link { color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* Sekcija: Zašto Gigant */
.section-zasto-gigant { background: #f5f8ff; padding: 80px 0; margin-top: 60px; }
.zasto-gigant-inner { padding: 0; }
.zasto-gigant-img { border-radius: 16px; }
.zasto-gigant-desc { line-height: 1.6; }
.benefit-icon { color: #1563DF; background: #fff; padding: 12px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.benefit-title { font-size: 16px; margin: 0; }
.benefit-desc { font-size: 14px; margin: 4px 0 0; }

/* Sekcija: Gradovi i Opštine (Grid) */
.section-cities { background: #f5f8ff; padding: 60px 0; }
.section-municipalities { padding: 60px 0; }
.city-card { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform .3s; position: relative; height: 100%; border: 1px solid transparent; }
.city-card-bordered { border: 1px solid #e8ecef; }
.city-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.city-card-img-wrap { display: block; height: 180px; }
.city-card-img { width: 100%; height: 100%; object-fit: cover; }
.city-card-img-darker { filter: brightness(0.85); }
.city-card-content { padding: 16px; }
.city-card-subtitle { color: #888; font-size: 12px; }
.city-card-title { margin: 4px 0 0; font-size: 16px; }
.city-card-btn { position: absolute; bottom: 16px; right: 16px; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f0f5ff; color: #1563DF; transition: all .2s; }
.city-card:hover .city-card-btn { background: #1563DF; color: #fff; }

/* Floating WhatsApp Dugme */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}
@media (max-width: 768px) {
    .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .floating-whatsapp svg { width: 28px; height: 28px; }
}
.post-content h2{
    font-size:30px;
}