/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
	cursor: pointer;
	text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.pagination .current {
    background: #34b1da;
    color: white;
    border-color: #0073aa;
}
.pagination .dots {
    padding: 0.5rem;
}
/* ========== БАЗОВЫЕ СТИЛИ ========== */
.homemenu {
  position: relative;
  background-color: #464646;
  width: 100%;
}

.nawigacja.mainmenu {
	display: block;
  width: 100%;
  max-width: 100%;
  background-color: #464646;
  z-index: 9
}

.nawigacja.mainmenu .nav-list {
  display: flex;
  flex-direction: column;
}

.nawigacja.mainmenu .nav-list > li {
  width: 100%;
  border-bottom: 1px solid #eee;
}

/* ========== НАВИГАЦИЯ ========== */
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  position: relative;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
}

.nav-list .menu-link {
  display: flex;
  align-items: center;
  color: #ecf0f1;
  text-decoration: none;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.nav-list .menu-link:hover {
  background-color: #3498db;
  color: #fff;
}

.nav-list .menu-link i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.nav-list .menu-link.active {
  background-color: #34b1da;
  color: white;
}

/* Подменю (десктоп) */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #34495e;
  min-width: 200px;
  z-index: 100;
}

.submenu .menu-link {
  padding: 0.8rem 1.5rem;
}

.nav-list li:hover > .submenu {
  display: block;
}

/* ========== ГАМБУРГЕР ========== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 1rem;
  cursor: pointer;
  align-items: center;
}

.hamburger {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: white;
  position: relative;
  margin-right: 8px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: white;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

/* Активное состояние гамбургера */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ========== СЛАЙДЕР ========== */
.slider {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 396px;
  overflow: hidden;
  background: #f2f2f2;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide > img {
  width: auto !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

/* Навигация слайдера */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  line-height: 1;
  user-select: none;
  transition: background 0.3s;
}

.slider-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Индикаторы слайдов */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

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

/* ========== МЕДИАЗАПРОСЫ ========== */
@media (max-width: 768px) {
  .nawigacja.mainmenu {
    width: 100%;
    max-width: 100%;
  }
  
  .nawigacja.mainmenu .nav-list.menu-link {
    padding: 12px 20px;
  }
	
  /* Навигация */
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    z-index: 1000;
  }
    .homemenu .nav-list.active {
        display: flex
	 }
  .nav-list.show {
    display: flex;
  }

  .nav-list li {
    min-height: 50px;
    height: auto;
    width: 100%;
  }

  .nav-list .menu-link {
		position: relative;
        padding: 1rem;
        border-top: 1px solid #464646;
  }

  /* Слайдер */
  .slider {
    height: 300px;
  }
}
/* Breadcrumbs */
.breadcrumbs {
	display: inline-block;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border-radius: 5px;
    counter-reset: flag;
    margin: 0 0 20px;
}

.breadcrumbs a, .breadcrumbs span {
	text-decoration: none;
    outline: none;
    display: block;
    float: left;
    font-size: 12px;
    line-height: 36px;
    color: white;
    padding: 0 10px 0 30px;
    background: #666;
    background: linear-gradient(#666, #333);
    position: relative;
}

.breadcrumbs a:after, .breadcrumbs span:after {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;
    width: 36px;
    height: 36px;
    transform: scale(0.707) rotate(45deg);
    z-index: 1;
    background: #666;
    background: linear-gradient(135deg, #666, #333);
    box-shadow: 2px -2px 0 2px rgba(0, 0, 0, 0.4), 3px -3px 0 2px rgba(255, 255, 255, 0.1);
    border-radius: 0 5px 0 50px;
}