/* styles.css */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.animate-fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.animate-fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.animate-zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease-out;
}
.animate-zoom-in.in-view {
  opacity: 1;
  transform: scale(1);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #d3d3d3;
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: #d3d3d3;
  border-radius: 3px;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  background: #d3d3d3;
  border-radius: 3px;
}
input[type="range"]::-ms-track {
  height: 6px;
  background: #d3d3d3;
  border-radius: 3px;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #2492D1;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  margin-top: -7px;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #2492D1;
  cursor: pointer;
  border-radius: 50%;
  border: none;
}

@keyframes gradientShift {
  0% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 50% 100%;
  }
}

.hero-bg-animated {
  position: relative;
  width: 100%;
  min-height: 100vh; /* celá výška obrazovky */
  color: white;
  overflow: hidden;

  /* Animovaný gradient přes celé pozadí */
  background: linear-gradient(0deg, #2492D1, #752F92, #2492D1);
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
  z-index: 1;
}

.hero-bg-animated::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('bg.webp'); /* uprav cestu */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}