/* =================================================================
 * HERO SLIDER (Mobile-First)
 * ================================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100svh;
    z-index: 1;
}

.slider,
.slider-mob {
    height: 100%;
}

.slider .slick-list,
.slider .slick-track,
.slider .slick-slide,
.slider-mob .slick-list,
.slider-mob .slick-track,
.slider-mob .slick-slide,
.slider-tab .slick-list,
.slider-tab .slick-track,
.slider-tab .slick-slide {
    height: 100% !important;
}

.slider-mob img {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Tablet slider styles */
.slider-tab img {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.slider-tab .slide.slide-bg,
.fenovi-slider-tab {
    display: flex;
    width: 100%;
    height: 50vh !important;
    min-height: 50vh !important;
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
}

.slider-mob .slide.slide-bg,
.fenovi-slider-mob {
    margin-top: 60px;
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
}

.slider .slide.slide-bg,
.fenovi-slider-desk {
    display: flex;
    width: 100%;
    height: 100vh !important;
    min-height: 100vh !important;
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
}

.slider .slick-prev,
.slider .slick-next,
.slider-mob .slick-prev,
.slider-mob .slick-next,
.slider-tab .slick-prev,
.slider-tab .slick-next {
    background: transparent;
    border: none;
    outline: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    font-size: 0;
    line-height: 0;
    padding: 0;
    cursor: pointer;
}

.slider .slick-prev:before,
.slider .slick-next:before,
.slider-mob .slick-prev:before,
.slider-mob .slick-next:before,
.slider-tab .slick-prev:before,
.slider-tab .slick-next:before {
    content: '' !important;
    display: none;
}

.slick-prev {
    left: 8px !important;
    right: auto !important;
    background-image: url('/assets/img/fenovi/arrow-previous.png') !important;
}

.slick-next {
    right: 8px !important;
    left: auto !important;
    background-image: url('/assets/img/fenovi/arrow-next.png') !important;
}

/* =================================================================
 * PARALLAX SEKCIJA
 * ================================================================= */
.parallax-section.hair-signature-section {
    position: relative;
    margin-top: 0;
    z-index: 8;
    overflow: hidden;
    min-height: 100vh;
    background-image: url('/assets/img/fenovi/kosa-licni-potpis-ozon-fen-mob.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-section.hair-signature-section .parallax-content {
    position: relative;
    min-height: 100vh;
}

.parallax-section.hair-signature-section .text-overlay {
    position: absolute;
    top: 8%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    padding: 0 28px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.parallax-title {
    width: 100%;
    display: block;
    padding: 24px 20px 20px 20px;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    background-image: linear-gradient(to bottom, #D4BCA2 0%, #7A573B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #7A573B;
    overflow: visible;
}

.title-part-1 {
    display: block;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 35px;
    line-height: 0.2;
}

.title-part-2 {
    display: block;
    font-family: 'Hurricane', cursive;
    font-weight: 400;
    font-size: 66px;
    line-height: 1.1;
}

.parallax-paragraph {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
    max-width: 90%;
    color: #7A573B;
}

/* =================================================================
 * STILOVI ZA FIKSNU POZADINU STATUE (REVEAL)
 * ================================================================= */
.reveal-fixed-background {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 7;
    background-image: url('/assets/img/fenovi/zenska-statua-detalji-u-kosi-mob.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: -100svh;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.reveal-fixed-background .content-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 42%;    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 22svh;
    box-sizing: border-box;
    z-index: 2;    
    background-image: linear-gradient(to bottom, #D4BCA2 0%, #D4BCA2 60%, #7A573B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal-title {
    font-family: 'Hurricane', cursive;
    font-weight: 400;   
    font-size: 54px;
    /* color: #7A573B; */
    text-align: center;
    max-width: 90%;
    display: none;
}

.next-content-placeholder {
    height: 75vh;
    position: relative;
    z-index: 7;
}

/* =================================================================
 * TECHNOLOGY SECTION (Tehnologija stvorena za kosu kojom se ponosite)
 * ================================================================= */
.technology-section {
    /* position: sticky;
    position: -webkit-sticky; */
    position: relative;
    top:0;
    z-index: 7;
    padding: 48px 0;
    background-image: url('/assets/img/fenovi/zena-sa-roze-frizurom-mob.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100svh;
    /* -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform; */
}

.technology-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.technology-content {
    width: 90%;
    box-sizing: border-box;
    text-align: center;
}

.technology-title {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 300;
    font-size: 35px;
    margin: 0 0 0.75rem 0;
    line-height: 1.05;
    text-transform: uppercase;    
    display: inline-block;
    background-image: linear-gradient(to bottom, #D4BCA2 0%, #D4BCA2 25%, #7A573B 75%, #7A573B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.technology-title-sub {
    display: block;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 300;    
    color: #7A573B;
    margin-top: 6px;
}

.technology-paragraph {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    color: #7A573B;    
}

.technology-lead {    
    color: #7A573B;
    margin-bottom: 16px;
}

.tech-title--desktop { display: none; }
.tech-title--mobile { display: block; }

/* =================================================================
 * OZON BENEFITS SECTION
 * ================================================================= */

.ozon-benefits-section {
    padding: 70px 0 0 0;
    background-image: url('/assets/img/fenovi/prednosti-ozon-fenova-mob.jpg');
    position: relative;
    z-index: 10; 
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 100svh;
    overflow: hidden;
}

.ozon-benefits-title {
    color: #D4BCA2;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 300;
    text-align: center;
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 32px;
    position: static;
}

.benefits-layout {
    display: flex;
    flex-direction: column; 
    align-items: center;
    position: relative;
    width: 100%;
    height: 100svh;    
}

.fen-image-container {
    width: 55%;
    margin: 0 auto;
    order: 3;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* overflow: hidden; */
}

.ozon-fen-image-desk {
    display: none;
}
.ozon-fen-image-mob {
    display: none;
}
.ozon-fen-image {
    width: 100%;
    height: auto;
    display: block; 
}

.benefits-grid {
    position: relative; 
    top: auto;
    left: auto;
    transform: none;
    order: 1; 
    width: 100%;
    max-width: 400px; 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto; 
    gap: 15px 5px;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 2; /* Iznad fena */
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0; 
}
.benefit-icon-img {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
}

.benefit-item img {
    width: 100%;
    height: auto;   
}
.benefit-text-mob {
    display: block;
}
.benefit-text-desk {
    display: none;
}

.benefit-text {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

.benefit-note {
    position: relative;
    left: auto;
    transform: none;
    z-index: 3;    
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 7px;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 80%;
    margin: 20px auto;
    order: 2;
}

/* =================================================================
 * hair-shine-section
 * ================================================================= */
.hair-shine-section {
    position: relative;
    z-index: 8;
    height: 150svh;   
    background: linear-gradient(to right,    
    #CCA787 0%,   
    #D1AA8D 26%,    
    #D2AA90 53%,    
    #D0A98B 76%,    
    #CBA286 100%
  );   
}

.shine-content {
    display: none;    
}
.shine-title-desk {
    display: none;
}

.shine-title-mob {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 300;
    font-size: 35px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.05;
    text-transform: uppercase;    
    display: inline-block;
    text-align: center; 
}

.shine-paragraph {    
    font-weight: 300;
    font-size: 16px;   
    color: #fff;   
}

.timer-container {
    display: none;
}
.shine-title-mob { display: block; }
.shine-title-desk { display: none; }

/* =================================================================
 * RESPONSIVE
 * ================================================================= */
@media (max-width: 320px) {
    .parallax-section.hair-signature-section .text-overlay {
        top: 4%;
    }

    .parallax-title {
        margin-bottom: 0;
    }    
}

@media (min-height: 568px) {
    .parallax-section.hair-signature-section {
        min-height: 120svh;
    }
    .ozon-benefits-section {        
        height: 130svh;
    }
    .technology-section {
        height: 160svh;
    }
}

@media (min-height: 640px) {
    .slider-mob .slide.slide-bg,
    .fenovi-slider-mob {
        margin-top: 10px;
    }
    .parallax-section.hair-signature-section {
        min-height: 100svh;
    }

    .parallax-section.hair-signature-section .text-overlay {
        top: 4%;
    }
    .technology-section {
        padding: 70px 0;
        height: 140svh;
    }
    .ozon-benefits-section {        
        height: 130svh;
    }    
}
@media (min-height: 658px) {
    .ozon-benefits-section {
        height: 120vh;
    }
}

@media (min-height: 667px) {
    .hero-slider {
        height: 110vh;
    }
    .slider-mob .slide.slide-bg,
    .fenovi-slider-mob {
        margin-top: 60px;
    }

    .parallax-section.hair-signature-section .text-overlay {
        top: 10%;
    }
    .technology-section {
        padding: 30px 0;
        height: 110svh;
    }
    .ozon-benefits-section {
        height: 125vh;
    }
}

@media (min-height: 740px) {
    .hero-slider {
        height: 100svh;
    }
    .technology-section {
        padding: 50px 0;
        height: 110svh;
    }
    .ozon-benefits-section {
        height: 110svh;
    } 
} 
@media (min-height: 780px) {
    .ozon-benefits-section {
        height: 105svh;
    }
}

@media (min-height: 800px) {
    .parallax-section.hair-signature-section .text-overlay {
        top: 12%;
    }
    .technology-section {
        padding: 90px 0;
        height: 110svh;
    }
    .ozon-benefits-section {
        height: 100svh;
    }    
}
@media (min-height: 812px) {
    .technology-section {
        padding: 60px 0;
        height: 100svh;
    }
}
@media (min-height: 844px) {
    .technology-section {
        padding: 100px 0;
        height: 110svh;
    }    
}
@media (min-height: 882px) {
    .technology-section {
        padding: 80px 0;
        height: 100svh;
    }    
}
@media (min-height: 914px) {
    .technology-section {
        padding: 110px 0;
        height: 100svh;
    }
    
}


/* =================================================================
 * TABLET/DESKTOP (min-width: 768px)
 * ================================================================= */
@media (min-width: 768px) {
    .hero-slider {
        height: 50svh;
    }
    .slider .slick-prev {
        left: 40px !important;
    }

    .slider .slick-next {
        right: 40px !important;
    }

    .fenovi-slider-desk {
        align-items: center !important;
        background-position: left center !important;
    }

    .slider .slick-prev,
    .slider .slick-next,
    .slider-mob .slick-prev,
    .slider-mob .slick-next {
        width: 48px;
        height: 48px;
    }

    .parallax-section.hair-signature-section {
        background-image: url('/assets/img/fenovi/kosa-licni-potpis-ozon-fen-tablet.jpg');
    }

    .parallax-paragraph {
        max-width: 60%;
    }
    .technology-section {
        padding-top: 80px;
        background-image: url('/assets/img/fenovi/zena-sa-roze-frizurom-tablet.jpg');
    }
    .technology-inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }    

    .technology-content {
        width: 65%;
    }

    .technology-title { 
        font-size: 36px;
        margin: 0 0 1.8rem 0;
    }
    .ozon-benefits-section {
        padding: 70px 0;
        height: 90svh;
    }
    .ozon-benefits-inner {
        max-width: 650px;
    }
    .ozon-benefits-section {
        height: auto;       
        background-image: url('/assets/img/fenovi/prednosti-ozon-fenova.jpg');
    }    
    .ozon-benefits-title {
        grid-column: 1 / 2; 
        grid-row: 1 / 2;
        text-align: left;       
        margin-bottom:0;       
        position: absolute;
        top: 12%;
        left: 38%;
    }
    .benefit-text-mob {
        display: none;
    }
    .benefit-text-desk {
        display: block;
    }    
   
    .benefits-layout {
        display: grid; 
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr auto;             
        grid-column: 1 / 2; 
        grid-row: 2 / 3; 
        height: auto; 
        margin-top: 0;
    }
    .benefit-icon-img {
        width: 100px;
        height: 100px;        
    }    
   
   .fen-image-container {
        position: relative; 
        bottom: auto;
        left: auto;
        transform: none;
        width: 70%;
        grid-column: 1 / 2;
        grid-row: 1 / 2; 
        padding-right: 0; 
        align-items: center; 
        display: flex;
        justify-content: center;
    }    
    
    .benefits-grid {
        position: relative; 
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        max-width: none;
        padding: 0;        
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        grid-template-rows: repeat(2, auto);
        align-content: center;
    }   
    
    .benefit-note {
        position: static; 
        left: auto;
        transform: none;
        bottom: auto;        
        grid-column: 1 / -1;
        grid-row: 2 / 3;         
        text-align: center;
        margin: 20px auto 0;
        max-width: 100%;
        font-size: 10px;
        line-height: 1.6;
    }    
}

@media (min-width: 992px) {
    .parallax-section.hair-signature-section {
        background-image: url('/assets/img/fenovi/kosa-licni-potpis-ozon-fen-tablet2.jpg');
    }

    .parallax-section.hair-signature-section .text-overlay {
        position: absolute;
        top: 33%;
        left: 30%;
        width: 80%;
    }

    .parallax-paragraph {
        max-width: 45%;
    }
    .technology-section {
        background-image: url('/assets/img/fenovi/zena-sa-roze-frizurom.jpg');
        display: flex;
        align-items: center;
    }
    .technology-inner {
        justify-content: flex-start;
    }
    .technology-content {
        width: 45%;
        margin-left: 5%;
    }
    .ozon-benefits-inner {
        max-width: 780px;
    }
    .benefit-icon-img {
        width: 105px;
        height: 105px;
    }    
    .benefits-grid {
        width: 75%;
        gap: 24px 35px;
    }
    .ozon-benefits-title {
        left: 38%;
    }
    .shine-content {  
        display: none;  
        display: flex;
        flex-direction: column;
        align-items: flex-end;    
        z-index: 3;
        position: relative;
        text-align: right;
        width: 100%;
        max-width: 305px;
        top: 30%;
        left: 4%;
    }
}
@media (min-width: 1024px) {
    .reveal-fixed-background {
        background-image: url('/assets/img/fenovi/zenska-statua-detalji-u-kosi.jpg');
    }
    .technology-section {
        height: 100svh;
    }
    .hero-slider {
        height: 100svh;
    }
    .slider-tab .slide.slide-bg, .fenovi-slider-tab {
        height: 100vh !important;
        min-height: 100vh !important;
    }
}
@media (min-width: 1024px) and (min-height: 1366px) {
    .parallax-section.hair-signature-section {
        background-image: url('/assets/img/fenovi/kosa-licni-potpis-ozon-fen-tablet.jpg');
    } 
    .parallax-section.hair-signature-section .text-overlay {       
        top: 13%;
        left: 0;
        width: 100%;
        height: 100%;       
    }
    .shine-content {  
        display: none;
    }
    .hero-slider {
        height: 50svh;
    }
    .slider-tab .slide.slide-bg, .fenovi-slider-tab {
        height: 50vh !important;
        min-height: 50vh !important;
    }
}   
/* =================================================================
 * DESKTOP (min-width: 1025px)
 * ================================================================= */
@media (min-width: 1025px) {
    .hero-slider {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100vh;
        z-index: 1;
    }

    /* .reveal-fixed-background {
        background-image: url('/assets/img/fenovi/zenska-statua-detalji-u-kosi.jpg');
    } */

    .reveal-fixed-background .content-wrapper {
        z-index: 3;
    }
    .next-content-placeholder {
        height: 90vh; 
        position: relative;
        z-index: 7;
    }

    .parallax-section.hair-signature-section {
        position: relative;
        margin-top: 100vh;
        display: block;
        background-image: url('/assets/img/fenovi/kosa-licni-potpis-ozon-fen.jpg');
        background-position: center center;
    }

    .parallax-section.hair-signature-section .text-overlay {
        position: absolute;
        top: 33%;
        left: 44%;
        width: 42%;
        z-index: 5;
    }

    .title-part-1 {
        font-size: 54px;
    }

    .title-part-2 {
        font-size: 105px;
        line-height: 1;
    }

    .parallax-paragraph {
        font-size: 1.1rem;
        max-width: 78%;
        margin: 1.5rem auto 0;
    }

    .reveal-title {
        display: block;
    }
    .technology-content {
        width: 40%;
        margin-left: 7%;
    }
    .technology-title {
        font-size: 54px;
    }
    .ozon-benefits-inner {
        max-width: 960px;
    }
    
    .ozon-benefits-title {
        font-size: 54px;
        line-height: 1.05;
    }    
    .benefits-grid {
        top: 10%;
    }
    .benefit-icon-img {
        width: 150px;
        height: 150px;
    }
    .hair-shine-section {
        position: sticky;
        position: -webkit-sticky;
        top:0;
        height: 100svh;
        background-color:none;
        /* -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform; */
    }
    .shine-title-mob { display: none; }
    .shine-title-desk {
        display: block;
        font-size: 54px;
        font-family: 'Roboto Condensed', Arial, sans-serif;
        font-weight: 300;
        margin-bottom: 25px;
        line-height: 1.1;
        color: #fff;
        text-align: right;
    }
}

@media (min-width: 1200px) {
    .parallax-section.hair-signature-section .text-overlay {
        width: 50%;
    }

    .parallax-title {
        margin-bottom: 0;
    }
    .reveal-fixed-background .content-wrapper {
        left: 52%;
        padding-bottom: 24svh;     
    }
    .technology-section {
        height: 100svh;
        padding: 0;
        position: sticky;
        position: -webkit-sticky;
    }
    .technology-content {
        width: 47%;
        margin-left: 5%;
    }
    .ozon-benefits-inner {
        max-width: 860px;
    }
    .benefit-text-desk {
        font-size: 14px;
    }
    .benefits-grid {        
        gap: 14px 36px;
        top: 8%;
    }
    .benefit-note {
        font-size: 12px;
    }
    .ozon-benefits-title {
        left: 38%;
        top: 14%;
    }
    .benefit-icon-img {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }
    .shine-content { 
        top: 8%;
        left: 9%;
        max-width: 305px;
    }
    .shine-paragraph {
        font-size: 16px;
    }
}
@media (min-width: 1280px) and (max-height: 964px) { /* Prethodno 1024px */
    .shine-content { 
        top: 8%;
        left: 10%;
    }
}

/* 2. Cilja ekrane širine >= 1280px I (visine do 960px, ali efektivno ~900px sa barom) */
/* Ako je puna visina 960px, sa barom je ~900px. Ovo je za "srednje" visine. */
@media (min-width: 1280px) and (max-height: 900px) { /* Prethodno 960px */
    .shine-content { 
        top: 20%;
        left: 7%;
    }
}

/* 3. Cilja ekrane širine >= 1280px I (visine do 800px, ali efektivno ~740px sa barom) */
/* Ako je puna visina 800px, sa barom je ~740px. Ovo je za "manje" visine. */
@media (min-width: 1280px) and (max-height: 740px) { /* Prethodno 800px */
    .shine-content { 
        top: 19%;
        left: 10%;
    }
}
@media (min-width: 1360px) {
    .reveal-fixed-background .content-wrapper { 
        left: 50%;       
        padding-bottom: 20svh;     
    }
    .tech-title--desktop { display: block;}
    .tech-title--mobile { display: none; }

    .technology-lead {
        margin-top: 12px;
        margin-bottom: 24px;
    }
    .technology-content {
        width: 40%;
        margin-left: 5%;
    }
    .ozon-benefits-title {
        left: 40%;
    }
    .fen-image-container {
        width: 60%;
    }
    .benefit-icon-img {
        width: 100px;
        height: 100px;
    }
    .shine-content { 
        top: 21%;
        left: 11%;
    }
    #timerTextDesktop {
        font-size: 30px;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    }
    #timerNoteDesktop {
        font-size: 21px;
    }
}

@media (min-width: 1400px) {
    .title-part-1 {
        font-size: 72px;
    }

    .title-part-2 {
        font-size: 140px;
        line-height: 1;
    }
    .reveal-fixed-background .content-wrapper {
        left: 48%;
        padding-bottom: 22svh;     
    }
    
    .technology-title {
        font-size: 71px;
    }
    .technology-content {
        width: 45%;
        margin-left: 7%;
    }
    .shine-content { 
        top: 25%;
        left: 10%;
    }
}
@media (min-width: 1400px) and (max-height: 900px) {
    .shine-content { 
        top: 22%;
        left: 12%;
    }
}

@media (min-width: 1500px) {
    .ozon-benefits-title {
        left: 41%;
    }
    .shine-content { 
        top: 12%;
        left: 13%;
    }
}

@media (min-width: 1600px) {
    .parallax-paragraph {
        max-width: 65%;
    }
    .reveal-title {
        font-size: 60px;
    }
    .technology-content {
        width: 40%;
        margin-left: 7%;
    }
    .ozon-benefits-inner {
        max-width: 960px;
    }
    .ozon-benefits-title {
        left: 41%;
        font-size: 71px;
        line-height: 1;
    }
    .benefits-grid {
        width: 80%;
        top: 8%;
    }
    .shine-content { 
        top: 25%;
        left: 13%;
        max-width: 345px;
    }
    .shine-title-desk {
        font-size: 64px;
    }
    .shine-paragraph {
        font-size: 18px;
    }   
}
@media (min-width: 1600px) and (max-height: 900px) {
    .shine-content { 
        top: 20%;
        left: 12%;
    }
}

@media (min-width: 1920px) {
    .parallax-paragraph {
        max-width: 55%;
    } 

    .parallax-section.hair-signature-section .text-overlay {
        left: 40%;
    }
    .reveal-fixed-background .content-wrapper {
        left: 42%;
        padding-bottom: 22svh;     
    }
    .technology-content {
        width: 44%;
        margin-left: 3%;
    }
    .technology-lead {
        margin-top: 20px;
        margin-bottom: 32px;
    }
    .ozon-benefits-inner {
        max-width: 1140px;
    }
    .fen-image-container {
        width: 65%;
    }
    .benefit-icon-img {
        width: 145px;
        height: 145px;
    }
    .benefits-grid {
        width: 76%;
        top: 6%;
        gap: 28px 36px;
    }
    .ozon-benefits-title {
        top: 12%;
    }
    .benefit-text-desk {
        font-size: 18px;
    }
    .benefit-note {
        font-size: 14px;
    }
    .shine-content { 
        top: 23%;
        left: 16%;
        max-width: 350px;
    }
    .shine-title-desk {
        line-height: 1.2;
    }
    .shine-paragraph {
        margin-bottom: 28px;
        line-height: 1.8;
        font-weight: 400;
    }      
}
@media (min-width: 2560px) {
    .ozon-benefits-inner {
        max-width: 1240px;
    }
    .ozon-benefits-title {
        left: 43%;
    }
    .benefits-grid {
        top: 4%;
    }
    .shine-content { 
        top: 29%;
        left: 20%;
        max-width: 375px;
    } 
    .shine-title-desk {
        font-size: 72px;
    } 

}

/* scena */
.scene {
  position: relative; 
  height: 100vh;
  cursor: none; overflow: hidden;
  touch-action: pan-y;
  z-index: 0;
}
.dry {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none; user-drag: none;
  z-index: 0;
}
#wet {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
#smoke-layer {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
}

/* Fen */
.dryer {
  position: absolute; left: 10%; top: 10%;
  width: clamp(86px, 8.6vw, 168px); height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
  transform-origin: 60% 60%;
  will-change: transform, top, left;
  z-index: 5;
}
@media (max-width: 768px){
  .dryer { width: calc(clamp(86px, 8.6vw, 168px) * 1.3); }
  .scene {
    bottom: 0%;
  } 
}

/* Para */
.smoke {
  position: absolute;
  width: 120px; height: 120px;
  background: radial-gradient(circle,
              rgba(255,255,255,0.60) 0%,
              rgba(255,255,255,0.15) 50%,
              rgba(255,255,255,0.00) 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; filter: blur(6px);
  animation: puff 0.9s ease-out forwards;
  z-index: 2;
}
@keyframes puff {
  to { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* SVG okrugli tajmer (uvećan za 20%) */
.circle-timer {
  position: absolute; top: 50px; right: 50px;
  width: 216px; height: 216px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
}
.progress-ring__circle {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  opacity: 0.9;
  transition: stroke-dashoffset 0.1s linear;
}
.timer-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; color: #fff;
}
#timerText {
  font-size: 34px; font-weight: 800; letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.timer-note {
  /* margin-top: 6px; */
  font-size: 19px; font-weight: 700; letter-spacing: 0.2px;
  color: #ffebcd;
  opacity: 0; transition: opacity .5s ease;
}
.timer-note.show { opacity: 1; }

@media (max-width: 767px){
    .scene {       
        position: absolute; 
        bottom: 0%;
        left: 50%;
        transform: translateX(-50%);
        /* height: 100vh; */
        height: 73vh;
        width: 100%;
        cursor: none; overflow: hidden;
        touch-action: pan-y;
        z-index: 0;
    }
    .shine-content-mobile {
        padding: 20% 10% 5% 10%;
    }
    .shine-paragraph-mob {
        color:#fff;
        text-align: center;
    }
    .circle-timer { 
        display: none;
    }
    .circle-timer-mobile {     
        position: relative;
        top: -3%;
        left: 50%;
        transform: translateX(-50%);
        width: 200px; height: 200px;
        display: flex; align-items: center; justify-content: center;
        z-index: 5;
    }
    .dryer {
        position: absolute; left: 10%; top: 70% !important;       
    }

  #timerText { font-size: 28px; }
  .timer-note { font-size: 16px; }
}
@media (min-height: 568px) {
    .hair-shine-section {      
       height: 160svh;
    }    
}
@media (min-height: 640px) {   
    .hair-shine-section {        
        height: 145svh;
    }
}
@media (min-height: 667px) {
    .hair-shine-section {       
        height: 138svh;
    }
}
@media (min-height: 740px) {
    .hair-shine-section {        
        height: 135svh;
    }
}
@media (min-height: 780px) {
    .hair-shine-section {        
        height: 132svh;
    }
}
@media (min-height: 800px) {
    .hair-shine-section {
        
    }
}
@media (min-height: 812px) {
    .hair-shine-section {       
        height: 126svh;
    }
}
@media (min-height: 844px) {
    .hair-shine-section {        
        height: 122svh;
    }
}
@media (min-height: 882px) {
    .hair-shine-section {       
        height: 122svh;
    }
}
@media (min-height: 914px) {
    .hair-shine-section {       
        height: 120svh;
    }
}
@media (min-height: 936px) {
    .hair-shine-section {       
        height: 118svh;
    }
}
@media (min-height: 960px) {
    .hair-shine-section {       
        height: 119svh;
    }
}
@media (min-height: 1024px) {
    .hair-shine-section {
        height: 100svh;
    }
    .circle-timer-mobile {
       display: none;
    }
    .circle-timer {
        position: absolute; top: 50px; right: 50px;
        width: 216px; height: 216px;
        display: flex; align-items: center; justify-content: center;
        z-index: 5;
    }
    .shine-content-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10% 5% 0% 5%;
    }
    .shine-paragraph-mob {
        width: 50%;
        text-align: center;
        color:#fff;        
    } 
    .shine-title-mob {
        margin-bottom: 30px;
    } 
    /* .dryer {
        width: calc(clamp(86px, 8.6vw, 168px) * 1.3);
        top: 30% !important;
    }   */
}
/* Dugme nastavi */
/* .scroll-next{
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  padding: 12px 16px; border-radius: 999px;
  font: inherit; border: 0; color: #fff;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  cursor: pointer; z-index: 4; display: none;
} */
/* .scroll-next:active { transform: translateX(-50%) scale(0.98); } */
@media (max-width: 768px){
  /* .scroll-next{ display: inline-flex; align-items:center; gap:8px; } */
  
}
@media (min-width: 768px){
    .circle-timer-mobile {
       display: none;
    }
    .circle-timer {
        position: absolute; top: 50px; right: 50px;
        width: 216px; height: 216px;
        display: flex; align-items: center; justify-content: center;
        z-index: 5;
    }
    .shine-content-mobile {
       /* display: none; */
       display: flex;
    }
    .hair-shine-section {
        height: 100svh;
    }
    .drayer {
        left: 10%; top: 10%;
    }
}
@media (min-width: 992px){
     .shine-content-mobile {
       display: none;
     }
}

/* Sledeći blok */
.content {
  min-height: 100vh; background: #fff; color: #111;
  padding: 80px 10%; box-sizing: border-box;
}
.content h1 { font-size: 2rem; margin-bottom: 16px; }
.content p  { font-size: 1.125rem; line-height: 1.6; }

/* =================================================================
 * 4. iOS SAFARI FIX - FORSIRAJ BENEFITS DA UVEK IDE PREKO
 * ================================================================= */
@supports (-webkit-touch-callout: none) {
    
    /* Benefits - forsiraj da UVEK ide preko technology */
    .ozon-benefits-section {      
        
        /* Kreiraj izolovan stacking context */
        isolation: isolate;
        
        /* GPU layer iznad technology */
        -webkit-transform: translate3d(0, 0, 3px);
        transform: translate3d(0, 0, 3px);
        
        /* Forsiraj hardversku akceleraciju */
        will-change: transform;
        -webkit-perspective: 1000;
        perspective: 1000;
        
        /* Spreči kompozicione probleme */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Technology - niži layer, benefits će ići preko */
    .technology-section {       
        
        /* GPU layer ispod benefits */
        -webkit-transform: translate3d(0, 0, 1px);
        transform: translate3d(0, 0, 1px);
        
        /* Sticky transform */
        will-change: transform;
        
        /* Optimizuj kompoziciju */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Reveal - najniži layer */
    .reveal-fixed-background {       
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        isolation: isolate;
    }
    
    /* Parallax - scroll element */
    .parallax-section.hair-signature-section {      
        -webkit-transform: translate3d(0, 0, 2px);
        transform: translate3d(0, 0, 2px);
    }
    
    /* Placeholder */
    .next-content-placeholder {
        z-index: 6 !important;
    }
}

/* =================================================================
 * 5. DODATNA iOS OPTIMIZACIJA - SPREČI LAYER FLIPPING
 * ================================================================= */
@supports (-webkit-touch-callout: none) {
    
    /* Forsiraj 3D rendering context */
    .ozon-benefits-section {
        /* 3D transform za konzistentan layer */
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        
        /* Forsiraj da ostane na svom layeru tokom celog scroll-a */
        -webkit-transform: translate3d(0, 0, 3px) !important;
        transform: translate3d(0, 0, 3px) !important;
    }
    
    /* Technology u flatter space */
    .technology-section {
        -webkit-transform-style: flat;
        transform-style: flat;
        
        /* Fiksiran layer position */
        -webkit-transform: translate3d(0, 0, 1px) !important;
        transform: translate3d(0, 0, 1px) !important;
    }
    
    /* Spreči z-fighting */
    .ozon-benefits-section,
    .technology-section {
        /* Atomic composition updates */
        contain: layout style paint;
    }
}

/* =================================================================
 * 6. FALLBACK ZA iOS BEZ 3D TRANSFORM SUPPORT
 * ================================================================= */
@supports (-webkit-touch-callout: none) {
    @supports not (transform: translate3d(0, 0, 1px)) {
        .ozon-benefits-section {           
            -webkit-transform: translateZ(3px);
            transform: translateZ(3px);
        }
        
        .technology-section {          
            -webkit-transform: translateZ(1px);
            transform: translateZ(1px);
        }
        
        .reveal-fixed-background {            
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
    }
}

