/* ============================================
   SERVICES CAROUSEL
   ============================================ */

.services-carousel-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-carousel-wrapper {
    position: relative;
    padding: 0 50px;
    margin-bottom: 30px;
}

.services-carousel {
    overflow: hidden;
}

.services-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.service-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    min-height: 180px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Кнопки навигации */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: #666;
}

.carousel-nav-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 320px;
    }

    .services-carousel-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 280px;
    }

    .services-carousel-wrapper {
        padding: 0 35px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .service-card {
        flex: 0 0 calc(100vw - 90px);
        min-height: 160px;
    }

    .services-carousel-wrapper {
        padding: 0 25px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }
}
