/**
 * Case Study Section Styles
 * Соответствует React версии CaseStudySection.tsx
 */

.case-study {
    padding: 5rem 0;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    min-height: auto;
}

.case-study-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.case-study-header {
    text-align: center;
    margin-bottom: 4rem;
}

.case-study-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111827;
    line-height: 1.2;
}

.case-study-subtitle {
    font-size: 1.25rem;
    color: #374151;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Layout */
.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

/* Image Section */
.case-study-image {
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.case-study-image-wrapper {
    width: 100%;
    height: 20rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Details Section */
.case-study-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case-study-info {
    margin-bottom: 1rem;
}

.case-study-project-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
    line-height: 1.3;
}

.case-study-project-description {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Metrics Grid */
.case-study-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.case-study-metric {
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s ease;
    min-width: 220px;
    flex: 1 1 auto;
}

.case-study-metric:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.case-study-metric-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.case-study-metric-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #0d58c6;
}

.case-study-metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

.case-study-metric-label {
    font-size: 0.875rem;
    color: #374151;
}

/* Testimonial */
.case-study-testimonial {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.case-study-testimonial--wide {
    width: 100%;
}

.case-study-testimonial-icon {
    margin-bottom: 1rem;
}

.case-study-testimonial-icon svg {
    width: 2rem;
    height: 2rem;
    color: #0d58c6;
}

.case-study-testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-study-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-study-author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-author-initials {
    color: #0d58c6;
    font-size: 0.875rem;
    font-weight: 600;
}

.case-study-author-name {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.case-study-author-position {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-title {
        font-size: 2rem;
    }
    
    .case-study-project-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .case-study {
        padding: 3rem 0;
    }
    
    .case-study-container {
        padding: 0 1rem;
    }
    
    .case-study-header {
        margin-bottom: 2rem;
    }
    
    .case-study-title {
        font-size: 1.75rem;
    }
    
    .case-study-subtitle {
        font-size: 1.125rem;
    }
    
    .case-study-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .case-study-metric {
        padding: 1rem;
    }
    
    .case-study-testimonial {
        padding: 1rem;
    }
} 
