/* Слайдер */
.slider-container {
    position: relative;
    width: 100%;
    height: 1200px;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Кнопки слайдера */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(59, 92, 118, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
}

.slider-btn:hover {
    background-color: rgba(59, 92, 118, 1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Статус бар слайдера */
.slider-status {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.status-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Контент зона */
.content-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--content-width);
    height: 1200px;
    display: flex;
    justify-content: flex-start;
    z-index: 50;
}

.content-background {
    width: 550px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.51);
}

.content-column {
    position: absolute;
    left: 0;
    width: 550px;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 60;
}

/* Логотип внутри контентного контейнера */
.logo-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 0 20px;
    z-index: 70;
    margin-left: 300px;
    opacity: 0;
    transform: translateY(-100px);
    animation: slideFromTop 1s ease 0.5s forwards;
}

.logo-section img {
    width: 750px;
    height: auto;
    max-width: none;
    transition: var(--transition);
    animation: levitate 3s ease-in-out infinite;
}

.logo-section:hover img {
    animation: none;
    transform: translateY(0) scale(1.05);
}

/* Секции контента */
.section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 70;
    position: relative;
}

.title-section {
    flex: 1;
    padding-top: 0;
    margin-top: -100px;
    z-index: 80;
    opacity: 0;
    transform: translateY(-80px);
    animation: slideFromTop 1s ease 0.7s forwards;
}

.title-section h1 {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    color: var(--text-color);
    line-height: 1.2;
    font-family: Arial, sans-serif;
}

.list-section {
    flex: 1;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
    margin-left: 30px;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.4;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
    cursor: pointer;
    height: 25px;
    display: flex;
    align-items: center;
}

/* Эффект при наведении на пункты списка */
.custom-list li:hover {
    font-size: 20px;
}

/* Анимация для пунктов списка по очереди */
.custom-list li:nth-child(1) { animation: slideFromLeft 0.6s ease 1s forwards; }
.custom-list li:nth-child(2) { animation: slideFromLeft 0.6s ease 1.2s forwards; }
.custom-list li:nth-child(3) { animation: slideFromLeft 0.6s ease 1.4s forwards; }
.custom-list li:nth-child(4) { animation: slideFromLeft 0.6s ease 1.6s forwards; }
.custom-list li:nth-child(5) { animation: slideFromLeft 0.6s ease 1.8s forwards; }

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.custom-list li:hover::before {
    transform: scale(1.2);
    background-color: var(--secondary-color);
}

.buttons-section {
    flex: 1;
    flex-direction: column;
    gap: 15px;
    z-index: 80;
    opacity: 0;
    transform: translateY(-60px);
    animation: slideFromTop 1s ease 0.9s forwards;
  
}

.buttons-section .btn {
    width: 320px;
    position: relative;
    overflow: hidden;
}

/* Эффект блеска для кнопок в слайдере */
.buttons-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
}

.buttons-section .btn:hover::before {
    left: 100%;
}

/* Эффект нажатия для кнопок в слайдере */
.buttons-section-2 .btn:active {
    transform: translateY(2px) scale(0.98);
    transition: transform 0.1s ease;
}

.contact-section {
    flex: 1;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    animation: slideFromBottom 1s ease 1.1s forwards;
}

.contact-section h1 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
}

.phone-number {
    font-size: 28px;
    color: var(--text-color);
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
}

.phone-number:hover {
    font-size: 32px;
    color: var(--primary-color);
}

.social-section {
    flex: 1;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    animation: slideFromBottom 1s ease 1.3s forwards;
}

.social-text {
    font-size: 20px;
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: normal;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}


.social-icon:hover {
    transform: scale(1.3);
}


.content-column > * {
    position: relative;
    z-index: 70;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */
@media (max-width: 768px) {
    /* Высота слайдера для мобильных */
    .slider-container {
        height: 1000px;
    }
    
    /* Контент поверх слайдера - полноэкранный */
    .content-overlay {
        width: 100%;
        height: 1000px;
        justify-content: center;
    }
    
    .content-background {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.85); /* Более плотный фон для лучшей читаемости */
    }
    
    .content-column {
        width: 100%;
        padding: 0 20px;
        left: 0;
    }
    
    /* Уменьшение логотипа на 35% */
    .logo-section {
        margin-left: 0;
        padding: 15px 20px 0 20px;
    }
    
    .logo-section img {
        width: 600px; 
        max-width: 90%;
    }
    
    /* Адаптация заголовка */
    .title-section {
        margin-top: -50px;
    }
    
    .title-section h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    /* Адаптация списка преимуществ */
    .list-section {
        margin-left: 0;
        align-items: center;
        justify-content: flex-start;
        padding-top: 10px;
    }
    
    .custom-list li {
        font-size: 16px;
        height: auto;
        min-height: 22px;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .custom-list li:hover {
        font-size: 17px; /* Меньшее увеличение на мобильных */
    }
    
    /* Адаптация кнопок */
    .buttons-section {
        gap: 10px;
    }
    
    .buttons-section .btn {
        width: 280px;
        max-width: 100%;
    }
    
    /* Адаптация контактов */
    .contact-section h1 {
        font-size: 20px;
    }
    
    .phone-number {
        font-size: 22px;
    }
    
    .phone-number:hover {
        font-size: 24px; /* Меньшее увеличение на мобильных */
    }
    
    /* Адаптация социальных сетей */
    .social-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .social-icons {
        display: flex;
        gap: 25px;
        justify-content: center;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Уменьшение кнопок навигации слайдера */
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    /* Уменьшение точек статуса */
    .slider-status {
        bottom: 15px;
    }
    
    .status-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Упрощение анимаций для мобильных */
    .logo-section,
    .title-section,
    .buttons-section,
    .contact-section,
    .social-section {
        animation-duration: 0.7s; /* Более быстрые анимации */
    }
    
    .custom-list li {
        animation-duration: 0.4s; /* Более быстрые анимации списка */
    }
    
    /* Отключение парящей анимации логотипа на мобильных */
    .logo-section img {
        animation: none;
    }
    
    .logo-section:hover img {
        transform: none;
    }
}

/* Дополнительная адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .slider-container {
        height: 1000px;
    }
    
    .content-overlay {
        height: 1000px;
    }
    
    .logo-section img {
        width: 600px; /* Дополнительное уменьшение */
    }
    
    .title-section h1 {
        font-size: 20px;
    }
    
    .custom-list li {
        font-size: 14px;
        padding-left: 25px;
    }
    
    .buttons-section .btn {
        width: 250px;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-section h1 {
        font-size: 18px;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .social-text {
        font-size: 14px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* Мобильная обертка для контента */
.mobile-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

@media (max-width: 768px) {
    .mobile-content-wrapper {
        justify-content: flex-start;
        gap: 15px;
        padding: 10px 0;
    }
    
    .section {
        flex: 0 0 auto;
        padding: 10px 0;
    }
}