/* PROCESS.CSS - Zaktualizowany z fioletowym tłem */

.process-section {
    background: var(--bg-secondary); /* Ciemny granatowy/fioletowy */
    color: var(--text-secondary); /* Jasny tekst */
    padding: 80px 80px;
    position: relative;
    z-index: 10;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent); /* Pomarańczowy */
    margin-bottom: 60px;
}

.process-timeline {
    position: relative;
}

/* Pionowa linia timeline */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 99, 30, 0.2); /* Delikatna pomarańczowa linia */
    z-index: 0;
}

.process-step {
    position: relative;
    padding-left: 140px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }
.process-step:nth-child(4) { transition-delay: 0.4s; }

/* Numer kroku */
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    background: var(--color-accent); /* Pomarańczowe koło */
    color: var(--bg-primary); /* Jasny tekst na pomarańczowym */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    z-index: 2;
    transition: all 0.4s ease;
    border: 3px solid var(--bg-secondary); /* Obramowanie w kolorze tła */
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--color-accent-light);
    box-shadow: 0 10px 30px rgba(255, 99, 30, 0.3);
}

/* Zawartość kroku */
.step-content {
    background: transparent;
    padding: 40px;
    border-radius: 0;
    transition: all 0.4s ease;
    cursor: pointer;
}

.process-step:hover .step-content {
    background: rgba(255, 99, 30, 0.05);
    transform: translateX(10px);
    border-radius: 10px;
}

.step-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-secondary); /* Jasny tekst */
    margin-bottom: 20px;
    line-height: 1.2;
}

.step-description {
    font-size: 1.1rem;
    color: var(--bg-neutral); /* Beżowy dla opisu */
    line-height: 1.6;
    margin-bottom: 25px;
}

.step-details {
    display: flex;
    gap: 30px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.process-step:hover .step-details {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.detail-column {
    flex: 1;
}

.detail-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent); /* Pomarańczowe nagłówki */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    font-size: 0.95rem;
    color: var(--bg-neutral); /* Beżowy tekst listy */
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    transition: color 0.3s ease;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent); /* Pomarańczowe kropki */
    font-weight: bold;
}

.process-step:hover .detail-list li {
    color: var(--text-secondary); /* Jaśniejszy tekst przy hover */
}

/* Timeline duration */
.step-duration {
    position: absolute;
    right: 0;
    top: 20px;
    font-size: 0.9rem;
    color: var(--color-accent); /* Pomarańczowy czas trwania */
    font-weight: 500;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.2s;
    background: rgba(255, 99, 30, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 99, 30, 0.2);
}

.process-step:hover .step-duration {
    opacity: 1;
    transform: translateX(0);
}

/* Dodatkowe efekty wizualne */
.process-step::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 99, 30, 0.1) 0%, transparent 100%);
    transition: width 0.4s ease;
    border-radius: 0 10px 10px 0;
}

.process-step:hover::before {
    width: 100%;
}

/* Responsywność */
@media (max-width: 1024px) {
    .process-section {
        padding: 60px 60px;
    }
    
    .process-step {
        padding-left: 120px;
        margin-bottom: 60px;
    }
    
    .step-number {
        width: 100px;
        height: 100px;
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 60px 40px;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        padding-left: 100px;
        margin-bottom: 50px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 30px 25px;
    }
    
    .step-title {
        font-size: 1.8rem;
    }
    
    .step-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-duration {
        position: static;
        margin-top: 15px;
        transform: none;
        opacity: 1;
        display: inline-block;
        width: auto;
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 40px 20px;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        padding-left: 80px;
        margin-bottom: 40px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: 25px 20px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-description {
        font-size: 1rem;
    }
}