.carousel-container {
      position: relative;
      max-width: 800px;
      margin: 20px auto;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .carousel-slide {
      display: flex;
      transition: transform 0.6s ease;
      height: 600px;
    }
    
    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      flex-shrink: 0;
      cursor: pointer;
      transition: transform 0.3s;
    }
    
    .carousel-slide img:hover {
      transform: scale(1.02);
    }
    
    /* Стили для модального окна */
    .modal {
      display: none;
      position: fixed;
      z-index: 100;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.9);
      overflow: auto;
    }
    
    .modal-content {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
    }
    
    .modal-img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
    }
    
    .close {
      position: absolute;
      top: 20px;
      right: 30px;
      color: white;
      font-size: 35px;
      font-weight: bold;
      cursor: pointer;
    }
    
    /* Улучшенные кнопки навигации */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      background: rgba(0, 0, 0, 0.7);
      border: 2px solid white;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: all 0.3s;
    }
    
    .carousel-btn:hover {
      background: rgba(0, 0, 0, 0.9);
      transform: translateY(-50%) scale(1.1);
    }
    
    .carousel-btn::after {
      content: "";
      display: block;
      width: 15px;
      height: 15px;
      border: 3px solid white;
      border-width: 3px 3px 0 0;
    }
    
    .carousel-btn.prev {
      left: 20px;
    }
    
    .carousel-btn.prev::after {
      transform: rotate(-135deg);
      margin-right: -3px;
    }
    
    .carousel-btn.next {
      right: 20px;
    }
    
    .carousel-btn.next::after {
      transform: rotate(45deg);
      margin-left: -3px;
    }
    
    /* Индикаторы */
    .carousel-indicators {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 10px;
    }
    
    .carousel-indicators span {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .carousel-indicators span.active {
      background: white;
      transform: scale(1.3);
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
      .carousel-container {
        max-width: 95%;
      }
      
      .carousel-slide {
        height: 300px;
      }
      
      .carousel-btn {
        width: 40px;
        height: 40px;
      }
      
      .carousel-indicators span {
        width: 10px;
        height: 10px;
      }
    }