/* ============================================================
   VideoBanner.css — фон под текстом убран, чёрное затемнение
   ============================================================ */

.heroshot {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background-color: #000;
}

/* Чёрное затемнение поверх видео */
.heroshot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-pause-btn {
  display: none !important;
}

.content-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: none;
  z-index: 10;
  padding-bottom: 3rem;
}

.content-overlay .container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

/* Блок контента — БЕЗ ФОНА */
.hero-content-item {
  pointer-events: auto;
  color: #fff;
  background: transparent; /* фон полностью убран */
  padding: 0;
  box-shadow: none;
  max-width: 600px;
  display: none;
  animation: fadeInUp 0.5s ease;
}

.hero-content-item.active {
  display: block;
}

.hero-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); /* Тень для читаемости */
}

.hero-button {
  display: inline-block;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.7rem 1.8rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s;
  pointer-events: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); /* Тень для кнопки */
}

.hero-button:hover {
  background: #fff;
  color: #000;
  text-shadow: none;
}

/* ============================================================
   Мобильная версия
   ============================================================ */
@media (max-width: 768px) {
  .heroshot { height: 480px; }
  .hero-content-item { margin-right: 1rem; }
  .hero-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .heroshot { height: 420px; }
  .content-overlay { padding-bottom: 2rem; }
  .hero-title { font-size: 1.2rem; margin-bottom: 1rem; }
  .hero-button { padding: 0.5rem 1.2rem; font-size: 0.95rem; }
}

/* ============================================================
   Десктоп
   ============================================================ */
@media (min-width: 768px) {
  .content-overlay { padding-bottom: 4rem; }
  .hero-title { font-size: 2rem; }
}

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