/* ===== Базовые стили ===== */
:root {
  --primary-color: #4CAF50;
  --primary-hover: #45a049;
  --text-light: white;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0px;
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ===== Контейнер вкладок ===== */
.tabs-container {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 95vw;
  
}

/* ===== Кнопки навигации ===== */
.tab-nav-button {
  width: 60px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.tab-nav-button:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.tab-nav-button:active {
  transform: scale(0.98);
}

/* ===== Основной блок вкладок ===== */
.tabs {
  flex-grow: 1;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ===== Панель с кнопками вкладок ===== */
.tab-buttons {
  display: flex;
  border-bottom: 2px solid #eee;
}

.tab-btn {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 500;
  flex: 1;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  min-height: 60px;
}

.tab-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-color), #2E8B57);
  color: var(--text-light);
  font-weight: bold;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
}

/* ===== Контент вкладок ===== */
.tab-contents {
  padding: 30px;
}

.tab-content {
  display: none;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.tab-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.tab-content p {
  margin-bottom: 15px;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

















.gallery-container {
            margin: 20px 0;
            padding: 0 15px;
			margin-right: auto; /* Это сместит контейнер влево */
			max-width: 50%;
        }
        
        .swiper {
            width: 100%;
            height: 400px;
        }
        
        .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-position: center;
        }
        
        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            max-width: 100%;
            max-height: 100%;
        }
        
       
        
        .swiper-pagination-bullet-active {
            background: #fff;
        }
        
        .art-description {
            margin-top: 15px;
            text-align: center;
            font-style: italic;
            color: #666;
        }
		
		
		
		
		.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color); /* Используем ваш основной цвет */
  background: transparent !important;;
  width: 40px;
  height: 40px;
  
  transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--primary-hover); /* Цвет при наведении */
  background: transparent !important;;
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-hover);
}
		
		
		
		
		.juxtapose {
    max-width: 400px; /* Или любой другой размер */
    width: 100%;
}
/* Полностью скрывает логотип и ссылку JuxtaposeJS */
.jx-knightlab {
    display: none !important;
}
/* Скрывает логотип juxtapose.js */
.jx-logo, .jx-credit {
    display: none !important;
}
		
		
		.content-wrapper {
    display: flex;          /* Включаем flex-расположение */
    align-items: center;    /* Выравниваем по вертикали */
    gap: 20px;             /* Расстояние между слайдером и текстом */
}

.slider-container {
    flex: 1;               /* Слайдер занимает доступное пространство */
    max-width: 600px;      /* Ограничиваем ширину (по желанию) */
}

.text-content {
    flex: 1;               /* Текст также занимает доступное пространство */
    padding: 10px;         /* Отступы для текста */
}
		
		
		
		
		
		
/* ===== Анимации ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}










/* ===== Адаптивность ===== */
@media (max-width: 768px) {
  .tabs-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .tab-nav-button {
    width: 100%;
    height: 50px;
    border-radius: 8px;
  }
  
  .tab-buttons {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    min-width: 50%;
    padding: 15px;
    font-size: 16px;
  }
}