/* ==================================
   WORKFLOW PAGE COMPONENTS
   ================================== */

/* Process Introduction */
.process-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-intro p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step-content {
    margin-left: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    flex: 1;
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 1px solid #e5e7eb;
    transform: rotate(45deg);
    border-right: none;
    border-bottom: none;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-details span {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.timeline {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.deliverable {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

/* Work Principles */
.work-principles {
    background: #f8fafc;
    padding: 4rem 0;
}

.work-principles h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.principle-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.principle-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Communication Tools */
.communication-tools {
    padding: 4rem 0;
}

.communication-tools h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.comm-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comm-method {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
}

.comm-method h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.comm-method p {
    color: #475569;
    line-height: 1.6;
}

/* CTA Section */
.work-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.work-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.work-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .step-content {
        margin-left: 1rem;
        padding: 1.5rem;
    }
    
    .step-content::before {
        left: -6px;
        width: 12px;
        height: 12px;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .comm-methods {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-intro h2,
    .work-principles h2,
    .communication-tools h2,
    .work-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .step-content {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .step-content::before {
        display: none;
    }
    
    .step-details {
        justify-content: center;
    }
    
    .principle-card {
        padding: 1.5rem;
    }
    
    .comm-method {
        padding: 1.5rem;
    }
}

/* Animation for scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .process-step {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease forwards;
    }
    
    .process-step:nth-child(1) { animation-delay: 0.1s; }
    .process-step:nth-child(2) { animation-delay: 0.2s; }
    .process-step:nth-child(3) { animation-delay: 0.3s; }
    .process-step:nth-child(4) { animation-delay: 0.4s; }
    .process-step:nth-child(5) { animation-delay: 0.5s; }
    .process-step:nth-child(6) { animation-delay: 0.6s; }
    .process-step:nth-child(7) { animation-delay: 0.7s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .work-cta,
    .cta-buttons {
        display: none;
    }
    
    .process-step {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .step-number {
        background: #333;
    }
}
