   :root {
      --transition-duration: 0.8s;
      --slide-pause: 2s;
      --primary-color: #3498db;
      --text-color: #fff;
      --overlay-color: rgba(0, 0, 0, 0.5);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body, html {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    section {
      padding: 4rem 2rem;
      background-color: #f5f5f5;
    }

    #horizontal-scroll {
      position: relative;
      height: 100vh;
      width: 100%;
      overflow: hidden;
      background-color: #222;
      color: var(--text-color);
      isolation: isolate;
    }

    .slider-wrapper {
      display: flex;
      width: 600vw;
      height: 100%;
      will-change: transform;
    }

    .slide {
      position: relative;
      width: 100vw;
      height: 100%;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      text-align: center;
      padding: 2rem;
      overflow: hidden;
    }

    .slide::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--overlay-color);
      z-index: -1;
    }

    .slide-content {
      max-width: 800px;
      padding: 2rem;
      background-color: rgba(0, 0, 0, 0.4);
      border-radius: 8px;
      transform: translateY(20px);
      opacity: 0;
      transition: all 0.5s ease 0.3s;
    }

    .slide.active .slide-content {
      transform: translateY(0);
      opacity: 1;
    }

    .slide h1 {
      font-size: clamp(2rem, 5vw, 3.5rem);
      margin-bottom: 1rem;
      //color: var(--primary-color);
      color: var(--text-color);    
     }

    .slide p {
      font-size: clamp(1rem, 2vw, 1.2rem);
      margin-bottom: 2rem;
    }

    .buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-block;
      background-color: var(--primary-color);
      color: white;
      padding: 0.8rem 1.5rem;
      text-decoration: none;
      border-radius: 50px;
      font-weight: bold;
      transition: all 0.3s ease;
      border: 2px solid var(--primary-color);
    }

    .btn:hover {
      background-color: transparent;
      color: var(--primary-color);
    }

/*    .btn-outline {
      background-color: transparent;
      border: 2px solid var(--text-color);
      color: var(--text-color);
    }

    .btn-outline:hover {
      background-color: var(--text-color);
      color: #222;
    }*/

    /* Navigation dots */
    .slider-nav {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.8rem;
      z-index: 10;
    }

    .nav-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .nav-dot.active {
      background-color: var(--primary-color);
      transform: scale(1.3);
    }

    /* Progress bar */
    .progress-container {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background-color: rgba(255, 255, 255, 0.2);
      z-index: 10;
    }

    .progress-bar {
      height: 100%;
      width: 0;
      background-color: var(--primary-color);
      transition: width linear;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      section {
        padding: 2rem 1rem;
      }

      .slide-content {
        padding: 1.5rem;
      }

      .buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
      }
    }

.btn-outline {
  background-color:  rgba(0, 0, 0, 0.5);
  border: 1px solid var(--text-color);
  //color: var(--text-color);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  width: auto;
}

.btn-outline:hover {
  background-color: rgba(255, 0, 0, 1); /* Transparentno crvena */
  //border-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
  color: white;
  padding-right: 2.5rem; /* Pravi prostor za strelicu */
}

.btn-outline:hover::after {
  content: "→";
  position: absolute;
  right: 1rem;
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeInRight 0.3s ease forwards;
  color: white;
}

.video-container {
    text-align: center;
    margin: 20px 0; 
}
.video-container video {
    display: block; 
    margin: 0 auto; 
    max-width: 100%; 
    height: auto; 
}
.video-100 {
    width: 100%;
}
.video-60 {
    width: 60%;
}
.video-75 {
    width: 75%;
}


@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Dodatni efekti za aktivno stanje */
.btn-outline:active {
  transform: scale(0.95);
  background-color: rgba(255, 0, 0, 0.3);
}