


.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  max-height: 500px;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  height: 100%;
}

/* Container */
.slide-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; 
}


.slide-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.laser .slide-image {
  object-position: right;
}


.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}


.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}


.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1.35);
}


.youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}


.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}


.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.content-wrapper {
  max-width: 100%;
  padding: 20px;
  text-align: center;
}

.content-wrapper .title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 18px;
}
.content-wrapper .subtitle {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.content-wrapper .description {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 14px;
}

/* Tipografija za mobilne */
.slide-content h1,
.slide-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
  font-weight: 700;
  color: var(--primary-color);
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1;
  color: var(--light-color);
}


.btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn.slider {
  font-size: 16px;
}

.btn:hover {
  transform: translateY(-3px);
}


.swiper-button-next,
.swiper-button-prev {
  display: none; 
}


@media (min-width: 768px) {
  .hero-slider {
    height: 600px;
    max-height: 600px;
  }

  .youtube-video {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .slide-content {
    padding: 30px;
  }

  .content-wrapper {
    max-width: 50%;
    padding: 25px;
  }
  .content-wrapper .title {
    font-size: 45px;
    margin-bottom: 18px;
  }
  .content-wrapper .subtitle {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 24px;
  }
  .content-wrapper .description {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .slide-content h1 {
    font-size: 2.2rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }


  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
  }
}


@media (min-width: 992px) {
  .hero-slider {
    height: 600px; 
    max-height: 600px;
  }


  .slide-container {
    flex-direction: row;
  }


  .slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .laser .slide-image {
    object-position: top;
  }


  .image-overlay {
    background: rgba(0, 0, 0, 0.6);
  }


  .slide-content {
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: left; 
    position: absolute;
  }

  .content-wrapper {
    margin: 0 auto;
    padding: 50px 40px;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    color: var(--dark-color);
  }

  .content-wrapper .title {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 24px;
  }
  .content-wrapper .subtitle {
    font-size: 24px;
    margin-bottom: 32px;
  }
  .content-wrapper .description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1.3rem;
  }

  .btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: var(--light-color);
  }


  .swiper-button-next,
  .swiper-button-prev {
    width: 50px;
    height: 50px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 22px;
  }
}


@media (min-width: 1200px) {
  .hero-slider {
    height: 600px;
    max-height: 600px;
  }

  .content-wrapper {
    padding: 60px 50px;
  }

  .slide-content h1 {
    font-size: 3rem;
  }

  .slide-content p {
    font-size: 1.4rem;
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@media (min-width: 992px) {
  .slide-content .content-wrapper {
    animation: fadeInLeft 1s ease-out;
  }

  .slide-image {
    animation: fadeInUp 1s ease-out 0.3s both;
  }
}


@media (max-width: 991px) {
  .slide-content .content-wrapper {
    animation: fadeInUp 1s ease-out;
  }
}


@media (max-width: 767px) {
  .hero-slider {
    height: 400px;
    max-height: 400px;
  }

  .youtube-video {
    min-width: 100%;
    min-height: 100%;
  }

  .video-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .content-wrapper {
    padding: 15px;
  }
}
