
:root{
    --Black:#16110E;
    --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%; }
}

@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;
    }
}

.section-1{
    color: var(--White);
    background-color: var(--Black);
}

.section-2{
    background-color: var(--Beige);
}

.section-2 .sheet-full{

  overflow: hidden;
}
.img-slider{
    display: flex;
    width: 100%;
    gap: 20px;
    height: 100%;
    align-items: center;
    position: relative;
}

.img-wrapper-top{
    display: flex;
    height: 650px;
    min-width: 530px;
    width: 530px;
    border-radius: 5px;
    overflow: hidden;
    transform: translateY(70px);
    flex-shrink: 0;
}
.img-wrapper-bottom{
    display: flex;
    height: 650px;
    min-width: 530px;
    width: 530px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}
.img-content{
    height: 100%;
    width: auto;
    object-fit: cover;
}
.section-3{
    color: var(--White);
    background: url(img/pattern_black.png);
}
.symbol-container{
    display: flex;
    height: 100%;
    width: 40%;
    align-items: center;
    justify-content: center;
}

.symbol-box-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
  }
  
  .symbol-box {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    transition: transform 0.1s ease;
  }
  
  .logo-container,
  .logo-hover-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .logo-main,
  .logo-hover {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .logo-container {
    mask-image: radial-gradient(circle, black 0%, black 100%);
    -webkit-mask-image: radial-gradient(circle, black 0%, black 100%);
  }
  
  .logo-hover-container {
    mask-image: radial-gradient(circle, transparent 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, transparent 0%, transparent 100%);
  }
.section-4 {
    position: relative;
    color: var(--White);
    height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .section-4 .background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(img/villa.webp);
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
  }
  


  .section-4 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--Black);
  }
  
  .section-4 .content {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  .reveal-type {
    line-height: 1.2;
  }

  .founders-section{
    background:
    radial-gradient(circle at 50% 50%, rgba(249, 86, 27, 0.3), rgba(249, 86, 27, 0) 40%);
  }
     
  .founders-section .sheet-flex{
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 100px;

  }

        .founders-title {
            color: #ffffff;
            text-align: center;
            margin-bottom: 60px;
         
        }

        .founders-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            max-width: 900px;
            margin: 0 auto;
        }

        .founder-card {
            background: rgba(20, 20, 20, 0.8);
            border-radius: 20px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .founder-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
            z-index: 1;
            pointer-events: none;
        }

      
        .founder-image {
            width: 100%;
            aspect-ratio: 3/4;
            object-fit: cover;
            display: block;
        }

        .founder-info {
            padding: 30px;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 2;
        }

        .founder-name {
            font-size: 28px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .founder-role {
            font-size: 18px;
            color: #ff6b35;
            font-weight: 500;
        }

       
  @media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .symbol-box-container {
      width: 280px;
      height: 280px;
  }
  .img-wrapper-top{
    height: 500px;
    width: 380px;
    min-width: unset;
}
  .img-wrapper-bottom{
      height: 500px;
      width: 380px;
      min-width: unset;
}
  }

  @media only screen and (min-width: 769px) and (max-width: 1024px) {
    
    .symbol-box-container {
      width: 280px;
      height: 280px;
  }
  .img-wrapper-top{
    height: 450px;
    width: 330px;
    min-width: unset;
}
  .img-wrapper-bottom{
      height: 450px;
      width: 330px;
      min-width: unset;
}
  }


  @media only screen  and (min-width: 480px) and (max-width: 768px) {
    .symbol-container{
      width: 100%;
      margin-bottom: 100px;
  }

  .symbol-box-container {
      width: 200px;
      height: 200px;
  }
    .img-wrapper-top{
      height: 450px;
      width: 330px;
      min-width: unset;
  }
    .img-wrapper-bottom{
        height: 450px;
        width: 330px;
        min-width: unset;
  }
    .section-4 .background-container{
      background-size: cover;
  }

  .founders-section .sheet-flex{
      padding-top: 60px;
  }
  .founders-grid {
      grid-template-columns: 1fr;
      max-width: 260px;
      gap: 30px;
  }
  .founders-title {
      margin-bottom: 35px;
  }
  .founder-card {
      border-radius: 16px;
  }
  .founder-info {
      padding: 20px;
  }
  .founder-name {
      font-size: 22px;
  }
  .founder-role {
      font-size: 15px;
  }
  }



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

    .symbol-container{
      width: 100%;
      margin-bottom: 100px;
  }

  .symbol-box-container {
      width: 200px;
      height: 200px;
  }
    .img-wrapper-top{
      height: 450px;
      width: 330px;
      min-width: unset;
  }
    .img-wrapper-bottom{
        height: 450px;
        width: 330px;
        min-width: unset;
  }
    .section-4 .background-container{
      background-size: cover;
  }

  .founders-section .sheet-flex{
      padding-top: 50px;
  }
  .founders-grid {
      grid-template-columns: 1fr;
      max-width: 220px;
      gap: 24px;
  }
  .founders-title {
      margin-bottom: 30px;
  }
  .founder-card {
      border-radius: 14px;
  }
  .founder-info {
      padding: 16px;
  }
  .founder-name {
      font-size: 20px;
      margin-bottom: 4px;
  }
  .founder-role {
      font-size: 14px;
  }

  }

