/* Services styles */
.services {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service {
    background: #111;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
}

.service h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.service p {
    color: #999;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Specjalne style dla nowych usług */
.service:nth-child(3),
.service:nth-child(4) {
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-left: 3px solid rgba(255, 107, 53, 0.7);
}

.service:nth-child(5),
.service:nth-child(6) {
    background: linear-gradient(145deg, #111, #181818);
    border-left: 3px solid rgba(76, 175, 255, 0.7);
}

/* Efekt dekoracyjny dla kafelków */
.service:nth-child(3)::before,
.service:nth-child(4)::before,
.service:nth-child(5)::before,
.service:nth-child(6)::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0) 70%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service:nth-child(5)::before,
.service:nth-child(6)::before {
    background: radial-gradient(circle, rgba(76, 175, 255, 0.1) 0%, rgba(76, 175, 255, 0) 70%);
}

.service:nth-child(3):hover::before,
.service:nth-child(4):hover::before,
.service:nth-child(5):hover::before,
.service:nth-child(6):hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr;
    }
    
    .service {
        padding: 1.8rem;
    }
    
    .service h2 {
        font-size: 1.5rem;
    }
}
