:root{
    --Black: #100C0A;
    --Dark-Brown: #1F130D;
    --Beige: #EEE5DA;
    --Orange: #F9561B;
    --White: #F9F7F4;
}

/* ===== PAGE PRELOADER ===== */
#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, rgba(249, 86, 27, 0.9) 0%, rgba(249, 86, 27, 1) 100%),
        url('img/archnes_pattern.png') center/cover no-repeat,
        var(--Orange);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

#page-preloader.loaded {
    transform: translateY(-100%);
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.preloader-logo-img {
    width: 200px;
    height: auto;
    margin-bottom: 25px;
    animation: logoFloat 0.8s ease-out;
}

@keyframes logoFloat {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preloader-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--Black);
    margin-top: 0;
    margin-bottom: 16px;
    text-transform: uppercase;
    opacity: 0.8;
}

.loading-bar-container {
    width: 220px;
    height: 4px;
    background: rgba(16, 12, 10, 0.15);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: var(--Black);
    border-radius: 10px;
    transition: width 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

/* Mobile optimalizácia */
@media (max-width: 768px) {
    .preloader-logo-img {
        width: 130px;
        height: 130px;
        margin-bottom: 15px;
    }

    .preloader-subtitle {
        font-size: 16px;
        letter-spacing: 3px;
        margin-bottom: 30px;
    }

    .loading-bar-container {
        width: 160px;
    }

    /* Video container - cover full viewport */
    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #videoScrollDimension {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: none;
    }

    #scrollSectionDimension {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }
}
/* ===== END PAGE PRELOADER ===== */

body{
    overflow-x: hidden;
}

.section-1 {
    position: relative;
    overflow: hidden;
    color: var(--White);
    height: 100vh;
    display: flex;
    align-items: center;
}

.section-1 .sheet-full{
    flex-direction: column;

}

.scroll_lottie {
    z-index: 10; 
    transform: rotate(180deg);
    width: 40px;
    height: 40px;
    margin-top: 100px;

}

.section-1 .background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    object-fit: cover;
    justify-content: center;
}

.section-1 .parallax-bg {
    position: absolute;
    top: -20%; /* Zväčšíme oblasť obrázka, aby sme zabránili medzerám */
    left: -10%;
    right: -10%;
    bottom: -20%;
    object-fit: cover;
    z-index: 1;
}

.section-1 .parallax-bg img {
    width: 110%; /* Zväčšíme obrázok, aby pokryl celú oblasť */
    height: 110%;
    object-fit: cover;
    object-position: center;
}

.section-1 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--Black);
    opacity: 0.7;
    z-index: 2;
}

.section-1 .content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.reveal-type {
    line-height: 1.2;
}

.video-anim-2{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}
.video-container{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#scrollSectionDimension {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.canvas-title {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: var(--White);
    text-align: center;
    pointer-events: none;
}