/* Timeline Section */
.timeline-section {
    position: relative;
    min-height: 300vh;
    background: var(--Black);
    padding: 120px 0 200px;
    overflow: hidden;
    z-index: 1;
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 180px;
}

.timeline-header h3 {
    color: var(--White);
    margin-bottom: 30px;
    font-weight: 600;
}

.timeline-header p {
    color: var(--Beige);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Progress line - scrolluje sa s obsahom */
.progress-line-container {
    position: absolute;
    left: 50%;
    top: 280px;
    transform: translateX(-50%);
    height: calc(100% - 280px);
    width: 2px;
    z-index: 1;
}

.progress-line-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--Orange);
    box-shadow: 0 0 15px rgba(249, 86, 27, 0.5);
}

/* Gradient circle - fixný v strede viewportu */
.progress-gradient {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 80vw;
    height: 80vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(249, 86, 27, 0.4) 0%, rgba(249, 86, 27, 0.171) 30%, rgba(249, 86, 27, 0.053) 50%, transparent 65%);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, top 0.1s linear, left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-gradient.active {
    opacity: 1;
}

/* Timeline content */
.timeline-content {
    position: relative;
    z-index: 3;
    padding-top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    z-index: 20;
}

/* Left side items */
.timeline-item.left {
    padding-right: calc(50% + 80px);
    text-align: right;
}

/* Right side items */
.timeline-item.right {
    padding-left: calc(50% + 80px);
    text-align: left;
}

.timeline-box {
    background: rgba(28, 27, 27, 0.72);
    border: 1px solid rgba(44, 40, 40, 0.414);
    border-radius: 18px;
    padding: 30px 35px;
    display: inline-block;
    max-width: 450px;
    text-align: left;
   
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.timeline-item.left .timeline-box {
    text-align: left;
}

.timeline-box h6 {
    color: var(--Orange);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.timeline-box h5 {
    color: var(--White);
 font-size: clamp(1.125rem, 0.8523rem + 1.4545vw, 2.125rem);
    line-height: 1.25;
    font-weight: 600;
    margin: 0;
}

/* Connecting dots on the line */
.timeline-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 35px;
    z-index: 4;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timeline-dot.active {
    background: var(--Orange);
    box-shadow: 0 0 10px rgba(249, 86, 27, 0.6);
}

.timeline-item.left .timeline-dot {
    right: calc(50% - 6px);
}

.timeline-item.right .timeline-dot {
    left: calc(50% - 6px);
}

/* Timeline Responsive */
@media (max-width: 968px) {
    .timeline-section {
        padding: 80px 0 150px;
    }

    .timeline-container {
        padding: 0 30px;
    }

    .timeline-header {
        margin-bottom: 120px;
    }

    .progress-line-container {
        left: 59px;
        transform: none;
    }

    .timeline-item.left,
    .timeline-item.right {
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 24px;
        right: auto;
    }

    .timeline-box {
        max-width: 100%;
    }

    .progress-gradient {
        width: 500px;
        height: 500px;
    }

    .timeline-item {
        margin-bottom: 60px;
    }
    .founders-grid {
     grid-template-columns: 1fr;
     max-width: 400px;
     }

    .founders-title {
     margin-bottom: 40px;
     }
}