/* Sekcja Usługi i slider usług */
.services-section {
    width: 100vw;
    background: rgba(24, 28, 34, 0.7);
    padding: 4vw 0 4vw 0;
    display: flex;
    justify-content: center;
}
.services-content {
    display: flex;
    gap: 4vw;
    max-width: 1300px;
    width: 100%;
    align-items: flex-start;
    padding: 0 2vw;
}
.services-description {
    flex: 1 1 300px;
    max-width: 340px;
    padding: 2.5rem 2rem;
    color: #e6e6e6;
}
.services-description h2 {
    color: #4a90a4;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}
.services-description ul {
    margin: 1.2rem 0 0 1.2rem;
    padding: 0;
    color: #e6e6e6;
    font-size: 1.1rem;
}
.services-slider {
    flex: 3 1 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    position: relative;
}
.services-product-slider {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    width: calc(3 * 250px + 2 * 2rem); /* 3 karty po 250px + 2 gapy */
    min-width: 0;
    position: relative;
}
@media (max-width: 1000px) {
    .services-content {
        flex-direction: column;
        gap: 2vw;
        align-items: stretch;
    }
    .services-slider {
        margin-top: 2vw;
    }
    .services-description {
        max-width: 100vw;
        padding: 2rem 1rem;
        font-size: 1rem;
    }
    .services-description h2 {
        font-size: 1.5rem;
    }
    .slider-controls {
        gap: 0.7rem;
        margin-top: 0.7rem;
    }
}
@media (max-width: 700px) {
    .services-section {
        padding: 2vw 0 2vw 0;
    }
    .services-content {
        flex-direction: column;
        gap: 2vw;
        align-items: stretch;
    }
    .services-description {
        padding: 1.2rem 0.7rem;
        max-width: 98vw;
        font-size: 0.98rem;
    }
    .services-description h2 {
        font-size: 1.15rem;
        margin-bottom: 0.7rem;
    }
    .services-description ul {
        font-size: 0.98rem;
    }
    .slider-controls {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    .slider-controls button {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }
    .service-details-btn {
        font-size: 0.98rem;
        gap: 2em;
    }
    .service-details-text {
        padding: 0.5em 0.7em 0.5em 1em;
        font-size: 0.98rem;
    }
    .service-details-arrow {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
}
.service-card {
    background: #232a33;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    padding: 2.2rem 1.2rem; 
    min-height: 500px; 
    width: 250px;
    flex: 0 0 250px;
    max-width: 250px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s;
    color: #e6e6e6;
}
.service-card img {
    width: 100%;
    max-width: 180px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
}
.service-card h3 {
    color: #4a90a4;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.service-card p {
    font-size: 1rem;
    color: #e6e6e6;
}
.service-card ul {
    margin: 1rem 0 0 0;
    padding-left: 1rem;
    text-align: left;
    color: #e6e6e6;
    font-size: 1rem;
    list-style: disc inside;
}
.service-card ul li {
    margin-bottom: 0.3rem;
}
.slider-controls {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
    justify-content: center;
    position: static;
    left: unset;
    bottom: unset;
    margin: 1.2rem 0 0 0;
    z-index: unset;
}
.slider-controls button {
    background: #232a33;
    color: #f7c325;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.slider-controls button:hover {
    background: #4a90a4;
    color: #fff;
}
.service-details-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 3.7em;
    background: none;
    color: #4a90a4;
    border: none;
    padding: 0;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}
.service-details-text {
    padding: 0.6em 1em 0.6em 1.2em;
    border-radius: 24px 0 0 24px;
    background: #232a33;
    color: #4a90a4;
    border-right: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
}
.service-details-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #4a90a4;
    color: #fff;
    border-radius: 8px;
    border: 1.5px solid #4a90a4;
    font-size: 1.2em;
    transition: background 0.2s, color 0.2s;
}

.service-details-btn:hover .service-details-arrow {
    background: #ffffff;
    color: #232a33;
    border-color: #fffffffd;
}
