/* === SAFARI GLOBAL FIXES === */
/* Removed global fixes that interfere with fixed positioning */

/* === Section 1 === */
.product-heating-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../assets/img/product3/pingvin-bg-mob.jpg') center/cover no-repeat;
    z-index: 2;
    -webkit-overflow-scrolling: touch;
}
.desktop-only {
    display: none;
}
.product-heating-section h2 {
    color: var(--white);
    margin-top: 62px;
}
.product-heating-section p {
    color: var(--white);
    margin-top: 15px;
    font-weight: 400;
    line-height: 26px;
}
/* === Section 2 === */
.product-seasons-content {
    position: relative;
    z-index: 2;
}
.product-seasons-section {
    position: relative;
    width: 100%;
    height: 100%; /* ili koliko ti treba */
    overflow: hidden;
    z-index: 2;
}

.product-seasons-slider {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    animation: scroll-slider 10s linear infinite;
    width: max-content;
}

.product-seasons-slider img {
    width: 1889px;
    height: 100%;
    flex-shrink: 0;
}
@keyframes scroll-slider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1889px);
  }
}
.ac-image {
    width: 100%;
}
.product-seasons-section h2 {
    color: var(--white);
    margin-top: 100px;
    margin-bottom: 0;
}
.hot-cold-cards {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 32px 0 0 0;
    flex-wrap: wrap;
    margin-top: -20px;
    margin-bottom: 30px;
}
.hot-cold-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(153,153,153,0.3) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0px 4px 4px 0px #00000040;
}
.hot-cold-card-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-right: 8px; */
    margin-left: 20px;
    margin-bottom: 12px;
}
.hot-cold-card-icon img {
    width: 42px;
    display: block;
}
.hot-cold-card-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hot-cold-card-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    margin-bottom: 6px;
}
.hot-cold-card-subtitle {
    font-weight: 500;
    font-size: 23px;
    line-height: 23px;
    letter-spacing: -1px;
    text-align: center;
    color: #111;
    /* margin-top: 10px; */
}
/* === Section 3 === */
.product-section-simple {
    position: relative;
    background-color: var(--white);
    padding: 50px 0;
    z-index: 2;
    text-align: center;
}
.product-section-simple p {
    margin-top: 25px;
}
.product-app-image {
    margin-top: 20px;
    width: 100%;
}
.product-section-image {
    width: 70px;
}
/* === Section 4 === */
.product-cloud-bed {
    position: relative;
    width: 100%;
    height: 120vh;
    background: url('../assets/img/product3/bed-bg-mob.webp') center/cover no-repeat;
    z-index: 2;
}
.product-cloud-bed img {
    margin-top: 40px;
    margin-bottom: 22px;
}
.product-cloud-bed p {
    font-weight: 400;
    margin-top: 32px;
}

/* === Section 6 === */
.product-warranty {
    position: relative;
    margin-top: -100vh !important;
    z-index: 20 !important;
    padding-top: 100vh; 
    height: auto; 
    /* min-height: 100vh; */
    /* margin-top: -50vh !important;  */
}
/* === Section 7 === */
.table-section{
    z-index: 7!important;
}
/* === RESPONSIVE BREAKPOINTS === */
/* XS - default: <576px — ne treba poseban media query */
/* SM - ≥576px */
@media (min-width: 576px) {

}
/* MD - ≥768px */
@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
    .mobile-only {
        display: none;
    }
    .product-section-simple {
        padding: 180px 0;
        text-align: left;
    }
    .custom-padding-50 {
        padding: 0 50px;
    }
    .product-section-simple h2 {
        margin-top: 40px;
    }
    .product-warranty {
        margin-top: -500px!important;
    }
    .product-seasons-scroll {
        animation: scroll-bg 10s linear infinite;
    }
    .hot-cold-cards {
        gap: 12px;
    }
    .hot-cold-card {
        flex-direction: row;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        min-width: 280px;
    }
    .hot-cold-card-icon {
        margin-right: 8px;
        margin-left: 0;
        margin-bottom: 0;
    }
    .hot-cold-card-title {
        font-size: 29px;
        line-height: 28px;
    }
    .hot-cold-card-subtitle {
        font-size: 38px;
        line-height: 26px;
        margin-top: 10px;
    }
    .hot-cold-card-icon img {
        width: auto;
    }
    .product-heating-section {
        background: url('../assets/img/product3/pingvin-bg.webp') center/cover no-repeat;
    }
    .product-heating-section h2 {
        color: var(--white);
        margin-top: 100px;
    }
    .product-app-image {
        margin-top: 0;
    }
    .product-section-simple {
        padding: 100px 0;
    }
    .product-cloud-bed {
        background: url('../assets/img/product3/bed-bg.jpg') center/cover no-repeat;
    }
    .product-cloud-bed img {
        margin-top: 340px;
    }
    .product-warranty {
        margin-top: -50vh !important;
    }
}
/* LG - ≥992px */
@media (min-width: 992px) {
    .hot-cold-cards {
        margin-top: -80px;
        margin-bottom: 40px;
    }
    .product-section-simple {
        padding: 220px 0;
    }
    .product-heating-section {
        height: 120vh;
    }
    .product-heating-section h2 {
        margin-top: 50px;
    }
    .product-section-simple h2 {
        margin-top: 10px;
        font-size: 58px;
        line-height: 58px;
    }
    .product-cloud-bed {
        height: 120vh;
    }
    .hot-cold-cards {
        gap: 64px;
    }
    .ac-image {
        width: auto;
    }
}
/* XL - ≥1200px */
@media (min-width: 1200px) {
    .product-app-image {
        width: auto;
    }

    .hot-cold-cards {
        margin-top: -90px;
    }
    .product-section-simple {
        padding: 250px 0;
    }
    .product-cloud-bed img {
        margin-top: 150px;
    }
}
/* XXL - ≥1400px */
@media (min-width: 1400px) {
    .hot-cold-cards {
        margin-top: -100px;
    }
    .product-section-simple {
        padding: 280px 0;
    }
    .product-cloud-bed img {
        margin-top: 180px;
    }
}
@media (min-width: 1920px) {
    .product-heating-section {
        height: 100vh;
    }
    .product-heating-section h2 {
        margin-top: 85px;
    }
    .product-section-image {
        width: auto;
    }
    .product-section-simple h2 {
        margin-top: 40px;
        font-size: 68px;
        line-height: 68px;
    }
    .product-cloud-bed {
        height: 100vh;
    }
    .product-cloud-bed img {
        margin-top: 340px;
    }
}
@media (min-width: 2560px) {
    .product-heating-section h2 {
        margin-top: 160px;
    }
}

