.section-1-inverter {
    position: relative;    
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.section-1-content,
.section-2-content-inverter {
    padding: 0;
}
.section-1-overlay {
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    padding: 45px 30px 56px 30px;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-transform: translate3d(0,0,0); /* Za širu kompatibilnost */
    transform: translate3d(0,0,0);
    will-change: transform;
}
.section-1-title {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.05;
}
.section-1-subtitle {
    color: #00D4E9;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}
.section-2-inverter {
    background-image: url(/assets/img/klima3/ozon-klima-udobnost-mob.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100svh;
    padding-bottom: 5svh;
    display: flex;
    align-items: flex-end;
    justify-content: center;    
    position: relative;
    z-index: 2;    
}
.crni-naslov {
    line-height: 1.05;
}
.section-2-content-inverter {
    position: relative;
    text-align: center;
}
.section-2-content-inverter p {
    color:#000;
    padding: 0 29px;
    font-weight: 400;
    margin-top: 8px;    
}
.infobox-subtitle-desk {
    display: none;
}
.infobox-subtitle {
    font-size: 20px;
    text-align: center;
    color: #fff;
}
.section-3 {
    background-image: url(/assets/img/klima3/inverter-klima-na-ledu-mob.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 110svh;
    width: 100%;
    position: sticky;
    top:0;
    z-index: 3;
    isolation: isolate; /* Kreira novi stacking context - sprečava konflikte sa fixed pseudo-elementom */
}
.section-4 {
    z-index: 4;
}
.section-4-2 {
    z-index: 5;
}
.section-4,
.section-4-2 {
    width: 100%;
    position: sticky;    
    top: 77svh;
}
.section-4-content {   
    position: relative;    
    bottom: 60svh;
}
.section-4-3 { 
    display: flex;
    position: sticky;
    top: 100svh;
    z-index: 6;
    color: #fff;
}
.section-4-3-content {
    position: relative;
    bottom: 30svh;
}
.central-txt p {
    color: #fff;
    text-align: center;
    font-weight: 700;
}
.central-txt {
    max-width: 100%;
    margin: 0 auto;
}
.final-row-1,
.final-row-2 {    
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    width: 100%;    
}
.final-row-1 {
    justify-content: flex-start;
    margin-bottom: 15px;   
}
.final-row-2 {
    justify-content: flex-end;
}
.infobox-subtitle {
    font-size: 20px;
    text-align: center;
    color: #fff;
    font-weight: 400;
    line-height: 1.05;
}
.infobox-subtitle1 {
    text-align: center;
    color: #fff;
    line-height: 1.05;
}
.mrg-top {
    margin-top: 25px;
    margin-bottom: 25px;
}
.empty-div {
    height: 7px;
}
.parallax-image-home1,
.parallax-image-holder-home1 {   
    width: 50%;
}
.holder-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 9px;
    padding:30px 0 20px 0px;
    box-sizing: border-box;
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    background-color: rgba(0, 0, 0, 0.2);
    margin-right: 4px;   
}
.bez-inb-mob {
    display: inline-block;
}
.bez-inb-desk {
    display: none;
}
.sa-inb-mob {
    display: inline-block;
}
.sa-inb-desk {
    display: none;
}
.blue-bcg {
    background-color: rgba(0, 212, 233, 0.6); 
    margin-right: 0px;
    margin-left: 4px;
}
.ozon-logo {
    margin: 10px 0px;
    max-width: 100px;
    display: inline-block;       
}
.section-5 {
    background-image: url(/assets/img/klima3/grejanje-15-stepeni-mob.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 110svh;
    position: sticky;
    top: 0;
    z-index: 7;
}
.section-6 {
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    padding-bottom: 10svh;
    z-index: 8;
}

.info-box1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}
.info-box1 img {
    max-width: 90px;
    margin-bottom: 12px;   
}
.infobox-title1 {
    text-align: center;
    color: #fff;    
    padding: 8px 18px 0 18px;
}
.section-7 {
    position: relative;
    background-image: url(/assets/img/klima3/inverter-kasica-prasica-mob.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100svh;
    padding-bottom: 5svh;
    z-index: 9;
}
.section-7-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-7-title {
    text-align: center;
    padding: 0 18px 20px 18px;
}
.section-7-subtitle {
    text-align: center;
    line-height: 1.05;
}
.section-7-img img {
    max-width: 140px;
}
.section-8 {
    text-align: center;
    position: relative;
    min-height: 10svh;
    background-color: #fff;
    padding: 75px 0 0 0;
    z-index: 10;
}
.section-8-title {
    line-height: 1.05;
    margin-bottom: 0;
}
.see-all-products {   
    z-index: 11;
}
/* === SAFARI & IPHONE OPTIMIZATIONS === */

/* Global Safari/iOS fixes for fixed backgrounds and hardware acceleration */
/* === GENERALNI MODERN CSS FIX ZA SVE PREGLEDAČE === */

/* Pseudo-element pozadina za sve moderne pregledače - bolje performanse od background-attachment: fixed */
.section-1-inverter {
    background-attachment: scroll !important; /* Ukloni fixed za sve pregledače */
    background-image: none !important; /* Ukloni originalnu sliku */
    position: relative; /* Bitno za z-index i kontekst pseudo-elementa */
    overflow: hidden; /* Sprečava curenje sadržaja */
}

/* Kreiramo fiksirani pseudo-element koji će služiti kao pozadina */
.section-1-inverter::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/klima3/Inverter-klima-spavaca-soba-mob.jpg'); /* Mobilna slika */
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: left top; */
    z-index: -1; /* Mora biti iza sadržaja .section-1-inverter */
    -webkit-transform: translateZ(0); /* Hardverska akceleracija za glatkoću */
    transform: translateZ(0);
    will-change: transform;
}

/* Safari/iOS specifični fix - samo za dodatne optimizacije */
@supports (-webkit-touch-callout: none) {
    .section-3 {
        position: -webkit-sticky;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }
    .section-4 {
        position: -webkit-sticky;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }
    .section-4-2 {
        position: -webkit-sticky;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }
    .section-5 {
        position: -webkit-sticky;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }  
}

/* iPhone specific fixes - iOS Safari only (detekcija dodirnog ekrana) */
@supports (-webkit-touch-callout: none) and (pointer: coarse) {
    /* Poboljšanje skrolovanja unutar elemenata za touch uređaje */
    body, html {
        -webkit-overflow-scrolling: touch;
    }

    /* Fix za stabilnu visinu na iOS-u - koristi lvh umesto svh */
    .section-1-inverter {
        min-height: 100lvh !important; /* Large viewport height - ignorise UI promene */
        height: 100lvh !important; /* Fiksira visinu */
    }
}
@media (max-width: 320px) {    
    .crni-naslov,    
    .infobox-subtitle1 {
        font-size: 42px;        
    }
    .section-2-inverter {
        background-position-x: 50%;
        min-height: 145svh;
    }
    .section-4-3-content {
        bottom: 25svh;
    }
    .central-txt p {
        font-size: 16px;
    }
}
/* Za uže mobilne uređaje sa visinom od 600px i više */
@media (min-width: 320px) and (max-width: 389px) and (min-height: 600px) {
    .section-2-inverter {
        min-height: 127svh;
        padding-bottom: 7svh;
    }
    .section-7 {
        min-height: 113svh;
        padding-bottom: 10svh;
    }
}

/* Za uže mobilne uređaje sa visinom od 700px i više */
@media (min-width: 320px) and (max-width: 389px) and (min-height: 700px) {
    .section-2-inverter {        
        min-height: 110svh;
    }
    .section-7 {
        min-height: 100svh;
        padding-bottom: 10svh;
    }
    .section-4-3-content {
        bottom: 32svh;
    }
}

/* Za uže mobilne uređaje sa visinom od 750px i više */
@media (min-width: 320px) and (max-width: 389px) and (min-height: 750px) {
    .section-2-inverter {       
        min-height: 107svh;
    }
}

/* Za uže mobilne uređaje sa visinom od 800px i više */
@media (min-width: 320px) and (max-width: 389px) and (min-height: 800px) {
    .section-2-inverter {        
        min-height: 100svh;
        padding-bottom: 5svh;
    }
    .section-7 {
        min-height: 92svh;
        padding-bottom: 8svh;
    }
}

/* Za uže mobilne uređaje sa visinom od 850px i više */
@media (min-width: 320px) and (max-width: 389px) and (min-height: 850px) {
    .section-2-inverter {
        min-height: 105svh;
    }
}

/* Za uže mobilne uređaje sa visinom od 900px i više */
@media (min-width: 320px) and (max-width: 389px) and (min-height: 900px) {
    .section-2-inverter {
        min-height: 100svh;
    }
}

/* ------------------------------------------------------------------- */
/* MEDIA KVERIJI ZA ŠIRE MOBILNE UREĐAJE (npr. širina od 390px do 767px) */
/* ------------------------------------------------------------------- */

/* Za šire mobilne uređaje sa visinom od 600px i više */
@media (min-width: 390px) and (max-width: 767px) and (min-height: 600px) {
    .section-2-inverter {
        min-height: 125svh;
    }
}

/* Za šire mobilne uređaje sa visinom od 700px i više */
@media (min-width: 390px) and (max-width: 767px) and (min-height: 700px) {
    .section-2-inverter {
        min-height: 108svh;
    }
}

/* Za šire mobilne uređaje sa visinom od 750px i više */
@media (min-width: 390px) and (max-width: 767px) and (min-height: 750px) {
    .section-2-inverter {
        min-height: 110svh;
    }
}

/* Za šire mobilne uređaje sa visinom od 800px i više */
@media (min-width: 390px) and (max-width: 767px) and (min-height: 800px) {
    .section-2-inverter {
        min-height: 90svh;
        padding-bottom: 5svh;
    }
    .section-7 {
        min-height: 88svh;
        padding-bottom: 8svh;
    }
    .section-4-3-content {
        bottom: 42svh;
    }
}

/* Za šire mobilne uređaje sa visinom od 850px i više */
@media (min-width: 390px) and (max-width: 767px) and (min-height: 850px) {
    .section-2-inverter {
        min-height: 87svh;
    }
    .section-7 {
        min-height: 82svh;
        padding-bottom: 7svh;
    }
    .section-4-3-content {
        bottom: 42svh;
    }
}

/* Za šire mobilne uređaje sa visinom od 900px i više */
@media (min-width: 390px) and (max-width: 767px) and (min-height: 900px) {
    .section-2-inverter {
        min-height: 85svh;
    }
    .section-7 {
        min-height: 73svh;
        padding-bottom: 7svh;
    }
}

@media (min-width: 540px) {
    .section-2-inverter {
        min-height: 120svh;
        padding-bottom: 7svh;
    }
    .section-7 {
        min-height: 125svh;
        padding-bottom: 20svh;
    }
}

@media (min-width: 768px) {
    .bez-inb-mob {
        display: none;
    }
    .bez-inb-desk {
        display: inline-block;
    }
    .sa-inb-mob {
        display: none;
    }
    .sa-inb-desk {
        display: inline-block;
    }
     .section-1-inverter::before {
        background-image: url(/assets/img/klima3/Inverter-klima-spavaca-soba.webp);
        background-position-x: 45%;
    }
    .section-2-inverter {
        background-image: url(/assets/img/klima3/ozon-klima-udobnost-md.jpg);
        background-position-x: 73%;
        padding-bottom: 8svh;
        min-height: 100svh;
        position: sticky;
        top:0;
        isolation: isolate; /* Kreira novi stacking context - sprečava konflikte sa fixed pseudo-elementom */
    }
    .section-2-left-content-inverter {
        max-width: 75%;
        margin: 0 auto;
    }
    .section-4, .section-4-2 {
        top: 73svh;
    }
    .holder-text {
        margin-right: 8px;       
    }
    .blue-bcg {
        margin-right: 0px;
        margin-left: 8px;
    }   
    .section-3 {
        background-image: url(/assets/img/klima3/inverter-klima-na-ledu-md.jpg);
    }
    .section-4-3-content {   
        position: relative;    
        bottom: 30svh;
    }
    .central-txt {
        max-width: 70%;
    }
    .section-5 {
        background-image: url(/assets/img/klima3/grejanje-15-stepeni.webp);
        background-position-x: 50%;
    }
    .section-6 {
        position: relative;
        top: 50%;
        transform: translateY(-45%);        
        backdrop-filter: none;
        -webkit-backdrop-filter: none; 
        background-color: transparent;        
    }
    .info-box1 {
        max-width: 70%;
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(11px);
        -webkit-backdrop-filter: blur(11px);
        border-radius: 32px;
        padding: 70px 45px 65px 45px; 
    }
    .section-7 {
        background-image: url(/assets/img/klima3/inverter-kasica-prasica-md.webp);
        min-height: 100svh;
        padding-bottom: 10svh;
    }
    .section-7-overlay {
        max-width: 75%;
        margin: 0 auto;
    }
    .section-1-overlay {
        position: fixed;
        top: 50%;
        transform: translateY(-45%);
        padding: 85px 60px 75px 60px;
        border-radius: 32px;
    }
    .holder-text {
        border-radius: 32px;
    }
    @supports (-webkit-touch-callout: none) {
        .section-2-inverter {
            position: -webkit-sticky;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            will-change: transform;
        }
        .section-4-3 {
            position: -webkit-sticky;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            will-change: transform;
        }
    }
}

@media (min-width: 992px) {
    .section-1-title {
        font-size: 64px;
    }
    .section-4-3-content {        
        bottom: 38svh;
    }
    .section-4-content {
        max-width: 55%;
    }
    .section-1-overlay {
        transform: translateY(-60%);        
    }
    .info-box1 {
        max-width: 55%;        
        /* padding: 70px 40px 60px 40px;  */
        padding: 65px 35px 60px 30px;
    }
    .section-7 {        
        min-height: 80svh;        
        align-items: center;
    }
    .section-7-overlay {
        max-width: 48%;
        margin: 0;
    }   
}
@media (min-width: 1024px) {
    .section-7-overlay {       
        margin: 0 auto;
    }
    .section-2-content-inverter p {
        margin-top: 18px;
    }
    .section-7-title {
        margin-top: 18px;
    }
}
@media (min-width: 1024px) and (max-height: 1400px) {
    .section-2-content-inverter {
        padding-bottom: 4svh;
    }
    .holder-text {
        padding: 30px 20px 20px 20px;
    }
    .section-4-content {
        max-width: 75%;
    }
    .section-4-3-content {
        bottom: 45svh;
    }
    .section-7 {
        align-items: flex-end;        
    }
    .section-4-content {        
        bottom: 60svh;
    }
}
@media (min-width: 1024px) and (max-height: 800px) {
    .section-1-overlay {
        transform: translateY(-40%);
    }
    .section-2-inverter {
        align-items: center;
        background-image: url(/assets/img/klima3/ozon-klima-udobnost.webp);
        background-position-x: center;
    }
    .section-2-left-content-inverter {
        align-content: flex-start;
        margin: 0;
        max-width: 500px;        
    }    
    .section-3 {
        background-image: url(/assets/img/klima3/inverter-klima-na-ledu.webp);       
    }   
    .section-4-content {
        max-width: 50%;
        bottom: 58svh;
    }
    .section-4-3 {
        top: 120svh;
    }
    .holder-text {
        padding: 30px 20px 20px 20px;
    }
    .section-7-overlay {
        margin: 0;
    }
    .section-7 {
        background-image: url(/assets/img/klima3/inverter-kasica-prasica.webp);
        min-height: 100svh;
        justify-content: flex-start;
        align-items: center;
        padding-bottom: 0svh;       
    }    
}

@media (min-width: 1200px) {
    .crni-naslov,
    .infobox-subtitle1,
    .section-7-subtitle,
    .section-8-title {
        font-size: 58px;;
    }
    
    .section-2-inverter,
    .section-3{
        background-position: left top;
    }
     .section-1-inverter::before {
        background-image: url(/assets/img/klima3/Inverter-klima-spavaca-soba.webp);
        background-position-x: left top;
    }
    .section-1-title {
        font-size: 64px;
    }
    .section-1-subtitle {
        font-size: 29px;
        line-height: 1.1;
    }
    .section-2-inverter {
        align-items: center;
        background-image: url(/assets/img/klima3/ozon-klima-udobnost.webp);
        background-position-x: center;
    }
    .section-2-content-inverter {
        padding-bottom: 0svh;
    }
    .section-2-left-content-inverter {
        margin: 0;
        max-width: 600px;
    }
    .section-3 {
        background-image: url(/assets/img/klima3/inverter-klima-na-ledu.webp);
        /* background-position-x: center; */
    }
    .section-4, 
    .section-4-2 {
        top: 60svh;
    }
    .section-4-content {
        max-width: 53%;
        bottom: 45svh;
    }
    .section-4-3-content {
        bottom: 40svh;
    }
    .holder-text {
        padding-top: 30px;
    }
    .sa-inb-desk,
    .bez-inb-desk {
        max-width: 90%;
    }
    .info-box1 {
        max-width: 45%;
    }
    .infobox-subtitle-desk {
        display: block;
    }
    .infobox-subtitle-mob {
        display: none;
    }
    .central-txt {
        max-width: 60%;
    }
    .section-7 {
        background-image: url(/assets/img/klima3/inverter-kasica-prasica.webp);
        min-height: 100svh;
        align-items: center;
        padding-bottom: 0svh;     
    }
    .section-7-overlay {
        max-width: 47%;
        margin: 0;
    }    
}

@media (min-width: 1280px) and (max-height: 1024px) {
    .section-4-content {
        max-width: 65%;
    }
    .section-4-3-content {
        bottom: 25svh;
    }
    .info-box1 {
        max-width: 50%;
    }
}
@media (min-width: 1280px) and (max-height: 800px) {
    .section-4-content {
        max-width: 53%;
    }
    .section-4-3-content {
        bottom: 40svh;
    }
    .info-box1 {
        /* max-width: 55%; */
        max-width: 45%;
    }
}
@media (min-width: 1300px) {
    .section-4-content {
        max-width: 50%;
    }
    .section-4-3-content {
        bottom: 38svh;
    }
    .info-box1 {
        max-width: 46%;
    }    
}
@media (min-width: 1400px) {
    .sa-inb-desk, .bez-inb-desk {
        max-width: 100%;
    }
    .section-2-left-content-inverter {
        max-width: 40%;
        margin-left: 8%;
    }
    .section-4-content {
        max-width: 55%;
    }
    .central-txt {
        max-width: 50%;
    }
    .info-box1 {
        max-width: 42%;
    }
    .section-7-overlay {
        max-width: 38%;
        margin-left: 8%;
    }
}
@media (min-width: 1400px) and (max-height: 1050px) {
    .section-1-overlay  {
        margin-left: 6%;
    }
    .section-4-3-content {
        bottom: 25svh;
    }
    .section-4-content {
        max-width: 60%;
    }
    .info-box1 {
       margin-left: 3%;
    }
}
@media (min-width: 1400px) and (max-height: 900px) {
    .holder-text {
        padding: 30px 15px 0px 15px;
    }
    .section-4-content {
        max-width: 55%;
    }
    .section-4-3-content {
        bottom: 39svh;
    }
    .central-txt {
        max-width: 40%;        
    }
}
@media (min-width: 1500px) {
    .section-4-3-content {
        bottom: 23svh;
    }
    .section-2-left-content-inverter {
        margin-top: 5svh;
    }
    .section-2-left-content-inverter {
        max-width: 50%;
        margin-left: 0%;
    }   
}
@media (min-width: 1536px) {
    .section-4-3-content {
        bottom: 35svh;
    }
}
@media (min-width: 1600px) {   
    .section-1-overlay  {
        margin-left: 0%;
    }
    .section-4-content {
        max-width: 50%;
    }
    .holder-text {
        padding: 30px 20px 0px 20px;
    }
}
@media (min-width: 1600px) and (max-height: 1200px) {
    .section-2-left-content-inverter {       
        margin-top: 0%;
    }
    .section-4-content {
        max-width: 70%;
    }
    .section-4-3-content {
        bottom: 25svh;
    }
    .section-7-img img {
        max-width: 180px;
    }
}
@media (min-width: 1600px) and (max-height: 900px) {
    .section-4-content {
        max-width: 50%;
    }
    .section-4-3-content {
        bottom: 38svh;
    }
}
@media (min-width: 1680px) {
    .section-4-content {
        max-width: 55%;
    }
    .section-4-3-content {
        bottom: 23svh;
    }
    .central-txt {
        max-width: 40%;
    }
}
@media (min-width: 1920px) {
    .section-1-title,
    .crni-naslov,
    .infobox-subtitle1,
    .section-7-subtitle,
    .section-8-title {
        font-size: 72px;
    }    
    .section-1-subtitle {
        font-size: 29px;
    }
    .section-2-left-content-inverter {
        max-width: 42%;       
    }
    .section-2-inverter {       
        padding-bottom: 0svh;
    }
    .section-4-3-content {
        bottom: 18svh;
    }
    /* .section-4-2 .section-4-content {
        bottom: 60svh;
    }
    .section-4-2 {
        top: 75svh;
    } */
    .info-box1 {
        max-width: 45%;
        margin-left:0;
        padding: 75px 50px 70px 50px;
    }
    .section-7-overlay {
        margin-left: 0;
        max-width: 39%;
    }
    .infobox-subtitle {
        font-size: 30px;
    }
    .section-7-img img {
        max-width: 250px;
    }    
}
@media (min-width: 2048px) {
    .section-4-3-content {
        bottom: 21svh;
    }
    .section-2-left-content-inverter {        
        margin-top: 0%;
        margin-left: -5%;
        max-width: 50%;
    }
    .section-4-content {
        max-width: 45%;
    }
    .section-4-3-content {
        bottom: 30svh;
    }
    .holder-text {
        padding: 30px 20px 20px 20px;
    }
}
@media (min-width: 2560px) {
    .info-box1  {
        max-width: 46%;
        margin-left: -3%;
        padding: 80px 50px 70px 50px;
    }
}