/* Стили для страницы "Наши работы" */

.works-section {
    padding: 120px 0 80px 0;
    background: var(--background-color);
    min-height: 100vh;
}

.works-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-family: var(--font-family-bold);
}

.year-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family-medium);
    margin-bottom: 30px;
    text-align: center;
    width: auto;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.work-item {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--light-text);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.work-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #00252e;
    padding-bottom: 15px;
}

.work-header h3 {
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: var(--font-family-bold);
}

.work-category {
    background: #00252e;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    font-family: var(--font-family-medium);
}

.work-content p {
    margin: 10px 0;
    color: var(--light-text);
    line-height: 1.6;
    font-family: var(--font-family-regular);
    font-size: 1.3rem;
}

.work-content p strong {
    color: #8FABC2 !important;
    font-weight: 600;
    font-family: var(--font-family-medium);
    font-size: 1.4rem;
}

.work-content a {
    color: #8FABC2 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.work-content a {
    color: #8FABC2 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.work-content a:hover {
    color: #D2691E !important;
}

.work-features {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature {
    background: #D2691E !important;
    color: #EDEDED !important;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-family-regular);
}

.works-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: var(--font-family-bold);
}

.stat-item p {
    color: var(--light-text);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-family-medium);
}

/* Заголовки в карточках */
.work-header h3,
.stat-item h3 {
    color: #8FABC2 !important;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .work-item {
        padding: 20px;
    }
    
    .work-header h3 {
        font-size: 1.5rem;
    }
    
    .works-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .works-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .works-section {
        padding: 100px 0 60px 0;
    }
    
    .work-features {
        flex-direction: column;
    }
    
    .feature {
        text-align: center;
    }
    
    .works-section h2 {
        font-size: 1.8rem;
    }
} 