/**
 * Projects Catalog - Swiper Styles
 * Стили для каталога проектов с Swiper слайдерами
 */

/* КРИТИЧНО: ПОЛНОСТЬЮ скрываем пагинацию */
.swiper-pagination {
  display: none !important;
}

/* Стили буллетов пагинации */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #000000;
  opacity: 0.5;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
}

/* Убираем outline при клике */
.swiper-pagination-bullet:focus {
  outline: none;
}

/* Стили для кнопок навигации */
.swiper-button-prev,
.swiper-button-next {
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.7;
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.95);
}

/* Disabled состояние для стрелок */
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Lazy loading skeleton */
.swiper-lazy {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.swiper-lazy-loaded {
  background: none;
  animation: none;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Плавная анимация смены слайдов */
.swiper-slide {
  transition: opacity 0.4s ease;
}

/* Стили карточек проектов */
.project-card {
  /* NO HOVER ANIMATION - card should not move */
}

/* Адаптивность */
@media (max-width: 768px) {
  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
  
  .swiper-counter {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .project-card {
    padding: 16px !important;
  }
  
  .swiper img {
    height: 280px !important;
  }
}