/* === SAFARI & IPHONE OPTIMIZATIONS === */
/* Safari backdrop-filter fix */
@supports not (backdrop-filter: blur(8px)) {
    .hot-cold-card {
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* iOS Safari background image fix */
@supports (-webkit-touch-callout: none) {
    .product-heating-section {
        background-attachment: scroll;
        -webkit-background-size: cover;
        background-size: cover;
    }
    
    .product-cloud-bed {
        background-attachment: scroll;
        -webkit-background-size: cover;
        background-size: cover;
    }
}

/* iPhone specific fixes - iOS Safari only */
@supports (-webkit-touch-callout: none) and (pointer: coarse) {
    .product-heating-section {
        height: auto;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-cloud-bed {
        height: auto;
        min-height: 120vh;
    }
    
    .hot-cold-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .product-seasons-slider {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        animation: scroll-slider-ios 10s linear infinite;
    }
}

/* iOS specific slider animation */
@keyframes scroll-slider-ios {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-1889px);
        transform: translateX(-1889px);
    }
}

/* === ADDITIONAL SAFARI PERFORMANCE OPTIMIZATIONS === */
/* Force hardware acceleration on problematic elements - Safari/iOS only */
@supports (-webkit-touch-callout: none) {
    .product-seasons-slider {
        will-change: transform;
    }
}















.circle {
    position: absolute;
    border-radius: 50%;
    background: rgb(0, 212, 233);
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 233, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    animation: pulse-animation 2s infinite;
    z-index: -1;
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}
/* Veličine i pozicije za svaki krug */
.circle-1 { width: 15px; height: 15px; top: 80%; left: 7%; }
.circle-2 { width: 35px; height: 35px; top: 45%; left: 15%; }
.circle-3 { width: 10px; height: 10px; top: 6%; left: 35%; }
.circle-4 { width: 15px; height: 15px; top: 93%; left: 36%; }
.circle-5 { width: 8px;  height: 8px;  top: 45%; left: 75%; }
.circle-6 { display: none; width: 18px; height: 18px; top: 50%; left: 85%; }
.circle-7 { width: 30px; height: 30px; top: 75%; left: 60%; }
.circle-8 { display: none; width: 15px; height: 15px; top: 32%; left: 80%; }
.circle-9 { display: none; width: 25px; height: 25px; top: 35%; left: 60%; }
/* MD - ≥768px */
@media (min-width: 768px) {
    .circle-1 { top: 70%; left: 10%; }
    .circle-3 { top: 6%; left: 15%; }
    .circle-7 { width: 30px; height: 30px; top: 90%; left: 90%; }
}
/* LG - ≥992px */
@media (min-width: 992px) {
    .circle-3 { top: 6%; left: 35%;}
    .circle-6 { display: block; }
    .circle-7 { width: 30px; height: 30px; top: 80%; left: 90%; }
    .circle-8 { display: block; }
    .circle-9 { display: block; }
    .sixth-section-home img {
        width: 460px;
    }
}