.scroll-lottie {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    pointer-events: none;
}
.section-3 .sheet-flex{
    min-height: 80vh;
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-3 .half-horizontal-container{
    padding: 0px;
    gap: 200px;
}

.img-trezor-scroll {
    position: absolute;
    height: 15vw;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
}
.text-scrollbox {
    position: absolute;
    width: 80vw;
    left: 10vw;
    opacity: 0;
    z-index: -2;
}

.text-scrollbox-dimension{
    position: absolute;
    width: 75vw;
    transform: translate(-50% 50%);
    opacity: 0;
    z-index: 2;
}

.text-item-dimension {
    color: var(--White);
    margin: 0;
}

.text-scrollbox-right {
    text-align: right;
}
.text-scrollbox-left {
    text-align: left;
}
.text-item {
    color: var(--White);
    margin: 0;
}
.line-scroll {
    border: 2px solid var(--Orange);
    margin: 10px 0;
}
.video-anim-3 {
    width: 80%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
   
  }
  .video-anim-2 {
    width: 100vw;
    object-fit: cover;
  }

  .video-hero{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video_container{
    height: 700px;
    min-width: 380px;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 4px;
    cursor: none;
    position: relative;
}
.video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s;
   }
   
   .video_container:hover .video_overlay {
    opacity: 1;
   }
   
   .play_text {
    color: var(--Orange);
    font-weight: 500;
    font-size: 22px;
   }

.video_reels{
    height: 100%;
    width: 100%;
    aspect-ratio: 9/16;
}

.video_row{
    display: flex;
    width: 100%;
    gap: 20px;
    overflow-x: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-x: scroll;
    justify-content: center;
}

.video_row::-webkit-scrollbar {
    display: none;
}

.cursor-circle {
    position: fixed;
    pointer-events: none;
    width: 150px;
    height: 150px;
    display: none;
    z-index: 9999;
    cursor: none;
  }
  
  .cursor-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 8s linear infinite;
    color: #ff6b4a;
  }
  
  .fullscreen-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 1);
    z-index: 200;
    display: none;
    cursor: none;
  }
  
  .fullscreen-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .close-btn {
    position: fixed;
    top: 30px;
    right: 50px;
    width: 35px;
    height: 35px;
    z-index: 1000;
    cursor: none;
    transition: all 200ms ease;
  }
  
  .close-btn svg {
    width: 100%;
    height: 100%;
    fill: var(--White);
  }
  .close-btn:hover{
    transform: scale(1.2);
  }

  .video-text {
    width: 100px;
    height: 100px;
    position: relative;
    opacity: 1;
    font-weight: 600;
    pointer-events: none;
    transform: rotate(0deg);
    animation: rotate 8s linear infinite;
  }
  
  .video-text span {
    color: var(--Orange);
    font-size: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
  }
  .playbox-mobile{
    display: none;
    height: max-content;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  .play_icon{
    height: 24px;
    width: auto;
  }

  .objem_row{
    display: flex;
    gap: 50px;
    margin-top: 20px;
    width: 100%;
    align-items: baseline;
    justify-content: center;
    
  }
  .value{
    display: flex;
    flex-direction: column;
    justify-content: center
  }

  .value h6{
    color: var(--Orange);
  }


  .benefit_section{
    color: var(--White);
  }


  .benefit_section .sheet-full{
    flex-direction: column;
  }
    .title_row_benefit{
    display: flex;
    width: 90%;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .benefit_container{
    display: flex;
    gap: 20px;
    width: 90%;
    justify-content: space-between;

  }
    .benefit_container h6{
       font-size: clamp(1.3rem, 0.975rem + 0.8vw, 1.625rem);
        max-width: 300px;
        line-height: 1.4;
    }
  .benefit_box{
    display: flex;
    flex-direction: column;
    background-image: url(img/ben_1.png);
    background-size: cover;
    border-radius: 10px;
    background-position: bottom;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    padding: 45px;
    height: 60vh;
    min-width: 250px;
  }
  .benefit_box .link_text{
    margin-top: 10px;
  }
    .benefit_box_2{
    display: flex;
    background-image: url(img/ben_2.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    padding: 45px;

    align-items: end;
    width: 100%;
    height: 60vh;
    min-width: 250px;
  }

    .benefit_box_3{
    display: flex;
    background-image: url(img/ben_3.png);
    background-position: bottom;
    background-repeat: no-repeat;
     background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    padding: 45px;
    height: 60vh;
    min-width: 250px;
  }

  /* ========== Product Carousel ========== */

.product-carousel-section{
  background:
    radial-gradient(circle at 50% 60%, rgba(249, 86, 27, 0.2), rgba(249, 86, 27, 0) 40%);

}
.product-carousel-section .sheet-flex {
    flex-direction: column;
    justify-content: center;
}

.carousel-header {
    text-align: center;
    margin-bottom: 80px;
    z-index: 10;
}

.carousel-header h4 {
    color: var(--White);
    margin-bottom: 10px;

}

.carousel-header p {
    color: var(--Beige);
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 1400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    position: absolute;
    width: 500px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel-image.left {
    left: 5%;
    transform: scale(0.75) translateX(0);
    filter: blur(8px);
    opacity: 0.6;
    z-index: 1;
}

.carousel-image.left:hover {
    transform: scale(0.8) translateX(0);
    filter: blur(6px);
    opacity: 0.8;
}

.carousel-image.center {
    left: 50%;
    transform: translateX(-50%) scale(1.2);
    filter: blur(0px);
    opacity: 1;
    z-index: 3;

}

.carousel-image.center:hover {
    cursor: default;
}

.carousel-image.right {
    right: 5%;
    transform: scale(0.75) translateX(0);
    filter: blur(8px);
    opacity: 0.6;
    z-index: 1;
}

.carousel-image.right:hover {
    transform: scale(0.8) translateX(0);
    filter: blur(6px);
    opacity: 0.8;
}


.orange-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(249, 86, 27, 0.15) 0%, rgba(249, 86, 27, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    margin-top: 50px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: var(--Orange);
    width: 30px;
    border-radius: 5px;
}

.placeholder-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
  @media only screen and (min-width: 1825px) and (max-width: 2600px) {
    .video_container{
        height: calc(min(100vw, 480px) * (800/480));
        width: min(100vw, 480px);
    }

}


@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


@media only screen 
  and (min-width: 1024px)
  and (max-height: 1366px)
  and (orientation: portrait)
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .playbox-mobile{
        display: flex;
        height: max-content;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
      }
    .video_overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(0px);
    }
    .video_container{
        height: max-content;
    }
    .video_row{
        justify-content: start;
    }
}



@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .video_row{
        justify-content: start;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .video_row{
        justify-content: start;
    }
  .title_row_benefit{
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
       .benefit_container{
        
        width: 100%;
    }

}


  @media only screen  and (min-width: 480px) and (max-width: 768px) {
    .benefit_container{
        overflow-x: auto;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .benefit_container::-webkit-scrollbar{
        display: none;
    }
    .benefit_box, .benefit_box_2, .benefit_box_3{
        height: auto;
        aspect-ratio: 4/5;
        min-width: unset;
        min-width: 400px;
        padding: 30px;
    }

    .title_row_benefit{
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 16px;
    }
    .playbox-mobile{
        display: flex;
    }
    .video-anim-3 {
        width: 150%;
           overflow: hidden;
    }
    .text-scrollbox {
        width: 80vw;
        top: 15%;
  }
  .video_overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0px);
}
.video_container{
    height: max-content;
}
.video_row{
    justify-content: start;
    padding: 0px 26px;
}
.carousel-header {
    text-align: center;
    margin-bottom: 30px;
    z-index: 10;
}

}

 
  @media only screen and (min-width: 300px) and (max-width: 480px) {

    .benefit_container{
        flex-direction: column;
        width: 100%;
    }
     .benefit_box, .benefit_box_2, .benefit_box_3{
        height: auto;
        aspect-ratio: 4/5;
        min-width: unset;
        width: 100%;
        min-width: none;
        padding: 30px;
    
    }
    .carousel-dots{
        margin-top: 0px;
    }
    .benefit_container h6{
        max-width: 100%;
    }
    .title_row_benefit{
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    .title_row_benefit p{
        max-width: 100%;
    }

    .section-5 .sheet-full{
    height: 80vh;
}

  .close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;

  }

    .playbox-mobile{
        display: flex;
    }
    .video-anim-2{
        width: 100%;
        object-fit: cover;
       
    }
    .text-scrollbox-dimension{
        width: 80vw;
    }
    .video-anim-3 {
        width: 150%;
  }
  .text-scrollbox {
    position: absolute;
    width: 80vw;
    left: 10vw;
    top: 20%;
    opacity: 0;
    z-index: -2;
}
.video_overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0px);
}

.video_container{
    height: max-content;
    min-width: 70vw;
    aspect-ratio: 9/16;

}
.video_row{
    justify-content: start;
}

.carousel-header {
    text-align: center;
    margin-bottom: 30px;
    z-index: 10;
}

}



