/* === Section 1 === */
.product-mountain-section {
    position: relative;
    width: 100%;
    min-height: 180vh;
    background: url('../assets/img/product5/ozon-planina-mob.webp') center/cover no-repeat;
    z-index: 2;
    padding: 0 12px;
    background-position-y: -15vh;
    background-color: #000;
}
.mountain-section-text {
    padding-top: 80px;
}
.mountain-section-text h2,
.mountain-section-text p {
    color: var(--white);
}
.mountain-section-text h2 {
    font-size: 46px;
    line-height: 1.04;
}
.mountain-section-text h2 span {
    color: var(--beige-color);
}
.mountain-section-text p {
    max-width: 640px;
    margin: 0px auto 0;
    margin-top: 40px;
    font-weight: 400;
    line-height: 26px;
    padding: 0 20px;
}
.ac-mountain-image {
    margin-top: 40vh;
    width: 100%;
}
.mountain-section-second-title {
    margin-top: -80px;
}
.card-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}
.frosted-card {
    max-width: 100px;
    padding: 40px 30px;
    padding: 20px 20px 10px 20px;
    /* border: 1px solid transparent; */
    border-radius: 10px;
    background: linear-gradient(0deg, rgba(115, 115, 115, 0.2) 0%, rgb(255, 255, 255, 0.3) 70%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color .8s ease, transform .8s ease-in-out;
}
.frosted-card h4 {
    color: var(--white);
    text-transform: uppercase;
    font-size:14px;
}
.frosted-card img {
    margin-bottom: 30px;
    transition: transform .8s ease-in-out;
    max-width: 50px;
    height: auto;
}
.frosted-card:hover {
    background-color: #D6B690;
}
.card-row .frosted-card:nth-child(1):hover img {
    transform: rotate(180deg);
}
.card-row .frosted-card:nth-child(2):hover img {
    transform: rotate(25deg);
}
.card-row .frosted-card:nth-child(3):hover img {
    transform: translateX(15px);
}
.mountain-section-third-title {
    margin-top: 60px;
    color: var(--white);
}
.mountain-section-third-title h2,
.mountain-section-third-title p {
    color: var(--white);
}
.mountain-section-third-title p {
    margin-top: 45px;
    max-width: 500px;
    margin: 30px auto 0;
    /* line-height: 1.4; */
}
.mountain-section-third-title span {
    background: linear-gradient(90deg, #FF0004 0%, #00A9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.ac-dark-image {
    width: 100%;
}
/* === Section 2 === */
.product-section-simple {
    position: relative;
    background-color: var(--white);
    padding: 60px 0;
    z-index: 2;
    text-align: center;
}
.product-section-simple p {
    margin-top: 25px;
}
.product-app-image {
    width: 100%;
}
.product-section-image {
    width: 70px;
}
/* === 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-height: 412px) {
    .product-mountain-section {
        min-height: 100vh;
    }
}
@media (min-width: 576px) {
    .frosted-card {
        max-width: calc(33.33% - 12px);
    }
}
/* MD - ≥768px */
@media (min-width: 768px) {
    .product-mountain-section {
        min-height: 120vh;
        background: url('../assets/img/product5/ozon-planina.webp') center/cover no-repeat;
        background-position-y: 0;
    }
    .product-section-simple {
        padding: 180px 0;
        text-align: left;
    }
    .product-section-simple h2 {
        margin-top: 40px;
    }
    .frosted-card {
        width: 180px;
        padding: 40px 30px;
    }    
    .frosted-card img {
        max-width: 70px;
    }
    .ac-mountain-image {
        margin-top:22vh;
    }
    .mountain-section-text h2 {
        font-size: 54px;
    }
    .mountain-section-text {
        padding-top:100px;
    }
    .frosted-card h4 {
        font-size: 24px;
    }
    .card-row {
        gap: 20px;
    }
    .mountain-section-second-title {
        margin-top: -120px;
    }
    .product-warranty {
        margin-top: -50vh !important; 
    }
}
/* LG - ≥992px */
@media (min-width: 992px) {
   .mountain-section-text {
        padding-top: 200px;
    }
    .product-mountain-section {
        min-height: 120vh;
    }
    .product-section-simple {
        padding: 220px 0;
    }
    .product-section-image {
        width: auto;
    }
    .frosted-card {
        max-width: 200px;
    }
    .ac-mountain-image {
        margin-top: 30vh;
    }
    .mountain-section-text h2 {
        font-size: 64px;
    }
    .mountain-section-second-title {
        margin-top: -180px;
    }

}
/* XL - ≥1200px */
@media (min-width: 1200px) {
    .mountain-section-third-title h2 {
        margin-bottom:45px;
    }
    .ac-mountain-image {
        margin-top: 800px;
    }
    .mountain-section-second-title {
        margin-top: -250px;
    }
    .product-section-simple {
        padding: 250px 0;
    }
    .frosted-card {
        width: 220px;
    }
    .frosted-card img {
        max-width: 100%;
    }
}
/* XXL - ≥1400px */
@media (min-width: 1400px) {
    .ac-mountain-image {
        width: auto;
        margin-top: 900px;
    }
    .ac-dark-image {
        width: auto;
    }
    .mountain-section-second-title {
        margin-top: -350px;
    }
    .product-mountain-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;        
        align-items: center;

    }
    .product-section-simple {
        padding: 280px 0;
    }
    .frosted-card {
        max-width: 220px;
    }
    .mountain-section-text p {
        padding:0;
    }
    .mountain-section-third-title {
        margin-top: 200px;
    }
    .mountain-section-text h2 {
        font-size: 72px;
    }
}

@media (min-width:1920px) {   
   .mountain-section-text {        
        padding-top: 280px;
    }
    .product-mountain-section {
        min-height: 120vh;        
    }
}


@media (min-width: 2048px) {
    .product-mountain-section {       
        min-height: 400vh;      
    }    
    .mountain-section-text {
        padding-top: 0px;
    }
    .ac-mountain-image {       
        margin-top: 0px;
    }
    .mountain-section-text p {
        padding: 0;
        margin-bottom: 200px;
    }   
    .mountain-section-text-holder {
        position: absolute;
        top:8%;
        left: 50%;
        transform: translateX(-50%);
    }
    .product-mountain-section {
        background-position: top 5% center;
    }
    
}
@media (min-width: 2560px) {
    .product-mountain-section {       
        min-height: 320vh;      
    }
    .mountain-section-text-holder {
        position: absolute;
        top:8%;
        left: 50%;
        transform: translateX(-50%);
    }
    
}
@media (min-width: 3440px) {
    .product-mountain-section {       
        min-height: 400vh;      
    }
    .mountain-section-text-holder {
        position: absolute;
        top:8%;
        left: 50%;
        transform: translateX(-50%);
    }
    .ac-mountain-image {
        width: 2000px;
    }
    .mountain-section-text h2 {
        font-size: 100px;
    }
    .mountain-section-text p {
        font-size: 24px;
    }
}

/* === SAFARI & IPHONE OPTIMIZATIONS === */
/* Safari backdrop-filter fix */
@supports not (backdrop-filter: blur(12px)) {
    .frosted-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-mountain-section {
        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-mountain-section {
        min-height: auto;
        height: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 60px;
    }
    
    .frosted-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(214, 182, 144, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .ac-mountain-image {
        margin-top: 20vh;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .mountain-section-text {
        padding-top: 60px;
    }
    
    .mountain-section-text h2 {
        font-size: 42px;
        line-height: 1.1;
    }
}

/* === ADDITIONAL SAFARI PERFORMANCE OPTIMIZATIONS === */
/* Force hardware acceleration on problematic elements - Safari/iOS only */
@supports (-webkit-touch-callout: none) {
    .frosted-card,
    .ac-mountain-image,
    .ac-dark-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Safari-specific scroll improvements - iOS Safari only */
@supports (-webkit-touch-callout: none) and (pointer: coarse) {
    .product-mountain-section {
        -webkit-overflow-scrolling: touch;
    }
}

