﻿/* ================================================================
   Custom additions â€“ Stomatologija AleksiÄ‡ (izmene 2026)
   ================================================================ */

/* ---------- Protetika 3-card layout ---------- */
.protetika-cards{
    display:grid;
    gap:30px;
    margin-top:40px;
}
.protetika-card{
    display:grid;
    grid-template-columns:1fr 1.3fr;
    background:#ffffff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    border-left:4px solid transparent;
    transition:all .35s cubic-bezier(.4,0,.2,1);
    text-decoration:none;
    color:inherit;
}
.protetika-card:hover{
    box-shadow:0 10px 28px rgba(0,0,0,.14);
    transform:translateY(-3px);
    border-left-color:#2563eb;
    color:inherit;
    text-decoration:none;
}
.protetika-card-media{
    overflow:hidden;
    min-height:240px;
    background:#eef2f6;
}
.protetika-card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}
.protetika-card:hover .protetika-card-media img{ transform:scale(1.05); }
.protetika-card-body{ padding:28px 32px; display:flex; flex-direction:column; justify-content:center; }
.protetika-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:linear-gradient(135deg,#e3f2fd 0%,#dbeafe 100%);
    border-radius:10px;
    padding:14px 20px;
    margin-bottom:16px;
}
.protetika-card-head h3{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#1a3b8d;
}
.protetika-card-arrow{
    width:40px;height:40px;border-radius:50%;
    background:#2563eb;color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:15px;
    transition:transform .35s ease;
    flex-shrink:0;
}
.protetika-card:hover .protetika-card-arrow{ transform:translateX(6px); }
.protetika-card-body p{
    margin:0 0 14px;
    color:#4a4a4a;
    line-height:1.7;
}
.protetika-card-readmore{
    margin-top:auto;
    display:inline-flex;align-items:center;gap:8px;
    color:#2563eb;font-weight:600;font-size:15px;
}
.protetika-card-readmore i{ transition:transform .3s ease; }
.protetika-card:hover .protetika-card-readmore i{ transform:translateX(4px); }

@media (max-width: 767px){
    .protetika-card{ grid-template-columns:1fr; }
    .protetika-card-media{ min-height:220px; }
    .protetika-card-body{ padding:22px 22px 26px; }
    .protetika-card-head h3{ font-size:19px; }
}

