/* Видео-слайдер */
.fullscreen-video-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.fullscreen-video-slider .video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
}

.fullscreen-video-slider .video-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.fullscreen-video-slider .video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

/* Затемнение для читаемости текста */
.fullscreen-video-slider .video-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

/* Текстовый блок */
.fullscreen-video-slider .video-slide-content {
  position: absolute;
  top: 50%;
  left: 7%;
  max-width: 600px;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(-40%);
  transition: opacity .8s ease .3s, transform .8s ease .3s;
}

.fullscreen-video-slider .video-slide.active .video-slide-content {
  opacity: 1;
  transform: translateY(-50%);
}

.fullscreen-video-slider .video-slide-content h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 .4em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.fullscreen-video-slider .video-slide-content h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 1.4em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.fullscreen-video-slider .video-slide-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, color .2s, transform .2s;
}

.fullscreen-video-slider .video-slide-btn:hover {
  background: #c9a24b; /* акцентный цвет — поменяйте под тему */
  color: #fff;
  transform: translateY(-2px);
}

/* Стрелки */
.fullscreen-video-slider .video-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  width: 55px;
  height: 55px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .2s;
}

.fullscreen-video-slider .video-slider-nav:hover { background: rgba(0,0,0,.7); }
.fullscreen-video-slider .video-slider-nav.prev { left: 20px; }
.fullscreen-video-slider .video-slider-nav.next { right: 20px; }

/* Точки */
.fullscreen-video-slider .video-slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.fullscreen-video-slider .video-slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}

.fullscreen-video-slider .video-slider-dots .dot.active { background: #fff; }

@media (max-width: 768px) {
  .fullscreen-video-slider .video-slide-content { left: 5%; right: 5%; max-width: none; }
  .fullscreen-video-slider .video-slide-content h2 { font-size: 2rem; }
  .fullscreen-video-slider .video-slide-content h3 { font-size: 1.1rem; }
  .fullscreen-video-slider .video-slide-btn { padding: 12px 26px; }
  .fullscreen-video-slider .video-slider-nav { width: 40px; height: 40px; font-size: 24px; }
  .fullscreen-video-slider .video-slider-nav.prev { left: 10px; }
  .fullscreen-video-slider .video-slider-nav.next { right: 10px; }
  .fullscreen-video-slider .video-slider-dots { bottom: 15px; gap: 8px; }
  .fullscreen-video-slider .video-slider-dots .dot { width: 10px; height: 10px; }
}

@media (max-width: 480px) {
  .fullscreen-video-slider .video-slide-content h2 { font-size: 1.6rem; }
  .fullscreen-video-slider .video-slide-content h3 { font-size: 1rem; }
  .fullscreen-video-slider .video-slider-nav { width: 32px; height: 32px; font-size: 20px; }
  .fullscreen-video-slider .video-slider-dots .dot { width: 8px; height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fullscreen-video-slider .video-slide,
  .fullscreen-video-slider .video-slide-content { transition: none; }
}
