/**
 * Верх страницы: хлебные крошки, заголовок и слайдер фотографий (js/hero-slider.js).
 */

.jdSlider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: #000;
}

.jdSliderContainer {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.jdSliderTrack {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
  width: 100%;
  height: 100%;
}

.jdSliderSlide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.jdSliderBtn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  user-select: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 1s ease;
  z-index: 10;
}

.jdSliderBtn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.7);
}

.jdSliderBtn:active {
  transform: translateY(-50%) scale(0.95);
}

.jdSliderDots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.jdSliderDot {
  background: rgba(255, 255, 255, 0.5);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 1s ease;
}

@media (max-width: 768px) {
  .jdSliderContainer {
    height: 300px;
  }
  .jdSliderBtn {
    width: 40px;
    height: 40px;
  }
}

.header {
  background: white;
  padding-top: 20px;
}

.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.hero {
  background: white;
  padding-top: 10px;
  margin-bottom: 1%;
}

.hero-content {
  align-items: center;
}

.hero-left {
  position: relative;
  margin-top: 3%;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
}

@media (max-width: 768px) {
  .hero {
    display: block !important;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-title {
    font-size: 2rem;
  }
}

.jdSliderDot.active {
  background-color: rgba(255, 255, 255, 1);
}

.jdSliderDot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.jdSliderBtnPrev {
  left: 15px;
}

.jdSliderBtnNext {
  right: 15px;
}