/* ---------- Blue highlight block (prednosti / primena) ---------- */
.highlight-blue{
    background:linear-gradient(135deg,#e3f2fd 0%,#dbeafe 100%);
        border-radius:12px;
    padding:22px 26px;
    margin:20px 0;
    color:#1a3b8d;
    line-height:1.8;
}
.highlight-blue strong{ color:#0f3b8a; }
.highlight-blue p{ margin:0 0 10px; color:#1a3b8d; }
.highlight-blue p:last-child{ margin-bottom:0; }
.highlight-blue ul,
.highlight-blue ol{ margin:10px 0 0 22px; color:#1a3b8d; }
.highlight-blue li{ margin-bottom:8px; }

/* ---------- Subsection heading (plava pozadina za podnaslove) ---------- */
.subsection-heading{
    background:linear-gradient(135deg,#e3f2fd 0%,#dbeafe 100%);
    padding:18px 26px;
    border-radius:10px;
    margin:40px 0 20px;
    display:flex; align-items:center; justify-content:space-between;
    gap:16px;
}
.subsection-heading h2,
.subsection-heading h3{
    margin:0;
    color:#1a3b8d;
    font-size:24px;
    font-weight:700;
}
.subsection-heading .badge-number{
    width:38px; height:38px; border-radius:50%;
    background:#2563eb; color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-weight:700; font-size:17px;
    flex-shrink:0;
}

/* ---------- Ortodoncija: odgovori kao bullet lista ---------- */
.ortho-answer-bullets{
    margin:16px 0 20px 24px;
    padding:0;
    list-style:disc !important;
    color:#1a3b8d;
}
.ortho-answer-bullets li{
    margin-bottom:10px;
    line-height:1.8;
}
.ortho-answer-bullets li:last-child{ margin-bottom:0; }

/* ---------- CAD/CAM process boxes (blue bubbles with arrows) ---------- */
.process-flow{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin:30px 0;
}
.process-step{
    background:linear-gradient(135deg,#e3f2fd 0%,#d9ebf7 100%);
    border-radius:14px;
    padding:24px 28px;
    position:relative;
        display:flex; gap:20px; align-items:flex-start;
}
.process-step-num{
    flex-shrink:0;
    width:48px; height:48px; border-radius:50%;
    background:#2563eb; color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-weight:700; font-size:20px;
}
.process-step-content{ flex:1; }
.process-step-content h4{
    margin:0 0 8px;
    color:#0f3b8a;
    font-size:18px;
    font-weight:700;
}
.process-step-content p{
    margin:0;
    color:#1e3a5c;
    line-height:1.7;
}
.process-arrow{
    display:flex; justify-content:center;
    color:#2563eb;
    font-size:28px;
}

/* ---------- Blog cards – uniformna visina i dimenzije ---------- */
.vl-blog-sec-iner .row{ display:flex; flex-wrap:wrap; }
.vl-blog-sec-iner .col-lg-4,
.vl-blog-sec-iner .col-md-6{
    display:flex;
}
.vl-blog-sec-iner .vl-single-blog-box{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    background:#ffffff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 14px rgba(0,0,0,.06);
    transition:transform .3s ease, box-shadow .3s ease;
}
.vl-blog-sec-iner .vl-single-blog-box:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.vl-blog-sec-iner .vl-blog-thumb{
    width:100%;
    aspect-ratio: 16 / 10;
    overflow:hidden;
    flex-shrink:0;
}
.vl-blog-sec-iner .vl-blog-thumb a,
.vl-blog-sec-iner .vl-blog-thumb img{
    width:100%;
    height:100%;
    display:block;
}
.vl-blog-sec-iner .vl-blog-thumb img{
    object-fit:cover;
    object-position:center center;
}
.vl-blog-sec-iner .vl-blog-content{
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    padding:22px 24px 24px;
}
.vl-blog-sec-iner .vl-blog-content .title{
    flex:1 1 auto;
    margin-top:6px;
}
.vl-blog-sec-iner .vl-blog-content .blog-learnmore{
    margin-top:auto;
}

/* ---------- Check-list ispravan wrap (tekst se prelama ispod prvog slova, ne ispod ikone) ---------- */
.vl-service-check-lis2t ul li{
    display:flex;
    align-items:flex-start;
    gap:8px;
}
.vl-service-check-lis2t ul li span{
    margin-right:0 !important;
    flex-shrink:0;
    margin-top:3px;
}

/* ---------- Process list (clean timeline – numerisani koraci u tekstu) ---------- */
.process-list{
    list-style:none;
    margin:24px 0 30px;
    padding:0;
    position:relative;
}
.process-list::before{
    content:"";
    position:absolute;
    left:18px;
    top:6px;
    bottom:6px;
    width:2px;
    background:linear-gradient(to bottom,#dbeafe 0%,#e3f2fd 100%);
    border-radius:2px;
}
.process-list > li{
    position:relative;
    padding:0 0 26px 56px;
    margin:0;
}
.process-list > li:last-child{ padding-bottom:0; }
.process-list > li .step-num{
    position:absolute;
    left:0;
    top:0;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#ffffff;
    border:2px solid #2563eb;
    color:#1a3b8d;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:15px;
    box-shadow:0 2px 6px rgba(37,99,235,.15);
}
.process-list > li h4{
    margin:6px 0 6px;
    font-size:18px;
    font-weight:700;
    color:#0f3b8a;
    line-height:1.3;
}
.process-list > li p{
    margin:0;
    color:#475569;
    line-height:1.7;
    font-size:16px;
}
@media (max-width: 576px){
    .process-list::before{ left:14px; }
    .process-list > li{ padding-left:46px; padding-bottom:22px; }
    .process-list > li .step-num{ width:30px; height:30px; font-size:13px; border-width:2px; }
}

/* ---------- Before/After (twentytwenty) container sizing ---------- */
.ba-slider-block{
    max-width:720px;
    margin:32px auto;
}
.ba-slider-block .box img{
    display:block;
    width:100%;
    border-radius:12px;
}
.ba-slider-block .box{
    border-radius:12px;
    overflow:hidden;
}

.galerija-ba-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    margin:40px 0;
}
@media (max-width: 767px){
    .galerija-ba-grid{ grid-template-columns:1fr; gap:18px; }
}
/* Svaka kartica ima isti odnos stranica (4:3) â€“ slike se kropuju da popune okvir.
   Koristi se !important da bi se pregazili inline stilovi koje twentytwenty plugin
   automatski upiÅ¡e na .twentytwenty-container i .twentytwenty-wrapper. */
.galerija-ba-grid .box{
    max-width:100% !important;
    width:100% !important;
    aspect-ratio: 4 / 3 !important;
    height:auto !important;
    overflow:hidden;
    border-radius:12px;
    background:#eef2f6;
    position:relative;
}
.galerija-ba-grid .box img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    border-radius:12px;
    display:block;
}
/* Kada twentytwenty plugin obmota slike â€“ natera ga da popuni .box u celosti
   (plugin inline-uje width/height u px, zato !important). */
.galerija-ba-grid .box .twentytwenty-wrapper,
.galerija-ba-grid .box .twentytwenty-container{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    min-height:0 !important;
    border-radius:12px;
    position:absolute !important;
    top:0; left:0;
}
.galerija-ba-grid .box .twentytwenty-wrapper{
    padding:0 !important;
}
.galerija-ba-grid .box .twentytwenty-container img,
.galerija-ba-grid .box .twentytwenty-before,
.galerija-ba-grid .box .twentytwenty-after{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
}

/* ---------- Owl carousel sa slikama u prirodnoj veliÄini + moderne strelice ----------
   Klasa .natural-slider primenjena na owl-carousel daje:
   - slike u prirodnim dimenzijama, centrirane
   - strelice (prev/next) ispod slike u svetloplavoj paleti uskladjenoj sa .highlight-blue
   - moderne pill dots ispod strelica */
.natural-slider .vl-gallery-item{
    display:flex !important;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.natural-slider .vl-gallery-item img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:520px;
    margin:0 auto;
    display:inline-block;
}
@media (max-width: 767px){
    .natural-slider .vl-gallery-item img{ max-height:380px; }
}

/* Moderni nav (strelice) â€“ centrirano ispod slika */
.natural-slider .owl-nav{
    display:flex !important;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:18px;
}
.natural-slider .owl-nav button.owl-prev,
.natural-slider .owl-nav button.owl-next{
    position:static !important;
    transform:none !important;
    width:46px;
    height:46px;
    border-radius:50%;
    background:linear-gradient(135deg,#e3f2fd 0%,#dbeafe 100%) !important;
    color:#1a3b8d !important;
    border:1px solid #c7dcf5 !important;
    box-shadow:0 4px 12px rgba(37,99,235,.10);
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    font-size:16px;
    line-height:1;
    cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    opacity:1 !important;
    margin:0 !important;
    padding:0 !important;
}
.natural-slider .owl-nav button.owl-prev:hover,
.natural-slider .owl-nav button.owl-next:hover{
    background:linear-gradient(135deg,#dbeafe 0%,#c7dcf5 100%) !important;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(37,99,235,.18);
    color:#0f3b8a !important;
}
.natural-slider .owl-nav button.owl-prev:focus,
.natural-slider .owl-nav button.owl-next:focus{ outline:none !important; }
.natural-slider .owl-nav button.disabled{ opacity:.45 !important; cursor:not-allowed; }
.natural-slider .owl-nav i{ font-size:15px; }

/* Dots ispod â€“ moderniji izgled */
.natural-slider .owl-dots{
    display:flex !important;
    justify-content:center;
    gap:8px;
    margin-top:12px;
}
.natural-slider .owl-dots .owl-dot{ background:transparent !important; border:none !important; padding:0 !important; }
.natural-slider .owl-dots .owl-dot span{
    display:block;
    width:9px; height:9px;
    border-radius:50%;
    background:#cbd5e1;
    transition:all .25s ease;
    margin:0 !important;
}
.natural-slider .owl-dots .owl-dot.active span{
    background:#2563eb;
    width:26px;
    border-radius:6px;
}
.natural-slider .owl-dots .owl-dot:hover span{ background:#94a3b8; }

/* ---------- Contact button (reused from old protetika styles) ---------- */
.protetika-contact-btn{
    display:inline-block;
    padding:16px 40px;
    background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);
    color:#fff;
    font-size:16px; font-weight:600;
    text-decoration:none;
    border-radius:50px;
    transition:all .3s ease;
    box-shadow:0 4px 15px rgba(0,123,255,.3);
}
.protetika-contact-btn:hover{
    transform:translateY(-2px);
    background:linear-gradient(135deg,#0056b3 0%,#004085 100%);
    color:#fff; text-decoration:none;
    box-shadow:0 6px 20px rgba(0,123,255,.4);
}

/* ---------- Single image centering (when vl-blog-sm-thumb shown alone) ---------- */
.center-single-image{ margin-left:auto; margin-right:auto; }

/* ---------- Ordered lists inside content ---------- */
.vl-sidebar-conten2t ol,
.vl-sidebar-conten2t ul{ margin-left:22px; margin-top:12px; margin-bottom:16px; }
.vl-sidebar-conten2t ol li,
.vl-sidebar-conten2t ul li{ margin-bottom:10px; line-height:1.8; }

/* ---------- Image inside service page â€“ rounded ---------- */
.service-inline-image{
    margin:24px 0;
    border-radius:12px !important;
    overflow:hidden !important;
}
.service-inline-image img{ width:100%; display:block; border-radius:12px !important; }

/* ---------- Full-width header / navigation (razvuÄen meni od ivice do ivice) ---------- */
.vl-header-are4a,
.vl-header-are4a > .container{
    max-width:100%;
    width:100%;
}
.vl-header-are4a > .container{
    padding-left:0;
    padding-right:0;
    margin-left:0;
    margin-right:0;
}
.vl-header-are4a > .container > .row{
    margin-left:0;
    margin-right:0;
}
.vl-header-are4a > .container > .row > [class*="col-"]{
    padding-left:0;
    padding-right:0;
}
.vl-header-are4a .vl-logo{
    padding-left:20px;
}
.vl-header-are4a .vl-header-icon-box-fle4x,
.vl-header-are4a .vl-header-action-item{
    padding-right:20px;
    justify-content:flex-end;
}
@media (max-width: 767px){
    .vl-header-are4a .vl-logo{ padding-left:12px; }
    .vl-header-are4a .vl-header-icon-box-fle4x,
    .vl-header-are4a .vl-header-action-item{ padding-right:12px; }
}

/* ---------- Blog Q&A intro badge ---------- */
.qa-block{ margin:20px 0; }
.qa-block .qa-q{
    background:#eef6ff;
        border-radius:10px;
    padding:16px 20px;
    margin-bottom:12px;
    color:#0f3b8a;
    font-weight:600;
}
.qa-block .qa-a{
    background:#f8fafc;
    border-radius:10px;
    padding:16px 20px;
    line-height:1.8;
    color:#334155;
}

/* =====================================================
   Service cards – plavi izgled stalno + kruzni stiker
   ===================================================== */
.vl-single-service-bo4x.service-card-flat{
    background:#ffffff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 24px rgba(13, 71, 161, 0.08);
    height:auto !important;
    display:flex;
    flex-direction:column;
    transition:transform .25s ease, box-shadow .25s ease;
}
.vl-single-service-bo4x.service-card-flat:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(13, 71, 161, 0.15);
}

/* gornji deo – svetlo plava pozadina sa kruznim stikerom */
.vl-single-service-bo4x.service-card-flat .vl-thumb{
    background:#ffffff;
    border-radius:14px 14px 0 0 !important;
    height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    transition:none;
}
.vl-single-service-bo4x.service-card-flat .vl-thumb img{
    width:170px;
    height:170px;
    max-width:170px;
    border-radius:50% !important;
    object-fit:contain;
    background:#ffffff;
    border:4px solid #4BA6DD;
    padding:8px;
    box-shadow:0 6px 18px rgba(44, 142, 224, 0.18);
    transform:none !important;
    transition:transform .35s ease;
}
.vl-single-service-bo4x.service-card-flat:hover .vl-thumb img{
    transform:scale(1.05) !important;
}

/* donji deo – uvek plav, bez hover prelaza */
.vl-single-service-bo4x.service-card-flat .vl-content{
    background:#4BA6DD !important;
    border-radius:0 0 14px 14px !important;
    margin:0 !important;
    padding:28px 24px 26px !important;
    position:relative !important;
    flex:1 1 auto;
    transition:none !important;
}
.vl-single-service-bo4x.service-card-flat .vl-content .title,
.vl-single-service-bo4x.service-card-flat .vl-content .title a{
    color:#ffffff !important;
    transition:none !important;
}
.vl-single-service-bo4x.service-card-flat .vl-content .para{
    color:rgba(255,255,255,0.92) !important;
    transition:none !important;
}

/* up-arrow – beo kruzic sa plavom strelicom, u plavoj zoni kartice */
.vl-single-service-bo4x.service-card-flat .vl-content .vl-up-arrow{
    right:18px !important;
    top:18px !important;
}
.vl-single-service-bo4x.service-card-flat .vl-content .vl-up-arrow span{
    background:#ffffff !important;
    color:#4BA6DD !important;
    border:2px solid #ffffff !important;
    height:40px !important;
    width:40px !important;
    line-height:36px !important;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    transition:transform .25s ease;
}
.vl-single-service-bo4x.service-card-flat:hover .vl-content .vl-up-arrow span{
    background:#ffffff !important;
    color:#1f6fb5 !important;
    transform:rotate(-45deg) scale(1.08);
}

/* iskljuci sve hover-stage transformacije iz teme */
.vl-single-service-bo4x.service-card-flat:hover .vl-content{
    background:#4BA6DD !important;
}
.vl-single-service-bo4x.service-card-flat:hover .vl-content .title,
.vl-single-service-bo4x.service-card-flat:hover .vl-content .title a{
    color:#ffffff !important;
}
.vl-single-service-bo4x.service-card-flat:hover .vl-content .para{
    color:rgba(255,255,255,0.92) !important;
}

/* responsive */
@media (max-width: 767px){
    .vl-single-service-bo4x.service-card-flat .vl-thumb{ height:220px; }
    .vl-single-service-bo4x.service-card-flat .vl-thumb img{
        width:150px; height:150px; max-width:150px;
    }
}

/* Preloader – veci logo prilikom ucitavanja */
#loading-icon img{
    height:auto !important;
    width:300px !important;
    max-width:80vw !important;
    object-fit:contain;
}
@media (max-width: 575px){
    #loading-icon img{
        width:240px !important;
    }
}

/* "PRE I POSLE" naslov – plavi okvir u boji logotipa */
.pre-i-posle-naslov{
    border-color:#4BA6DD !important;
}

/* Breadcrumb baner – fiksna visina, naslov vertikalno centriran, levo poravnat */
@media (max-width: 991px){
    .vl-breadcrumb-area{
        height:380px !important;
        min-height:380px !important;
        max-height:380px !important;
        padding-top:100px !important;
        padding-bottom:0 !important;
        display:flex !important;
        align-items:center !important;
        overflow:hidden;
    }
    .vl-breadcrumb-area > .container{
        width:100%;
    }
    .vl-breadcrumb-area .vl-breadcrumb-content{
        text-align:left;
    }
    .vl-breadcrumb-area .vl-breadcrumb-content .title{
        font-size:36px !important;
        line-height:1.2 !important;
        margin:0 !important;
    }
}
@media (max-width: 575px){
    .vl-breadcrumb-area{
        height:340px !important;
        min-height:340px !important;
        max-height:340px !important;
        padding-top:90px !important;
    }
    .vl-breadcrumb-area .vl-breadcrumb-content .title{
        font-size:46px !important;
        line-height:1.15 !important;
    }
}

/* =====================================================
   Service carousel – razvuci od ivice do ivice (desktop)
   ===================================================== */
.vl-service-bg-4 .vl-service-carousel-row{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    padding-left:0;
    padding-right:0;
}
.vl-service-bg-4 .vl-service-carousel-row #servic4e-active{
    padding-left:0;
    padding-right:0;
}
.vl-service-bg-4 .vl-service-carousel-row #servic4e-active .owl-stage-outer{
    overflow:hidden;
}