/* Carousel responsive */
@media (max-width: 968px) {
 


    .carousel-container {
        height: 400px;
    }

    .carousel-image {
        width: 300px;
        height: 300px;
    }

    .carousel-image.left {
        left: -10%;
    }

    .carousel-image.right {
        right: -10%;
    }

    .carousel-image.center {
        transform: translateX(-50%) scale(1);
    }
}

@media (max-width: 640px) {
 

    .carousel-image {
        width: 250px;
        height: 250px;
    }

    .carousel-image.left,
    .carousel-image.right {
        width: 180px;
         filter: blur(4px);
        height: 180px;
    }
    .carousel-image.left {
        left: 0%;
    }

    .carousel-image.right {
        right: 0%;
    }
}

/* Certificate Popup */
.cert-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    padding: 20px;
    cursor: none;
}
.cert-popup {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
    cursor: none;
}
.cert-popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--White);
    font-size: 36px;
    cursor: none;
    z-index: 10;
    line-height: 1;
    transition: opacity 0.2s;
}
.cert-popup-close:hover {
    opacity: 0.7;
}
.cert-popup-images {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.cert-img-wrapper {
    display: none;
    width: auto;
    height: 80vh;
    aspect-ratio: 1/1.414;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.cert-img-wrapper.active {
    display: block;
}
@media only screen and (max-width: 768px) {
    .cert-img-wrapper {
        height: 50vh;
    }
    .cert-popup-close {
        top: 0px;
        right: 16px;
        font-size: 28px;
    }
}